-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
62 lines (60 loc) · 1.38 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
boxShadow: {
"center-inset-2": "0 0 2px 0 var(--tw-shadow-colored) inset",
},
screens: {
xs: "360px",
},
colors: {
text: "rgb(var(--text) / <alpha-value>)",
"inverted-text": "rgb(var(--inverted-text) / <alpha-value>)",
background: "rgb(var(--background) / <alpha-value>)",
primary: "rgb(var(--primary) / <alpha-value>)",
secondary: "rgb(var(--secondary) / <alpha-value>)",
accent: "rgb(var(--accent) / <alpha-value>)",
slate: {
150: "#EAEFF5",
250: "#D7DFE9",
350: "#B0BCCD",
450: "#7C8CA2",
550: "#56657A",
650: "#3D4B5F",
750: "#293548",
850: "#172033",
950: "#090F21",
},
},
fontFamily: {
sans: ["Noto Sans", "sans-serif"],
},
},
},
darkMode: "class",
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
".scrollbar-none": {
"scrollbar-width": "none",
"&::-webkit-scrollbar": {
display: "none",
},
},
});
}),
plugin(({ addComponents }) => {
addComponents({
".transition-allow-discrete": {
"transition-behavior": "allow-discrete",
},
});
}),
({ addVariant }) => {
addVariant("starting", "@starting-style");
},
],
} satisfies Config;