-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
31 lines (31 loc) · 1.11 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/app/**/*.{html,js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
main: 'rgb(24 24 27)',
invert: 'rgb(250 250 250)',
primary: '#ff7763',
secondary: '#fbedeb',
error: 'rgb(203 42 47)',
surface: 'rgb(245 245 245 / 1)',
backdrop: 'rgb(251 251 250 / 1)',
},
spacing: {
// 周囲に32pxの余白を持ったときに、46pxの高さを持つ要素にfullな角丸半径を適用すると、iPhone15ディスプレイの角丸半径55pxが得られる
11.5: '2.875rem',
// テキストフィールドの基本の高さ
18: '4.5rem',
},
boxShadow: {
float: '0 0 0 1px rgb(0 0 0 / .08), 0 4px 4px rgba(0 13 32 / .04)',
emboss: '0 0 0 1px rgb(0 0 0 / .08), 0 2px 2px rgba(0 13 32 / .04)',
border: '0 0 0 1px rgb(0 0 0 / .08)',
focus: 'inset 0 0 0 2px rgb(24 24 27)',
invalid: 'inset 0 0 0 2px rgb(203 42 47), 0 0 var(--shadow-spread, 20px) -6px rgba(203 42 47 / .8)',
},
},
},
plugins: [],
}