-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
25 lines (25 loc) · 913 Bytes
/
tailwind.config.js
File metadata and controls
25 lines (25 loc) · 913 Bytes
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
// tailwind.config.js の修正案
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
// Tailwindのデフォルトカラーを上書き、または追加
bg: 'var(--bg)',
surface: 'var(--surface)',
surface2: 'var(--surface2)',
green: { DEFAULT: 'var(--green)', dim: 'var(--green-dim)' },
blue: { DEFAULT: 'var(--blue)', dim: 'var(--blue-dim)' },
red: 'var(--red)',
yellow: 'var(--yellow)',
border: { DEFAULT: 'var(--border)', bright: 'var(--border-bright)' }
},
fontFamily: {
display: ['var(--font-display)'],
mono: ['var(--font-mono)'],
body: ['var(--font-body)'],
}
}
},
plugins: [],
}