-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
78 lines (76 loc) · 2.31 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
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
77
78
/** @type {import('tailwindcss').Config} */
export const customSpacing = {};
for (let i = 0; i <= 400; i++) {
customSpacing[i] = `${(i * 0.1).toFixed(1)}rem`;
}
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
letterSpacing: {
tighter: 'var(--narrow-spacing-large)',
tight: 'var(--narrow-spacing-regular)',
},
extend: {
spacing: customSpacing,
height: {
header: 'var(--height-header)',
contents: 'var(--height-contents)',
},
maxWidth: {
contents: 'var(--max-width-contents)',
},
fontFamily: {
roboto: 'var(--font-family-roboto)',
},
fontSize: {
regular: 'var(--font-size-regular)',
large: 'var(--font-size-large)',
404: 'var(--font-size-404)',
},
fontWeight: {
regular: 'var(--font-weight-regular)',
bold: 'var(--font-weight-bold)',
404: 'var(--font-weight-404)',
},
borderRadius: {
sl: 'var(--border-radius-sl)',
},
borderColor: {
list: 'var(--border-list)',
input: 'var(--border-input)',
scroll: 'var(--border-scroll)',
selected: 'var(--border-selected)',
},
textColor: {
default: 'var(--text-color-default)',
emphasis: 'var(--text-color-emphasis)',
category: 'var(--text-color-category)',
blue: 'var(--text-color-blue)',
},
colors: {
main: 'var(--color-main)',
sub: 'var(--color-sub)',
close: 'var(--color-close)',
'contents-box': 'var(--color-contents-box)',
error: 'var(--color-error)',
delete: 'var(--color-delete)',
disable: 'var(--color-disable)',
selected: 'var(--color-selected)',
scroll: 'var(--color-scroll)',
button: 'var(--color-button)',
kakao: 'var(--color-kakao)',
todo: {
red: 'var(--color-todo-red)',
yellow: 'var(--color-todo-yellow)',
green: 'var(--color-todo-green)',
blue: 'var(--color-todo-blue)',
orange: 'var(--color-todo-orange)',
purple: 'var(--color-todo-purple)',
'yellow-green': 'var(--color-todo-yellow-green)',
gray: 'var(--color-todo-gray)',
},
},
},
},
plugins: [require('tailwind-scrollbar-hide')],
};