-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
50 lines (47 loc) · 1.05 KB
/
tailwind.config.js
File metadata and controls
50 lines (47 loc) · 1.05 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
/** @type {import('tailwindcss').Config} */
const colors = {
blue: {
// should be same as in styles.scss
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#4c73db',
700: '#2852c8',
800: '#2144a6',
900: '#1d3c91',
},
};
module.exports = {
content: ['./projects/**/*.{html,ts}'],
theme: {
extend: {
fontFamily: {
code: ['Sora', 'sans-serif'],
display: ['Gabarito', 'sans-serif'],
},
colors,
},
},
plugins: [
function ({ addBase, theme }) {
const blue = theme('colors.blue');
addBase({
':root': {
'--blue-50': blue['50'],
'--blue-100': blue['100'],
'--blue-200': blue['200'],
'--blue-300': blue['300'],
'--blue-400': blue['400'],
'--blue-500': blue['500'],
'--blue-600': blue['600'],
'--blue-700': blue['700'],
'--blue-800': blue['800'],
'--blue-900': blue['900'],
},
});
},
],
};