-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathuno.config.ts
More file actions
51 lines (50 loc) · 1.58 KB
/
uno.config.ts
File metadata and controls
51 lines (50 loc) · 1.58 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
40
41
42
43
44
45
46
47
48
49
50
51
import {
defineConfig,
presetAttributify,
presetTypography,
presetWind3,
transformerCompileClass,
transformerDirectives,
transformerVariantGroup
} from 'unocss';
export default defineConfig({
transformers: [transformerDirectives(), transformerCompileClass(), transformerVariantGroup()],
presets: [
presetWind3(),
presetAttributify()
// presetTypography({
// cssExtend: {
// a: {
// 'font-weight': 'normal',
// 'text-decoration': 'underline',
// 'text-decoration-style': 'dashed',
// 'text-decoration-thickness': '1px',
// 'text-underline-offset': '2px'
// },
// 'a:hover': {
// 'text-decoration-style': 'solid'
// },
// 'h1,h2,h3,h4,h5,h6': {
// 'font-family': 'var(--un-font-serif)',
// 'font-weight': '500'
// },
// blockquote: {
// border: '0',
// 'font-family': 'var(--un-font-serif)',
// 'font-size': '1.3125em',
// 'font-style': 'italic',
// 'font-weight': 'normal',
// 'line-height': '1.4',
// 'padding-left': '0'
// }
// }
// })
],
rules: [
['bg-main', { 'background-color': 'rgb(var(--color-bg-main))' }],
['text-main', { color: 'rgb(var(--color-text-main))' }],
['bg-muted', { 'background-color': 'rgb(var(--color-bg-muted))' }],
['border-main', { 'border-color': 'rgb(var(--color-border-main))' }],
['font-serif', { 'font-family': 'Newsreader Variable, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif' }]
]
});