forked from excalith/excalith-start-page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
77 lines (77 loc) · 1.55 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
darkMode: ["class", '[data-mode="dark"]'],
// important: true,
theme: {
fontFamily: {
mono: ["FiraCode", "ui-monospace", "SFMono-Regular"]
},
fontSize: {
DEFAULT: ["1rem", "2em"],
title: ["20px", "1.2"],
sm: ["15px", "20px"],
lg: ["18px", "28px"],
xl: ["20px", "32px"],
"2xl": ["30px", "36px"],
"4xl": ["36px", "40px"]
},
borderRadius: {
terminal: "0.625rem",
selection: "0.2rem"
},
colors: {
"background-color": "var(--background-color)",
"window-color": "var(--window-color)",
"glow-color": "var(--glow-color)",
transparent: "#00000000",
white: "var(--white)",
gray: "var(--gray)",
black: "var(--black)",
red: "var(--red)",
green: "var(--green)",
yellow: "var(--yellow)",
blue: "var(--blue)",
cyan: "var(--cyan)",
magenta: "var(--magenta)",
violet: "var(--violet)",
orange: "var(--orange)"
},
extend: {
maxWidth: {
terminal: "50rem"
},
padding: {
terminal: "0.9rem"
},
margin: {
line: "1.4rem"
},
spacing: {
full: "100%"
},
animation: {
fadeIn: "fadeIn 0.15s ease-in-out"
},
blur: {
wallpaper: "8px"
},
keyframes: () => ({
fadeIn: {
"0%": { opacity: 0 },
"100%": { opacity: 1 }
}
})
}
},
plugins: [],
safelist: [
"background-color",
"window-color",
"glow-color",
{
pattern:
/(bg|text|border|caret)-(white|gray|black|red|green|yellow|blue|cyan|magenta|violet|orange)/
}
]
}