aboutsummaryrefslogtreecommitdiffstats
path: root/app/tailwind.config.ts
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-09-13 16:04:12 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-09-14 13:26:23 -0500
commit319a10b9a106e768ea2d3fb6d7134817911208ce (patch)
treed4d71c83665ff583071f387309980b6cdb893d88 /app/tailwind.config.ts
parentInitial commit (diff)
downloadtrinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar
trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.gz
trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.bz2
trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.lz
trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.xz
trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.zst
trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.zip
Add basic PWA support
TODO: draw the rest of the owl
Diffstat (limited to '')
-rw-r--r--app/tailwind.config.ts47
1 files changed, 25 insertions, 22 deletions
diff --git a/app/tailwind.config.ts b/app/tailwind.config.ts
index b40ad0e..57f3822 100644
--- a/app/tailwind.config.ts
+++ b/app/tailwind.config.ts
@@ -1,27 +1,30 @@
-import { join } from 'path'
-import type { Config } from 'tailwindcss'
+import { join } from 'path';
+import type { Config } from 'tailwindcss';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
-import { skeleton } from '@skeletonlabs/tw-plugin'
+import { skeleton } from '@skeletonlabs/tw-plugin';
export default {
- darkMode: 'class',
- content: ['./src/**/*.{html,js,svelte,ts}', join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')],
- theme: {
- extend: {},
- },
- plugins: [
- forms,
- typography,
- skeleton({
- themes: {
- preset: [
- {
- name: 'crimson',
- enhancements: true,
- },
- ],
- },
- }),
- ],
+ darkMode: 'class',
+ content: [
+ './src/**/*.{html,js,svelte,ts}',
+ join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')
+ ],
+ theme: {
+ extend: {}
+ },
+ plugins: [
+ forms,
+ typography,
+ skeleton({
+ themes: {
+ preset: [
+ {
+ name: 'crimson',
+ enhancements: true
+ }
+ ]
+ }
+ })
+ ]
} satisfies Config;