forked from Stability-AI/StableStudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
82 lines (74 loc) · 1.79 KB
/
tailwind.config.cjs
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
78
79
80
81
82
// eslint-disable-next-line @typescript-eslint/no-var-requires
const plugin = require("tailwindcss/plugin");
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
mode: "jit",
content: ["./index.html", "./src/**/*.{ts,tsx}"],
plugins: [
require("@tailwindcss/typography"),
plugin(({ addVariant }) => {
addVariant("group-hover", [".group:hover &", ".group.hover &"]);
addVariant("hover", ["&:hover", "&.hover"]);
addVariant("active", ["&:active", "&.active"]);
}),
],
theme: {
extend: {
opacity: {
muted: 0.75,
"muted-extra": 0.15,
},
colors: {
"muted-white": "hsla(0, 0%, 100%, 0.4)",
"muted-white-extra": "hsla(0, 0%, 100%, 0.15)",
brand: {
50: "#efe8ff",
100: "#d4c6fe",
200: "#b794f6",
300: "#9776FF",
400: "#8866F0",
500: "#7855E1",
600: "#6844D2",
700: "#5833C3",
800: "#4822B4",
900: "#3812A5",
},
vue: {
50: "#ebfef8",
100: "#cefdeb",
200: "#a1f9dc",
300: "#65f0cc",
400: "#28dfb5",
500: "#03d0a8",
600: "#00a183",
700: "#00816d",
800: "#006657",
900: "#005449",
},
discord: {
50: "#eef3ff",
100: "#e0e9ff",
200: "#c6d6ff",
300: "#a4b9fd",
400: "#8093f9",
500: "#5866f2",
600: "#4446e7",
700: "#3736cc",
800: "#2f30a4",
900: "#2d3082",
},
},
typography: {
DEFAULT: {
css: {
img: {
marginTop: 0,
marginBottom: 0,
},
},
},
},
},
},
};