-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
63 lines (62 loc) · 1.5 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
const colors = require("tailwindcss/colors");
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: "media", // or 'media' or 'class'
theme: {
extend: {
screens: {
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
colors: {
transparent: "transparent",
current: "currentColor",
black: {
DEFAULT: colors.gray[700],
dark: colors.gray[900],
},
white: {
DEFAULT: colors.white,
dark: colors.gray[300],
},
blue: colors.blue,
gray: colors.gray,
indigo: colors.indigo,
red: colors.rose,
yellow: colors.amber,
accent1: {
DEFAULT: "var(--carolina-blue)",
dark: "var(--carolina-blue-dark)",
},
accent2: {
DEFAULT: "var(--russian-green)",
dark: "var(--russian-green-dark)",
},
accent3: {
DEFAULT: "var(--ruby-red)",
dark: "var(--ruby-red-dark)",
},
panel: {
DEFAULT: colors.white,
dark: colors.gray[800],
},
},
fontFamily: {
serif: ["Georgia", "serif"],
sans: ["Open Sans", "sans-serif"],
sans2: ["Exo", "sans-serif"],
condensed: ["Open Sans", "sans-serif"],
header: ["Exo", "sans-serif"],
},
},
},
variants: {
extend: {
fontWeight: ['dark']
},
},
plugins: [],
};