mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-06 06:17:11 -04:00
Added Chinese version
Added Chinese version
This commit is contained in:
parent
d037338a23
commit
730a68b92a
466 changed files with 31255 additions and 0 deletions
27
zh-CN/unocss.config.ts
Normal file
27
zh-CN/unocss.config.ts
Normal file
|
@ -0,0 +1,27 @@
|
|||
import {
|
||||
defineConfig,
|
||||
presetAttributify,
|
||||
presetTypography,
|
||||
presetUno,
|
||||
transformerDirectives,
|
||||
transformerVariantGroup,
|
||||
} from 'unocss';
|
||||
|
||||
import { presetScrollbar } from 'unocss-preset-scrollbar';
|
||||
|
||||
export default defineConfig({
|
||||
presets: [presetUno(), presetAttributify(), presetTypography(), presetScrollbar()],
|
||||
transformers: [transformerDirectives(), transformerVariantGroup()],
|
||||
theme: {
|
||||
colors: {
|
||||
primary: '#1ea54c',
|
||||
|
||||
},
|
||||
},
|
||||
shortcuts: {
|
||||
'pretty-scrollbar': 'scrollbar scrollbar-rounded scrollbar-thumb-color-gray-300 scrollbar-track-color-gray-100 dark:scrollbar-thumb-color-#424242 dark:scrollbar-track-color-#686868',
|
||||
'divider': 'h-1px bg-current op-10',
|
||||
'bg-surface': 'bg-#ffffff dark:bg-#232323',
|
||||
'bg-background': 'bg-#f1f5f9 dark:bg-#1c1c1c',
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue