forked from misskey-dev/misskey-hub-next
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuno.config.ts
More file actions
39 lines (38 loc) · 1.25 KB
/
Copy pathuno.config.ts
File metadata and controls
39 lines (38 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { defineConfig, presetWind3, transformerDirectives } from 'unocss';
export default defineConfig({
presets: [
presetWind3(),
],
transformers: [
transformerDirectives(),
],
theme: {
colors: {
'accent': {
'50': '#fcffe5',
'100': '#f6ffc7',
'200': '#ecff95',
'300': '#dcfe58',
'400': '#c9f526',
'500': '#aadc06',
'600': '#86b300',
'700': '#638506',
'800': '#4f690b',
'900': '#42580f',
'950': '#223201',
},
},
},
extendTheme: (theme) => {
theme.breakpoints = {
...(theme.breakpoints ?? {}),
xs: '475px',
'3xl': '1970px',
};
theme.fontFamily = {
sans: ['Nunito', 'var(--mi-localized-font, \'\')', theme.fontFamily?.sans ?? 'sans-serif'].join(','),
title: ['Nunito', 'var(--mi-localized-font, \'\')', theme.fontFamily?.sans ?? 'sans-serif'].join(','),
'content-sans': ['Nunito', 'var(--mi-localized-font-p, \'\')', 'var(--mi-localized-font, \'\')', theme.fontFamily?.sans ?? 'sans-serif'].join(','),
};
},
});