-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
157 lines (153 loc) · 4.13 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
const colors = require('tailwindcss/colors')
module.exports = {
content: [
// "./public/booking/index.html",
// "./public/booking/js/cljs-runtime/**/*.js",
"./public/booking/**/*.{html,js}",
// "./public/eykt/index.html",
// "./public/eykt/js/cljs-runtime/**/*.js",
// "./public/eykt/**/*.{html,js}",
// "./lib/**/*.{cljs,js}",
"./public/devcards/**/*.{html,js}",
// "./public/devcards/js/cljs-runtime/**/*.js",
],
darkMode: 'class',
theme: {
extend: {
animation: {
'bounce': 'bounce 10000ms linear infinite',
'hbounce': 'hbounce 2000ms linear infinite',
'pulse': 'pulse 2000ms linear infinite',
'blink': 'blink 1000ms steps(2) infinite',
'slow-ping': 'slow-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite',
},
keyframes: {
bounce: {
'0%, 100%': {
transform: 'translateY(0%)',
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
},
'50%': {
transform: 'translateY(-25%)',
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
},
},
hbounce: {
'0%': {
transform: 'translateX(0%)',
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
},
'50%': {
transform: 'translateX(-25%)',
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
},
},
'blink': {
'0%': {
opacity: '0.3',
},
'50%': {
opacity: '0',
}
},
'pulse': {
'0%': {
opacity: '0'
},
'50%': {
opacity: '0',
},
'51%': {
opacity: '1',
},
'100%': {
opacity: '1',
},
},
'slow-ping': {
'0%': {
opacity: '1'
},
'75%, 100%': {
transform: 'scale(2)',
opacity: '0'
}
}
},
},
colors: {
brand1: {DEFAULT: "var(--brand1)"},
alt: {
DEFAULT: '#68A73D',
},
transparent: 'transparent',
black: colors.black,
white: colors.white,
gray: colors.stone,
amber: colors.amber,
blue: colors.blue
},
screens: {
xs: '412px',
sm: '512px',
md: '768px',
},
zIndex: {
auto: 'auto',
0: '0',
10: '10',
20: '20',
30: '30',
40: '40',
50: '50',
60: '60',
70: '70',
100:'100',
110:'110',
200:'200',
300:'300',
400:'400',
410:'410',
},
fontFamily: {
script: [
'Oleo Script Swash Caps',
'cursive'
],
sans: [
'Inter',
'ui-sans-serif',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Roboto',
'"Helvetica Neue"',
'Arial',
'"Noto Sans"',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
serif: ['Lora','Calluna Regular','Georgia','ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
mono: [
'IBM Plex Mono',
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace',
],
},
},
plugins: [
require('@tailwindcss/forms')({strategy: 'class'}),
require('@tailwindcss/typography'),
require('@tailwindcss/line-clamp'),
],
}