-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
70 lines (70 loc) · 1.56 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
prefix: 'tw-',
corePlugins: {
preflight: false,
},
content: [
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./nuxt.config.{js,ts}',
],
theme: {
extend: {
colors: {
primary: {
DEFAULT: 'var(--primary-base)',
},
secondary: {
DEFAULT: 'var(--secondary-base)',
},
accent: {
DEFAULT: 'var(--accent-base)',
},
third: {
DEFAULT: 'var(--third-base)',
},
text: {
DEFAULT: 'var(--primary-base)',
},
bg: {
DEFAULT: 'var(--background-base)',
primary: 'var(--primary-base)',
},
border: {
DEFAULT: 'var(--primary-base)',
},
},
fontSize: {
base: 'var(--font-size-base)',
sm: 'var(--font-size-sm)',
md: 'var(--font-size-md)',
lg: 'var(--font-size-lg)',
xl: 'var(--font-size-xlg)',
},
backgroundColor: {
base: 'var(--background-base)',
primary: 'var(--primary-base)',
secondary: 'var(--background-sec)',
third: 'var(--background-third)',
},
borderRadius: {
base: 'var(--border-radius-base)',
},
},
container: {
center: true,
padding: '1rem',
screens: {
sm: '600px',
md: '820px',
lg: '1000px',
xl: '1240px',
'2xl': '1500px',
},
},
},
};