-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.cjs
50 lines (44 loc) · 1.03 KB
/
tailwind.config.cjs
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 = require('tailwindcss/colors')
const setVar = (str) => {
return {
50: `var(--${str}-50)`,
100: `var(--${str}-100)`,
200: `var(--${str}-200)`,
300: `var(--${str}-300)`,
400: `var(--${str}-400)`,
500: `var(--${str}-500)`,
600: `var(--${str}-600)`,
700: `var(--${str}-700)`,
800: `var(--${str}-800)`,
900: `var(--${str}-900)`
}
}
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
default: [ 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif'],
},
},
colors: {
transparent: 'transparent',
current: 'currentColor',
slate: colors.slate,
zinc: colors.zinc,
first: setVar("first"),
second: colors.green,
third: colors.gray,
fourth: colors.emerald,
},
fontSize: {
tiny: '.5rem',
xs: '.625rem'
}
},
plugins: [],
}