-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
62 lines (61 loc) · 1.86 KB
/
Copy pathtailwind.config.js
File metadata and controls
62 lines (61 loc) · 1.86 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
// デフォルトテーマ
primary: 'var(--color-primary)',
'primary-hover': 'var(--color-primary-hover)',
'primary-press': 'var(--color-primary-press)',
'primary-disabled': 'var(--color-primary-disabled)',
secondary: 'var(--color-secondary)',
'secondary-hover': 'var(--color-secondary-hover)',
'secondary-press': 'var(--color-secondary-press)',
'secondary-disabled': 'var(--color-secondary-disabled)',
'text-primary': 'var(--color-text-primary)',
'base-light': 'var(--color-base-light)',
'base-dark': 'var(--color-base-dark)',
// トースト用のより鮮明な色定義
'toast-info': '#007BFF',
'toast-info-hover': '#0056B3',
'toast-error': '#DC3545',
'toast-error-hover': '#BD2130',
'toast-success': '#28A745',
'toast-success-hover': '#218838',
'toast-tool': '#9C27B0',
'toast-tool-hover': '#7B1FA2',
},
fontFamily: {
M_PLUS_2: ['Montserrat', 'M_PLUS_2', 'sans-serif'],
Montserrat: ['Montserrat', 'sans-serif'],
},
zIndex: {
5: '5',
15: '15',
},
width: {
'col-span-2': '184px',
'col-span-4': '392px',
'col-span-7': '704px',
},
animation: {
'fade-in': 'fadeIn 0.5s ease-in-out',
'fade-out': 'fadeOut 0.5s ease-in-out',
'pulse-slow': 'pulse 3s ease-in-out infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
},
},
},
plugins: [],
}