-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
96 lines (95 loc) · 2.24 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
84
85
86
87
88
89
90
91
92
93
94
95
96
import colors from 'tailwindcss/colors';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,jsx}'],
theme: {
colors: {
primary: {
light: '#009DE0',
DEFAULT: '#0080B7',
dark: '#00597F',
},
secondary: {
light: '#16C9F5',
DEFAULT: '#09B0DA',
dark: '#0785A4',
},
accent: {
light: '#CEE5A1',
DEFAULT: '#ADD361',
dark: '#74992B',
},
slate: colors.slate,
white: colors.white,
transparent: colors.transparent,
success: colors.emerald,
error: colors.red,
info: colors.sky,
warning: colors.amber,
sky: colors.sky,
},
fontFamily: {
sans: ['Source Sans Pro', 'Helvetica Neue', 'sans-serif'],
utds: ['utah design system'],
},
extend: {
animation: {
'slide-down': 'slideDown 300ms ease-out',
'slide-up': 'slideUp 300ms ease-out',
flip: 'rotate-180 300ms ease-out',
'fade-in': 'fadeIn 200ms ease-in-out',
'fade-out': 'fadeOut 200ms ease-in-out',
'pop-in': 'popIn 200ms ease-in-out',
},
keyframes: {
slideDown: {
from: {
height: 0,
},
to: {
height: 'var(--radix-accordion-content-height)',
},
},
slideUp: {
from: {
height: 'var(--radix-accordion-content-height)',
},
to: {
height: 0,
},
},
fadeIn: {
from: {
opacity: 0,
},
to: {
opacity: 1,
},
},
fadeOut: {
from: {
opacity: 1,
},
to: {
opacity: 0,
},
},
popIn: {
from: {
opacity: 0,
transform: 'translate(-50%, -48%) scale(0.96)',
},
to: {
opacity: 1,
transform: 'translate(-50%, -50%) scale(1)',
},
},
},
boxShadow: {
inner: 'inset 0 2px 4px rgba(0, 0, 0, 0.5)',
},
},
},
// eslint-disable-next-line @typescript-eslint/no-require-imports
plugins: [require('@tailwindcss/forms')],
};