-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
85 lines (84 loc) · 2.35 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
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin')
module.exports = {
content: [
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
boxShadow: {
'contributor': '5px 5px 0px -2px rgba(0,0,0,1), 10px 10px 6px -4px rgba(155,155,155,1)'
},
backgroundImage: {},
colors: {
"ACMPrimary": "#D90000",
"ACMDARK": "#242526",
"ACMLIGHT": "#E6AF2E",
"ACMBLUE": "#34A3D9",
"SHOPTEXTSHADOW": "rgba(0, 0, 0, 0.25)",
"HEROSHADOW": "rgba(255, 255, 255, 0.50)"
},
textShadow: {
hero: '3px 6px 4px var(--tw-shadow-color)',
DEFAULT: '0 2px 4px var(--tw-shadow-color)',
lg: '0 8px 16px var(--tw-shadow-color)',
},
animation:{
typewriter: 'typewriter 2s steps(44) 1s 1 normal both, blinkTextCursor 500ms steps(44) 5 normal',
dropTop: 'dropTop 0.2s ease-in',
slideIn: 'slideIn 0.3s ease-out',
loading: 'loading 2s infinite ease-in-out',
notification:'notification 0.3s ease-out'
},
keyframes:{
notification:{
'0%':{transform:'translateY(-120vh)',opacity:'0'},
'100%':{transform:'translateY(-30vh)',opacity:'1'}
},
dropTop:{
'0%': {transform: 'translate(50%,50%)', opacity:'0',scale:'0.5' },
'100%': {transform:'translate(0%,0%)',opacity:'1',scale:'1'}
},
slideIn:{
'0%':{transform:'skewX(53deg) translateX(500px)',opacity:'0'},
'100%':{transform:'skewX(0deg)', opacity:'1'}
},
loading:{
'50%':{opacity:'0',scale:'0.7',transform:'translateY(10px)'}
},
typewriter: {
from: {
width: '0',
},
to: {
width: '100%',
},
},
blinkTextCursor: {
from: {
borderColor: 'transparent',
},
to: {
borderColor: 'white',
},
'50%': {
borderColor: 'white',
},
},
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') }
)
}),
],
}