mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-27 02:27:12 +00:00
27 lines
623 B
TypeScript
27 lines
623 B
TypeScript
|
// uno.config.ts
|
||
|
import {
|
||
|
defineConfig,
|
||
|
presetAttributify,
|
||
|
presetIcons,
|
||
|
presetTypography,
|
||
|
presetUno,
|
||
|
presetWebFonts,
|
||
|
transformerDirectives,
|
||
|
transformerVariantGroup,
|
||
|
} from 'unocss';
|
||
|
import {primaryColor} from './build/config/themeConfig';
|
||
|
|
||
|
export default defineConfig({
|
||
|
theme: {
|
||
|
colors: {
|
||
|
primary: primaryColor,
|
||
|
white: '#ffffff',
|
||
|
neutral: '#C4C4C4',
|
||
|
dark: '#2f3136',
|
||
|
slate: '#020617',
|
||
|
},
|
||
|
},
|
||
|
presets: [presetUno(), presetAttributify(), presetIcons(), presetTypography(), presetWebFonts()],
|
||
|
transformers: [transformerDirectives(), transformerVariantGroup()],
|
||
|
});
|