-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
120 lines (117 loc) · 4.09 KB
/
tailwind.config.js
File metadata and controls
120 lines (117 loc) · 4.09 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
const dim = {
0: '0', // 0px
1: '0.0625rem', // 1px
2: '0.125rem', // 2px
4: '0.25rem', // 4px
8: '0.5rem', // 8px
12: '0.75rem', // 12px
16: '1rem', // 16px
20: '1.25rem', // and so on
24: '1.5rem',
28: '1.75rem',
32: '2rem',
36: '2.25rem',
48: '3rem',
64: '4rem',
80: '5rem',
96: '6rem',
128: '8rem',
192: '12rem',
256: '16rem',
320: '20rem',
384: '24rem'
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./index.html',
'./src/**/*.{vue,js,ts,jsx,tsx}'
],
theme: {
fontFamily: {
sans: ['Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', '"Noto Sans"', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Noto Color Emoji"'],
mono: ['"JetBrains Mono"', 'monospace']
},
fontSize: {
'h1': ['2.25rem', {lineHeight: '2.5rem'}], // 36px
'h2': ['1.5rem', {lineHeight: '2rem'}], // 24px
'subtitle': ['1.25rem', {lineHeight: '1.75rem'}], // 20px
'medium': ['1.125rem', {lineHeight: '1.75rem'}], // 18px
'normal': ['1rem', {lineHeight: '1.5rem'}], // 16px
'small': ['0.875rem', {lineHeight: '1.25rem', fontWeight: '300'}], // 14px
'tiny': ['0.75rem', {lineHeight: '1rem'}] // 12px
},
colors: {
'inherit': 'inherit',
'current': 'currentColor',
'transparent': 'transparent',
'white': '#ffffff',
'blue': {
100: 'hsl(222, 95%, 88%)',
200: 'hsl(222, 95%, 82%)',
300: 'hsl(222, 91%, 71%)',
400: 'hsl(222, 86%, 65%)',
500: 'hsl(222, 73%, 54%)',
600: 'hsl(222, 72%, 39%)',
700: 'hsl(222, 77%, 27%)'
},
'gray': {
100: 'hsl(222, 48%, 90%)',
200: 'hsl(222, 34%, 75%)',
300: 'hsl(222, 19%, 54%)',
400: 'hsl(222, 20%, 40%)',
500: 'hsl(222, 20%, 28%)',
600: 'hsl(222, 22%, 19%)',
700: 'hsl(222, 18%, 14%)',
800: 'hsl(222, 18%, 11%)',
900: 'hsl(222, 10%, 5%)'
},
'red': {
100: 'hsl(360, 93%, 91%)',
200: 'hsl(358, 92%, 79%)',
300: 'hsl(354, 78%, 65%)',
400: 'hsl(346, 70%, 47%)',
500: 'hsl(344, 73%, 38%)',
600: 'hsl(344, 77%, 27%)',
900: 'hsl(344, 86%, 11%)'
},
'green': {
100: 'hsl(102, 90%, 92%)',
500: 'hsl(102, 76%, 30%)',
600: 'hsl(102, 76%, 21%)',
900: 'hsl(102, 88%, 10%)'
},
'bright-green': 'hsl(102, 100%, 54%)',
'sky-blue': 'hsl(192, 95%, 65%)',
'load': {
red: 'hsl(352,60%,46%)',
orange: 'hsl(24,78%,54%)',
yellow: 'hsl(47,71%,43%)',
green: 'hsl(101,75%,30%)'
}
},
spacing: dim,
boxShadow: {
sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
DEFAULT: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
'2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',
inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',
none: 'none',
'4': '0px 4px 4px rgba(0, 0, 0, 0.25)',
'4-lg': '0px 4px 12px rgba(0, 0, 0, 0.52)'
},
extend: {
minHeight: dim,
maxHeight: dim,
minWidth: dim,
maxWidth: dim,
borderRadius: {
xsm: '0.0625rem'
}
}
},
plugins: []
};