-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
86 lines (76 loc) · 2.18 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
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line no-undef
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx,vue}'],
theme: {
fontFamily: {
main: ['Oswald', 'sans-serif'],
content: ['Lato', 'sans-serif'],
},
colors: {
white: 'rgb(var(--color-white) / <alpha-value>)',
// black shades
black: {
base: 'rgb(var(--color-black-base) / <alpha-value>)',
light: 'rgb(var(--color-black-light) / <alpha-value>)',
},
main: {
base: 'rgb(var(--color-main-base) / <alpha-value>)',
},
content: {
base: 'rgb(var(--color-content-base) / <alpha-value>)',
light: 'rgb(var(--color-content-light) / <alpha-value>)',
xlight: 'rgb(var(--color-content-xlight) / <alpha-value>)',
glight: 'rgb(var(--color-content-glight) / <alpha-value>)',
flight: 'rgb(var(--color-content-flight) / <alpha-value>)',
},
error: {
base: 'rgb(var(--color-error-base) / <alpha-value>)',
},
contextual: {
1: 'rgb(var(--color-contextual-1) / <alpha-value>)',
2: 'rgb(var(--color-contextual-2) / <alpha-value>)',
3: 'rgb(var(--color-contextual-3) / <alpha-value>)',
4: 'rgb(var(--color-contextual-4) / <alpha-value>)',
},
},
extend: {
animation: {
ripple: 'ripple .4s linear',
floating: 'floating 6s ease-in-out infinite alternate',
},
dropShadow: {
'neon-light': '0px 30px 20px rgba(53, 28, 117, 0.45)',
},
keyframes: {
ripple: {
'0%': {
opacity: '1',
transform: 'scale(0)',
},
'100%': {
opacity: '0',
transform: 'scale(2.5)',
},
},
floating: {
'0%': {
transform: 'translateY(0px)',
},
'25%': {
rotate: '10deg',
},
'50%': {
transform: 'translateY(-10px)',
},
'100%': {
transform: 'translateY(0px)',
rotate: '-10deg',
},
},
},
},
},
// eslint-disable-next-line no-undef
plugins: [],
};