-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
83 lines (83 loc) · 2.06 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./src/**/*.{js,ts,jsx,tsx}',
'./src/**/*.stories.@(js|jsx|ts|tsx)',
],
theme: {
extend: {
colors: {
brand: {
50: '#f2f8ed',
100: '#e3eed9',
200: '#cadfb7',
300: '#a8ca8c',
400: '#7aab54',
500: '#6a9949',
600: '#527937',
700: '#405d2e',
800: '#354c28',
900: '#304126',
950: '#172211',
},
dark: {
100: '#1c1c1c',
200: '#232323',
300: '#343434',
400: '#7e7e7e',
},
white: {
100: '#fbfcfd',
200: '#f8f9fa',
300: '#dfe3e6',
400: '#7e868c',
},
gray: {
100: '#f8f9fa',
200: '#f1f3f5',
300: '#e9ecef',
},
warning: {
50: '#fffbeb',
100: '#fef4c7',
200: '#fce98b',
300: '#fbd74e',
400: '#fac425',
500: '#f1a10b',
600: '#d87c07',
700: '#b3570a',
800: '#91430f',
900: '#78380f',
950: '#451c03',
},
},
fontSize: { base: '1rem', lg: '2rem' },
fontFamily: {
sans: 'var(--font-barlow)',
},
boxShadow: { shadow_light: '0px 0px 5px 0px rgba(0,0,0,0.1)' },
borderRadius: { none: '0', xs: '0.3125rem', sm: '0.625rem' },
animation: {
'spin-slow': 'spin 2s linear infinite',
'show-panel': 'showPanel 0.3s ease-in-out',
'hide-panel': 'hidePanel 0.3s ease-in-out',
},
transitionDuration: {
0: '0ms',
2000: '2000ms',
},
keyframes: {
showPanel: {
'0%': { opacity: '0', transform: 'translateX(100%)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
hidePanel: {
'0%': { opacity: '1', transform: 'translateX(0)' },
'100%': { opacity: '0', transform: 'translateX(100%)' },
},
},
},
},
plugins: [],
};