mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 12:08:21 +08:00
AlasGG
This commit is contained in:
26
webapp/packages/renderer/uno.config.ts
Normal file
26
webapp/packages/renderer/uno.config.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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()],
|
||||
});
|
||||
Reference in New Issue
Block a user