-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
57 lines (56 loc) · 1.19 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
/* eslint-disable global-require */
/* eslint-disable @typescript-eslint/no-var-requires */
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
content: [
'./src/**/*.tsx',
'./src/**/*.ts',
'./src/**/*.jsx',
'./src/**/*.js',
],
darkMode: 'class', // or 'media' or 'class'
theme: {
container: {
center: true,
padding: {
DEFAULT: '24px',
sm: '40px',
md: '48px',
xl: '64px',
'2xl': '88px',
},
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.gray,
green: colors.green,
puple: colors.purple,
yellow: colors.yellow,
red: colors.red,
blue: colors.blue,
},
extend: {
fontSize: { xxs: ['0.5rem', '1rem'] },
fontFamily: {
sans: ['Nunito Sans', 'Inter var', ...defaultTheme.fontFamily.sans],
},
zIndex: {
60: 60,
70: 70,
80: 80,
90: 90,
},
cursor: {
grab: 'grab',
},
},
},
variants: {
extend: {},
},
plugins: [],
}