forked from denoland/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
89 lines (79 loc) · 1.85 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
78
79
80
81
82
83
84
85
86
87
88
89
// tailwind.config.js
/** @type {import('npm:tailwindcss').Config} */
export default {
corePlugins: {
preflight: true,
},
darkMode: ["class", '[data-theme="dark"]'],
theme: {
extend: {
colors: {
transparent: "transparent",
current: "currentColor",
// New design system
white: "#ffffff",
black: "#0B0D11",
"true-black": "#000000",
offblack: "#121417",
"white-veil": "#ffffff03",
"black-veil": "#00000003",
"primary": "rgb(9, 105, 218)",
runtime: "rgba(112, 255, 175, 1)",
"runtime-dark": "#172723",
"runtime-secondary": "#EBFF01",
"runtime-secondary-dark": "#232711",
deploy: "#01C2FF",
"deploy-dark": "#0C212A",
subhosting: "#FF8A01",
"subhosting-dark": "#251C11",
fresh: "#FFDB1E",
"fresh-dark": "#401C00",
gray: {
"000": "#e3e5e9",
"00": "#cfd1d6",
0: "#9EA0A5",
1: "#868789",
2: "#56575A",
3: "#25272B",
4: "#191B1F",
5: "#14161A",
},
code: {
1: "#01C2FF",
2: "#00A341",
3: "#AE01FF",
4: "#EA8E04",
5: "#FFD601",
6: "#01ff67",
7: "#db01ff",
},
},
spacing: {
74: "18.5rem",
},
fontFamily: {
sans: [
"Inter",
"ui-sans-serif",
"system-ui",
"-apple-system",
"BlinkMacSystemFont",
"'Segoe UI'",
"Roboto",
"'Helvetica Neue'",
"Arial",
"'Noto Sans'",
"sans-serif",
],
},
},
},
plugins: [
{
handler(api) {
api.addVariant("current", "[aria-current]&");
api.addVariant("sidebar-open", "[data-open=true]&");
},
},
],
};