moved to less for styles

This commit is contained in:
2024-10-11 00:11:27 -05:00
parent 55aa163bc0
commit d87064b289
7 changed files with 2224 additions and 1936 deletions

View File

@@ -1,11 +1,16 @@
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import { sveltePreprocess } from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
preprocess: sveltePreprocess({
less: {
prependData: `@import 'src/vars.less';`,
},
}),
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.