-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
49 lines (46 loc) · 1.56 KB
/
tailwind.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
48
49
// tailwind.config.js
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
theme: {
extend: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
seinfeld: ['ITC Fenice Std', ...defaultTheme.fontFamily.serif],
// body: ['Libre Baskerville', 'Georgia', 'Cambria', 'Times New Roman', 'Times', 'serif'],
maintitle: ['Great Vibes', 'cursive'],
},
fontSize: {
'7xl': '5rem',
},
colors: {
// generate all classes:
primary: 'var(--bg-background-primary)',
secondary: 'var(--bg-background-secondary)',
ternary: 'var(--bg-background-ternary)',
// generate background- colors
background: {
// 'primary': 'white',
// 'secondary': '#F7FAFC',
// 'ternary': '#E2E8F0',
// dark mode
// 'primary': '#0D2438',
// 'secondary': '#102C44',
// 'ternary': '#1E3951',
primary: 'var(--bg-background-primary)',
secondary: 'var(--bg-background-secondary)',
ternary: 'var(--bg-background-ternary)',
},
// generate text-color classes
copy: {
primary: 'var(--text-copy-primary)',
secondary: 'var(--text-copy-secondary)',
ternary: 'var(--text-copy-ternary)'
},
transparent: 'transparent',
},
},
},
plugins: [
require('@tailwindcss/ui'),
]
}