forked from PatchyVideo/platinum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunocss.config.js
47 lines (46 loc) · 1.1 KB
/
unocss.config.js
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
import { defineConfig, presetIcons, presetUno, transformerDirectives } from 'unocss'
import { presetTypography } from '@unocss/preset-typography'
export default defineConfig({
include: [/\.vue$/, /\.vue\?vue/, /\.[jt]sx?$/, /.html$/],
presets: [
presetUno({
dark: 'class',
}),
presetTypography(),
presetIcons({
extraProperties: {
'display': 'inline-block',
'vertical-align': 'middle',
},
}),
],
transformers: [transformerDirectives()],
theme: {
colors: {
copyright: '#a0a',
language: '#585455',
character: '#0a0',
author: '#a00',
general: '#0073ff',
meta: '#f80',
soundtrack: '#ff7792',
// copyright: '#6B006B',
// language: '#666162',
// character: '#006B00',
// author: '#6B0000',
// general: '#003980',
// meta: '#804400',
// soundtrack: '#803C49',
},
breakpoints: {
'sm': '576px',
'md': '720px',
'lg': '992px',
'xl': '1200px',
'2xl': '1400px',
'3xl': '1540px',
'4xl': '1860px',
'5xl': '2480px',
},
},
})