tailwind.config.ts
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
import type { Config } from 'tailwindcss';
const config: Config = {
content: ['./src/**/*.{js,ts,jsx,tsx}', './index.html'],
theme: {
extend: {
screens: {
'mobile': '320px',
'tablet': '768px',
'pc': '1024px',
},
colors: {
'primary': '#003da6',
'primary-container': '#0052d9',
'on-primary': '#ffffff',
'on-primary-container': '#cbd6ff',
'surface': '#f9f9ff',
'surface-container': '#ebedf9',
'surface-container-low': '#f1f3ff',
'surface-container-lowest': '#ffffff',
'surface-container-high': '#e5e8f3',
'surface-container-highest': '#dfe2ed',
'surface-bright': '#f9f9ff',
'surface-dim': '#d7dae5',
'on-surface': '#181c23',
'on-surface-variant': '#434654',
'outline': '#737686',
'outline-variant': '#c3c6d7',
'secondary': '#585e70',
'secondary-container': '#dce2f8',
'on-secondary': '#ffffff',
'on-secondary-container': '#5e6476',
'tertiary': '#004d62',
'tertiary-container': '#006681',
'error': '#ba1a1a',
'error-container': '#ffdad6',
'on-error': '#ffffff',
'on-error-container': '#93000a',
'background': '#f9f9ff',
'inverse-surface': '#2c3039',
'inverse-on-surface': '#eef0fc',
'inverse-primary': '#b4c5ff',
},
spacing: {
'stack-md': '24px',
'stack-lg': '48px',
'stack-sm': '12px',
'margin-mobile': '20px',
'margin-desktop': '80px',
'gutter': '24px',
'container-max': '1280px',
},
fontSize: {
'display-lg': ['56px', { lineHeight: '1.2', letterSpacing: '-0.02em', fontWeight: '700' }],
'display-lg-mobile': ['40px', { lineHeight: '1.3', fontWeight: '700' }],
'headline-md': ['32px', { lineHeight: '1.4', fontWeight: '600' }],
'headline-sm': ['24px', { lineHeight: '1.4', fontWeight: '600' }],
'body-lg': ['18px', { lineHeight: '1.6', fontWeight: '400' }],
'body-md': ['16px', { lineHeight: '1.6', fontWeight: '400' }],
'label-md': ['14px', { lineHeight: '1.4', fontWeight: '500' }],
'label-sm': ['12px', { lineHeight: '1.2', fontWeight: '500' }],
},
borderRadius: {
'xl': '0.75rem',
'2xl': '1rem',
'3xl': '1.5rem',
},
},
},
plugins: [],
};
export default config;