-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
63 lines (62 loc) · 1.33 KB
/
tailwind.config.js
File metadata and controls
63 lines (62 loc) · 1.33 KB
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
const colors = require('tailwindcss/colors')
module.exports = {
mode: 'jit',
purge: ['./index.html', './src/**/*.vue', './src/**/*.js'],
darkMode: 'class',
theme: {
container: {
center: true,
padding: '1rem'
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
green: colors.teal,
red: colors.red,
white: colors.white,
gray: colors.trueGray,
indigo: colors.indigo,
yellow: colors.amber,
'cool-gray': colors.coolGray,
pink: colors.pink,
blue: colors.blue,
purple: colors.purple,
primary: {
DEFAULT: '#4f46e5',
dark: '#f9b537'
},
// Background colors
backdrop: {
DEFAULT: '#ffffff',
dark: '#333333'
},
// Background secondary colors
'backdrop-secondary': {
DEFAULT: '#f3f3f6',
dark: '#282828'
},
// Text colors
body: {
DEFAULT: '#333333',
dark: '#f6f7ee'
}
},
extend: {
fontSize: {
xl: ['30px', '36px'], // H1
lg: ['24px', '32px'], // H2
base: ['16px', '24px'],
sm: ['14px', '20px'],
caption: ['12px', '16px']
},
}
},
variants: {
extend: {}
},
plugins: [
require('@tailwindcss/forms')
],
corePlugins: {}
}