-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
57 lines (52 loc) · 1.29 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
50
51
52
53
54
55
56
57
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
const defaultConfig = require('tailwindcss/defaultConfig')
const gray = colors.blueGray
const blue = colors.lightBlue
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
purge: {
layers: ['components', 'utilities'],
content: ['./pages/**/*.tsx', './pages/**/*.ts'],
},
theme: {
extend: {
fontFamily: {
sans: ['Roboto', defaultTheme.fontFamily.sans],
mono: ['"JetBrains Mono"', ...defaultTheme.fontFamily.mono],
},
borderColor: (theme) => ({
default: theme('colors.gray.200'),
}),
colors: {
gray,
blue,
content: {
primary: gray['800'],
secondary: gray['600'],
tertiary: gray['400'],
},
brand: {
light: blue['50'],
primary: blue['500'],
dark: blue['900'],
},
background: {
primary: gray['50'],
secondary: gray['100'],
tertiary: gray['200'],
},
},
fontSize: {
xxs: '0.6rem',
},
spacing: {
120: '30rem',
},
},
},
variants: { ...defaultConfig.variants, visibility: ['group-hover'] },
}