-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathtailwind.config.ts
73 lines (68 loc) · 1.78 KB
/
tailwind.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import type { Config } from 'tailwindcss'
import plugin from 'tailwindcss/plugin'
export default <Partial<Config>>{
content: [
'./components/**/*.{js,ts,vue}',
'./layouts/**/*.{js,ts,vue}',
'./pages/**/*.{js,ts,vue}',
],
darkMode: 'class',
plugins: [
plugin(({ addVariant }) => {
addVariant('hocus', ['.mouse &:not(._active):hover', '&:not(._active):active'])
addVariant('group-hocus', ['.mouse .group:not(._active):hover &', '.group:not(._active):active &'])
}),
],
separator: ':',
theme: {
extend: {
aspectRatio: {
auto: 'auto',
square: '1 / 1',
},
colors: {
'1': 'rgb(var(--text-1))',
'2': 'rgb(var(--text-2))',
'3': 'rgb(var(--text-3))',
'4': 'rgb(var(--text-4))',
'accent': {
1: 'rgb(var(--accent-1))',
},
'alert': {
1: 'var(--text-alert-1)',
},
'expense': {
1: 'oklch(var(--expense-1) / <alpha-value>)',
2: 'var(--expense-2)',
},
'icon-primary': 'var(--text-icon-primary)',
'income': {
1: 'oklch(var(--income-1) / <alpha-value>)',
2: 'var(--income-2)',
},
'item': {
1: 'rgb(var(--item-1))',
2: 'rgba(var(--item-2))',
3: 'var(--item-3)',
4: 'var(--item-4)',
5: 'var(--item-5)',
6: 'rgba(var(--item-6))',
7: 'var(--item-7)',
},
},
fontFamily: {
brand: 'Nunito, Roboto, sans-serif',
primary: 'Roboto, sans-serif',
secondary: 'Unica One, Roboto, sans-serif',
tertiary: 'Roboto, sans-serif',
},
fontSize: {
'2xs': '10px',
},
screens: {
'2sm': '320px',
'3sm': '360px',
},
},
},
}