forked from claraverse-space/ClaraVerse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
85 lines (85 loc) · 2.18 KB
/
Copy pathtailwind.config.js
File metadata and controls
85 lines (85 loc) · 2.18 KB
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} */
export default {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./public/preview.html',
'./public/preview.css'
],
darkMode: 'class',
theme: {
extend: {
colors: {
sakura: {
50: '#fdf2f8',
100: '#fce7f3',
200: '#fbcfe8',
300: '#f9a8d4',
400: '#f472b6',
500: '#ec4899',
600: '#db2777',
700: '#be185d',
800: '#9d174d',
900: '#831843',
},
},
typography: {
DEFAULT: {
css: {
maxWidth: 'none',
color: 'inherit',
a: {
color: 'inherit',
textDecoration: 'underline',
'&:hover': {
color: 'inherit',
opacity: 0.8,
},
},
code: {
color: 'inherit',
padding: '0.2em 0.4em',
borderRadius: '0.25rem',
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
},
keyframes: {
'fade-out': {
'0%': { opacity: '1' },
'75%': { opacity: '1' },
'100%': { opacity: '0' }
},
glow: {
'0%, 100%': {
boxShadow: '0 0 10px rgba(244, 114, 182, 0.5), 0 0 20px rgba(244, 114, 182, 0.3), 0 0 30px rgba(244, 114, 182, 0.2)'
},
'50%': {
boxShadow: '0 0 15px rgba(244, 114, 182, 0.7), 0 0 25px rgba(244, 114, 182, 0.5), 0 0 35px rgba(244, 114, 182, 0.3)'
}
},
'bounce-gentle': {
'0%, 100%': { transform: 'translateY(-5%)' },
'50%': { transform: 'translateY(5%)' },
}
},
animation: {
'fade-out': 'fade-out 3s ease-out forwards',
'glow': 'glow 2s ease-in-out infinite',
'bounce-gentle': 'bounce-gentle 2s ease-in-out infinite',
},
fontFamily: {
sans: ['Quicksand', 'ui-sans-serif', 'system-ui', 'sans-serif'],
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
};