-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
50 lines (49 loc) · 1.04 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
import untitledPlugin from './src/lib/tailwind/plugin';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
// THIS IS NOT A NECESSARY CONFIGURATION FOR THE ENDUSER
animation: {
fadeIn: 'fadeIn 1.5s forwards',
fadeInFast: 'fadeIn 0.5s forwards',
fadeInSlow: 'fadeIn 2s forwards',
fadeInFromTop: 'fadeInFromTop 0.5s forwards'
},
// THIS IS NOT A NECESSARY CONFIGURATION FOR THE ENDUSER
keyframes: {
fadeIn: {
'0%': {
opacity: 0
},
'100%': {
opacity: 1
}
},
fadeInFromTop: {
'0%': {
opacity: 0,
transform: 'translateY(-200px)'
},
'50%': {
opacity: 0.75,
transform: 'translateX(0)'
},
'100%': {
opacity: 1,
transform: 'translateX(0)'
}
}
}
// Overwrite default colors from untld by specifying them here
/* colors: {
"untld-brand-50": <hex-code-here>
} */
}
},
plugins: [untitledPlugin],
corePlugins: {
preflight: false
}
};