forked from cpinitiative/cpinitiative
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
71 lines (69 loc) · 2 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
const defaultTheme = require("tailwindcss/defaultTheme")
const colors = require("tailwindcss/colors")
const plugin = require('tailwindcss/plugin')
module.exports = {
theme: {
extend: {
animation: {
'fadeIn': 'fadeIn 1s easeOut 1 forwards',
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
boxShadow: {
xs: "0 0 0 1px rgba(0, 0, 0, 0.05)",
solid: "0 0 0 2px currentColor",
outline: `0 0 0 3px rgba(156, 163, 175, .5)`,
"outline-gray": `0 0 0 3px rgba(254, 202, 202, .5)`,
"outline-blue": `0 0 0 3px rgba(191, 219, 254, .5)`,
"outline-green": `0 0 0 3px rgba(167, 243, 208, .5)`,
"outline-yellow": `0 0 0 3px rgba(253, 230, 138, .5)`,
"outline-red": `0 0 0 3px rgba(254, 202, 202, .5)`,
"outline-pink": `0 0 0 3px rgba(251, 207, 232, .5)`,
"outline-purple": `0 0 0 3px rgba(221, 214, 254, .5)`,
"outline-indigo": `0 0 0 3px rgba(199, 210, 254, .5)`,
},
colors: {
orange: colors.orange,
teal: colors.teal,
cyan: colors.cyan,
},
keyframes: {
fadeIn: {
'0%': {'opacity': '0'},
'100%': {'opacity': '1'},
},
backInDown: {
'0%': {
transform: 'translateY(-1200px) scale(0.7)',
opacity: 0.7
},
'80%': {
transform: 'translateY(0px) scale(0.7)'
},
'100%': {
transform: 'scale(1)',
opacity: 1
}
}
}
},
},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@tailwindcss/aspect-ratio"),
plugin(function({ addUtilities }) {
addUtilities({
'.no-scrollbar::-webkit-scrollbar': {
'display': 'none'
},
'.no-scrollbar': {
'-ms-overflow-style': 'none',
'scrollbar-width': 'none'
},
})
})
],
content: ["./src/**/*.js", "./src/**/*.tsx"],
}