-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
52 lines (51 loc) · 1.21 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
const colors = require("tailwindcss/colors");
const metaConfig = require("./src/meta-config");
/** @type {import("tailwindcss").Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
darkMode: "media",
theme: {
container: {
screens: {
sm: "600px",
md: "728px",
lg: "728px",
xl: "728px",
"2xl": "728px",
},
},
extend: {
fontFamily: {
sans: ["var(--roboto)"],
},
colors: {
primary: {
DEFAULT: "var(--color-primary)",
light: "#546c85",
dark: "#1e1e1e",
},
secondary: {
DEFAULT: "var(--color-secondary)",
light: "#cfd0d0",
dark: "#8a94a5",
},
background: {
DEFAULT: "var(--color-background)",
light: metaConfig.themeColor.light,
dark: metaConfig.themeColor.dark,
},
font: {
DEFAULT: "var(--color-font)",
light: colors.black,
dark: colors.gray["200"],
},
skeleton: {
DEFAULT: "var(--color-skeleton)",
light: colors.gray["400"],
dark: colors.gray["400"],
},
},
},
},
plugins: [],
};