-
Notifications
You must be signed in to change notification settings - Fork 31
/
tailwind.config.js
40 lines (38 loc) · 1.25 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
const plugin = require('tailwindcss/plugin')
module.exports = {
mode: 'jit',
content: ['./src/**/*.{js,jsx,ts,tsx}', './docs/**/*.{md,mdx}'],
// media: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
pearl: "#faf1e4",
darkPearl: "#dad2c7",
darkGray1: "#0b0a09",
darkGray2: "#2D2925",
darkGray3: "#4f4740",
darkGray4: "#70655c",
darkGray5: "#918378",
skinTan: "#F5E8D4",
red: "#ed4e33",
red1: "#AA2912",
green: "#97ad11",
gray: "#F0EEEC",
whiteOpacity: "rgba(255, 255, 255, 0.1)",
blackOpacity: "rgba(0, 0, 0, 0.6)",
grayOpacity: "rgba(0, 0, 0, 0.05)",
},
},
},
variants: {
extend: {},
},
plugins: [plugin(function({ addBase, theme }) {
addBase({
'h1': { fontSize: theme('fontSize.5xl'), fontWeight: theme('fontWeight.bold'), },
'h2': { fontSize: theme('fontSize.3xl'), fontWeight: theme('fontWeight.bold'), },
'h3': { fontSize: theme('fontSize.2xl'), fontWeight: theme('fontWeight.bold'), },
'h4': { fontSize: theme('fontSize.xl'), fontWeight: theme('fontWeight.bold'), },
})
})],
};