-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
76 lines (75 loc) · 2.39 KB
/
tailwind.config.ts
File metadata and controls
76 lines (75 loc) · 2.39 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
extend: {
animation: {
fadeIn: 'fadeIn 0.3s ease-out',
bounce: 'bounce 1s infinite',
pulseCorrect: 'pulseCorrect 1.2s cubic-bezier(0.4, 0, 0.6, 1) 2',
pulseIncorrect: 'pulseIncorrect 1.2s cubic-bezier(0.4, 0, 0.6, 1) 2',
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'smooth-bounce': 'smooth-bounce 1s ease-in-out infinite',
},
keyframes: {
'smooth-bounce': {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-6px)' },
},
fadeIn: {
'0%': { opacity: '0', transform: 'scale(0.95)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
pulseCorrect: {
'0%, 100%': { boxShadow: '0 0 0 0px rgba(74, 222, 128, 0.6)' },
'50%': { boxShadow: '0 0 0 10px rgba(74, 222, 128, 0)' },
},
pulseIncorrect: {
'0%, 100%': { boxShadow: '0 0 0 0px rgba(248, 113, 113, 0.6)' },
'50%': { boxShadow: '0 0 0 10px rgba(248, 113, 113, 0)' },
},
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
colors: {
dark: {
primary: '#0D0D0D',
secondary: '#1A1A1A',
accent: '#F2AC29',
accenthover: '#e29c20',
text: '#E0E0E0',
'text-secondary': '#A0A0A0',
},
light: {
primary: '#FFFFFF',
secondary: '#F3F4F6',
accent: '#F2AC29',
accenthover: '#e29c20',
text: '#1F2937',
'text-secondary': '#6B7280',
},
background: "#0D0D0D", // Background utama gelap
surface: "#1E1E1E", // Background komponen/kartu
primary: {
DEFAULT: "#FFA500", // Oranye untuk teks utama & Aksen
hover: "#FFC14D",
},
secondary: "#A0AEC0", // Abu-abu untuk teks sekunder
border: "#2D3748",
},
fontFamily: {
sans: ["Inter", "sans-serif"],
},
},
},
plugins: [],
};
export default config;