-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
55 lines (53 loc) · 1.12 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
const theme = require("tailwindcss/defaultTheme");
const safeHeight = "calc(var(--vh, 1vh) * 100)";
const safeWidth = "calc(var(--vw, 1vw) * 100)";
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: [
"./src/components/**/*.{js,vue,ts}",
"./src/layouts/**/*.{js,vue,ts}",
"./src/pages/**/*.{js,vue,ts}",
],
theme: {
...theme,
colors: {
transparent: "transparent",
white: "#fff",
black: "#000",
dark: "rgb(var(--dark))",
light: "rgb(var(--light))",
primary: "rgb(var(--primary))",
secondary: "rgb(var(--secondary))",
},
fontFamily: {
exo: ["Exo", "Segoe UI", "Tahoma", "Geneva", "Verdana", "sans-serif"],
},
screens: {
...theme.screens,
xs: "340px",
},
extend: {
...theme.extend,
minHeight: {
safe: safeHeight,
},
minWidth: {
safe: safeWidth,
},
height: {
safe: safeHeight,
},
width: {
safe: safeWidth,
},
maxHeight: {
safe: safeHeight,
},
maxWidth: {
safe: safeWidth,
},
},
},
plugins: [require("@tailwindcss/typography")],
};