-
Notifications
You must be signed in to change notification settings - Fork 0
/
uno.config.ts
44 lines (43 loc) · 1.03 KB
/
uno.config.ts
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
import {
defineConfig,
presetAttributify,
presetTypography,
presetUno,
presetWebFonts,
} from 'unocss'
import transformerDirectives from '@unocss/transformer-directives'
export default defineConfig({
presets: [
presetUno({
dark: 'class',
}),
presetAttributify(),
presetTypography({
cssExtend: {
'blockquote': {
'border-left': '4px',
'border-style': 'dashed',
},
':not(pre) > code::before,:not(pre) > code::after': {
content: 'none',
},
},
}),
presetWebFonts({
provider: 'none',
fonts: {
sans: ['Jost Variable'],
mono: ['Jetbrains Mono', 'JetBrains Mono Variable'],
},
}),
],
rules: [
['bg-underline', { 'background-size': '200% 4px' }],
['bg-underline-large', { 'background-size': '200% 16px' }],
['bg-underline-start', { 'background-position': '100% 100%' }],
['bg-underline-end', { 'background-position': '0% 100%' }],
],
transformers: [
transformerDirectives(),
],
})