From d0490dbb121248ec49d479adf2150fd5213283fd Mon Sep 17 00:00:00 2001 From: Sirawit Chanaburanasak Date: Sun, 22 Dec 2024 23:52:02 +0700 Subject: [PATCH] chore: clean up unused dependencies --- package.json | 2 -- src/routes/+layout.svelte | 6 ------ tailwind.config.js | 35 ----------------------------------- 3 files changed, 43 deletions(-) delete mode 100644 tailwind.config.js diff --git a/package.json b/package.json index ae71321..da2fbc0 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,6 @@ "fix": "prettier --write . && eslint . --fix" }, "devDependencies": { - "@skeletonlabs/skeleton": "^2.10.4", - "@skeletonlabs/tw-plugin": "^0.4.0", "@sveltejs/adapter-auto": "^3.2.4", "@sveltejs/adapter-vercel": "^5.4.4", "@sveltejs/kit": "^2.5.25", diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index c643177..34c603c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,16 +1,10 @@ - -
diff --git a/tailwind.config.js b/tailwind.config.js deleted file mode 100644 index db565a9..0000000 --- a/tailwind.config.js +++ /dev/null @@ -1,35 +0,0 @@ -import { join } from 'path'; -import { skeleton } from '@skeletonlabs/tw-plugin'; -import { colorScheme } from './src/styles/tailwind/color'; -import { boxShadow } from './src/styles/tailwind/shadow'; -import { borderRadius } from './src/styles/tailwind/borderRadius'; -import tailwindScrollbar from 'tailwind-scrollbar'; - -/** @type {import('tailwindcss').Config} */ -export default { - darkMode: 'class', - content: [ - './src/**/*.{html,js,svelte,ts}', - join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}') - ], - theme: { - extend: { - colors: colorScheme, - boxShadow: boxShadow, - borderRadius: borderRadius - } - }, - plugins: [ - tailwindScrollbar, - skeleton({ - themes: { - preset: [ - { - name: 'skeleton', - enhancements: true, - } - ] - } - }) - ] -}; \ No newline at end of file