-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
46 lines (44 loc) · 1.1 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
theme: {
// Custom font sizes
fontSize: {
xs: '.8rem',
sm: '1rem',
tiny: '1rem',
base: '1.2rem',
lg: '1.4rem',
xl: '1.75rem',
'2xl': '2rem',
'3xl': '2.2rem',
'4xl': '2.7rem',
'5xl': '3rem',
'6xl': '4rem',
'7xl': '5rem',
},
extend: {
// You can cefine colors here, you can then access as
// bg-accent, text-accentContrast, border-secondary, etc
colors: {
surface: '#fff',
elevatedSurface: '#f9f3ff',
accent: '#8213b4',
accentContrast: '#fff',
primary: '#000',
secondary: '#777',
success: '#2ecc71',
danger: '#e74c3c',
warning: '#e67e22',
info: '#3498db',
},
fontFamily: {
// You can define fonts here
sans: ['Asap', ...defaultTheme.fontFamily.sans],
serif: ['Glegoo', ...defaultTheme.fontFamily.serif],
},
},
variants: {
background: ['responsive', 'hover', 'focus', 'active', 'group-hover'],
},
},
}