-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
48 lines (46 loc) · 1.38 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
const path = require('path');
const colors = require('tailwindcss/colors');
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
darkMode: 'media', // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
sans: ['Helvetica', 'Arial', 'sans-serif'],
},
colors: {
primary: colors.cyan,
secondary: colors.yellow,
background: colors.cyan,
focused: colors.cyan,
error: colors.red,
warning: colors.orange,
text: colors.black,
textSecondary: colors.slate,
},
maxHeight: {
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
},
boxShadow: {
sm: '2px 2px 0 rgba(0,0,0,0.5)',
DEFAULT: '3px 3px 0 rgba(0,0,0,0.5)',
md: '4px 4px 0 rgba(0,0,0,0.5)',
lg: '5px 5px 0 rgba(0,0,0,0.5)',
xl: '6px 6px 0 rgba(0,0,0,0.5)',
'2xl': '8px 8px 0 rgba(0,0,0,0.5)',
'sm-reverse': '-2px -2px 0 rgba(0,0,0,0.5)',
reverse: '-3px -3px 0 rgba(0,0,0,0.5)',
'md-reverse': '-4px -4px 0 rgba(0,0,0,0.5)',
'lg-reverse': '-5px -5px 0 rgba(0,0,0,0.5)',
'xl-reverse': '-6px -6px 0 rgba(0,0,0,0.5)',
'2xl-reverse': '-8px -8px 0 rgba(0,0,0,0.5)',
inner: '2px 2px 0 #cbd5e1 inset',
none: 'none',
},
},
},
plugins: [],
};