-
-
Notifications
You must be signed in to change notification settings - Fork 139
Expand file tree
/
Copy pathtailwind.config.js
More file actions
53 lines (53 loc) · 1.53 KB
/
tailwind.config.js
File metadata and controls
53 lines (53 loc) · 1.53 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./frontend/**/*.{js,ts,jsx,tsx}', // Your React components
'./app/views/**/*.erb', // Any .erb templates that might remain
],
theme: {
extend: {
keyframes: {
'scale-in': {
'0%': { transform: 'scale(0.8)', opacity: '0.5' },
'50%': { transform: 'scale(1.1)' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
},
animation: {
'scale-in': 'scale-in 0.3s ease-out',
'fade-in': 'fade-in 0.3s ease-out',
},
},
},
plugins: [],
// theme: {
// extend: {
// colors: {
// // Override the default colors in dark mode
// gray: {
// 50: '#f9f9f9', // Lightest gray (near white)
// 100: '#f0f0f0', // Lighter gray
// 200: '#e0e0e0', // Lighter gray
// 300: '#c0c0c0', // Light gray
// 400: '#a0a0a0', // Gray
// 500: '#808080', // Neutral gray
// 600: '#606060', // Darker gray
// 700: '#404040', // Even darker gray
// 800: '#202020', // Near black
// 900: '#101010', // Darkest gray (almost black)
// },
// background: {
// DEFAULT: '#000000', // Black background in dark mode
// },
// text: {
// DEFAULT: '#ffffff', // White text in dark mode
// },
// },
// },
// },
}