-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
48 lines (47 loc) · 1.13 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
function withOpacityValue(variable) {
return ({ opacityValue }) => {
if (opacityValue === undefined) {
return `rgb(var(${variable}))`
}
return `rgb(var(${variable}) / ${opacityValue})`
}
}
module.exports = {
content: ["./src/**/*.{html,js,ts}", "./public/**/*.{html,js,ts}"],
theme: {
fontFamily: {
sans: ['Roboto', 'sans-serif'],
mono: ['Roboto Mono', 'monospace'],
},
extend: {
colors: {
text: withOpacityValue('--color-text'),
'paper': {
DEFAULT: '#1A2327',
'50': '#707BA0',
'100': '#637295',
'200': '#51617A',
'300': '#3F4E5E',
'400': '#2C3943',
'500': '#1A2327',
'600': '#141C1E',
'700': '#0E1415',
'800': '#080B0B',
'900': '#020202'
},
'background': {
DEFAULT: '#0D1518',
'50': '#F7F8F9',
'100': '#DBDEE2',
'200': '#A3ABB4',
'300': '#6A7A87',
'400': '#374A54',
'500': '#0D1518',
'600': '#080D0E',
'700': '#020404',
},
},
},
},
plugins: [],
}