2026-01-24 17:45:54 +03:30
|
|
|
import {
|
|
|
|
|
defineConfig,
|
|
|
|
|
presetAttributify,
|
|
|
|
|
presetIcons,
|
|
|
|
|
presetTypography,
|
|
|
|
|
presetUno,
|
|
|
|
|
presetWebFonts,
|
|
|
|
|
transformerDirectives,
|
|
|
|
|
transformerVariantGroup
|
|
|
|
|
} from 'unocss'
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
shortcuts: [
|
2026-06-14 21:04:26 +03:30
|
|
|
['surface', 'bg-white dark:bg-[#1f1f1f]'],
|
|
|
|
|
['surface-muted', 'bg-gray-50 dark:bg-[#262626]'],
|
|
|
|
|
['border-base', 'border-gray-200 dark:border-[color:var(--admin-border)]'],
|
|
|
|
|
['text-muted', 'text-gray-600 dark:text-gray-400'],
|
2026-01-24 17:45:54 +03:30
|
|
|
],
|
|
|
|
|
theme: {
|
|
|
|
|
colors: {
|
|
|
|
|
// ...
|
|
|
|
|
primary: '#0A1B37'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
presets: [
|
2026-06-14 21:04:26 +03:30
|
|
|
presetUno({
|
|
|
|
|
dark: {
|
|
|
|
|
dark: 'html.is-dark',
|
|
|
|
|
light: 'html:not(.is-dark)',
|
|
|
|
|
},
|
|
|
|
|
}),
|
2026-01-24 17:45:54 +03:30
|
|
|
presetAttributify(),
|
|
|
|
|
presetIcons(),
|
|
|
|
|
presetTypography(),
|
|
|
|
|
presetWebFonts({
|
|
|
|
|
fonts: {
|
|
|
|
|
// ...
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
],
|
|
|
|
|
transformers: [transformerDirectives(), transformerVariantGroup()]
|
|
|
|
|
})
|