-
Notifications
You must be signed in to change notification settings - Fork 18
/
tailwind.config.js
53 lines (52 loc) · 1.49 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
animation: {
wiggle: 'wiggle 0.3s linear',
'wiggle-opposite': 'wiggleOpposite 0.3s linear',
},
colors: {
'app-pure-white': 'hsl(0, 0%, 100%)', // #FFFFFF
'app-red': 'hsl(0, 97%, 63%)', // #FC4747
'app-dark-blue': 'hsl(223, 30%, 9%)', // #10141E
'app-semi-dark-blue': 'hsl(223, 36%, 14%)', // #161D2F
'app-greyish-blue': 'hsl(223, 23%, 46%)', // #5A698F
'app-grey': 'hsl(225, 3%, 77%)', // #C3C4C7
'app-placeholder': 'hsl(223, 3%, 54%)', // #87898E
},
fontFamily: {
sans: ['Outfit', ...defaultTheme.fontFamily.sans],
},
fontSize: {
'app-heading-lg': '2rem',
'app-heading-md': '1.5rem',
'app-heading-sm': '1.5rem',
'app-heading-xs': '1.125rem',
'app-body-md': '0.9375rem',
'app-body-sm': '0.8125rem',
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'skewY(0deg)' },
'50%': { transform: 'skewY(-3deg)' },
},
wiggleOpposite: {
'0%, 100%': { transform: 'skewY(0deg)' },
'50%': { transform: 'skewY(3deg)' },
},
},
screens: {
'3xs': '320px',
'2xs': '375px',
xs: '420px',
...defaultTheme.screens,
},
},
},
plugins: [],
}