-
Notifications
You must be signed in to change notification settings - Fork 228
/
tailwind.config.js
51 lines (50 loc) · 1.46 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
const colors = require('tailwindcss/colors')
const mono = [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'Liberation Mono',
'Courier New',
'monospace',
]
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx,vue}'],
theme: {
extend: {
colors: {
white: '#fff',
green: colors.emerald,
yellow: colors.amber,
purple: colors.violet,
gray: colors.neutral,
'gray-150': '#EEEFF2',
'gray-1000': '#050505',
black: '#050505',
'design-details': '#458886',
'design-details-light': '#EEF3F3',
'design-details-dark': '#273F3F',
'hacker-news': '#FF965A',
twitter: '#479BEA',
current: 'currentColor',
},
boxShadow: {
xs: '0 1px 2px 0px rgba(0,0,0,0.03)',
subtle: '0 4px 32px rgba(0,0,0,0.03)',
cardHover:
'0 4px 4.1px rgba(0, 0, 0, 0.012),0 4.9px 5.8px rgba(0, 0, 0, 0.018),0 6.3px 8.4px rgba(0, 0, 0, 0.029),0 8.8px 12.9px rgba(0, 0, 0, 0.05),0 15px 23px rgba(0, 0, 0, 0.11)',
},
animation: {
modalEnter: 'modal-enter 200ms cubic-bezier(0.16, 1, 0.3, 1)',
},
keyframes: {
'modal-enter': {
'0%': { opacity: 0, transform: 'translate(-50%, -50%) scale(.96)' },
'100%': { opacity: 1, transform: 'translate(-50%, -50%) scale(1)' },
},
},
},
},
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')],
}