2022-08-08 21:31:34 +05:30
|
|
|
import {
|
|
|
|
defineConfig,
|
|
|
|
presetIcons,
|
|
|
|
presetTypography,
|
|
|
|
transformerVariantGroup,
|
|
|
|
transformerDirectives,
|
|
|
|
presetWind
|
|
|
|
} from "unocss";
|
|
|
|
|
2024-01-20 16:21:41 +05:30
|
|
|
import extractorSvelte from "@unocss/extractor-svelte";
|
2022-08-08 21:31:34 +05:30
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
extractors: [extractorSvelte],
|
|
|
|
|
|
|
|
presets: [
|
|
|
|
presetIcons(),
|
|
|
|
presetWind({
|
|
|
|
dark: "class"
|
2023-01-25 22:41:11 +05:30
|
|
|
}),
|
|
|
|
presetTypography()
|
2022-08-08 21:31:34 +05:30
|
|
|
],
|
|
|
|
|
2023-01-25 22:41:11 +05:30
|
|
|
transformers: [transformerVariantGroup(), transformerDirectives()],
|
|
|
|
|
2023-08-06 00:45:14 +05:30
|
|
|
safelist: [
|
|
|
|
"i-ic:outline-dark-mode",
|
|
|
|
"i-ic:outline-light-mode",
|
|
|
|
"i-ic:baseline-toggle-on",
|
|
|
|
"i-ic:baseline-toggle-off"
|
|
|
|
],
|
2023-01-25 22:41:11 +05:30
|
|
|
|
2022-12-27 20:58:47 +05:30
|
|
|
theme: {
|
|
|
|
fontFamily: {
|
|
|
|
primary: ["var(--font-primary)"]
|
|
|
|
},
|
|
|
|
colors: {
|
|
|
|
accent: "var(--accent)",
|
|
|
|
accentTranslucent: "var(--accent-translucent)",
|
|
|
|
primary: "var(--primary)",
|
|
|
|
secondary: "var(--secondary)",
|
|
|
|
tertiary: "var(--tertiary)",
|
|
|
|
text: "var(--text)",
|
|
|
|
grey: "var(--grey)",
|
|
|
|
alt: "var(--alt)",
|
|
|
|
altText: "var(--alt-text)"
|
|
|
|
},
|
|
|
|
breakpoints: {
|
|
|
|
sm: "640px",
|
|
|
|
md: "768px",
|
|
|
|
lg: "1024px",
|
|
|
|
xl: "1280px",
|
|
|
|
"2xl": "1536px",
|
2023-02-21 23:24:42 +05:30
|
|
|
nav: "890px",
|
|
|
|
navPlus1: "891px"
|
2022-12-27 20:58:47 +05:30
|
|
|
}
|
2023-01-25 22:41:11 +05:30
|
|
|
}
|
2023-02-03 23:25:33 +05:30
|
|
|
});
|