-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
113 lines (103 loc) · 2.46 KB
/
tailwind.config.js
File metadata and controls
113 lines (103 loc) · 2.46 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
import { fontFamily } from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./Public/**/*.html",
"./Source/**/*.{astro,js,jsx,ts,tsx,vue,svelte}",
"./src/**/*.{astro,js,jsx,ts,tsx}",
],
darkMode: "media",
theme: {
container: {
center: true,
},
extend: {
transitionTimingFunction: {
Ease: "cubic-bezier(0.21, 0.1, 0.21, 1)",
},
fontFamily: {
sans: ["Albert Sans", ...fontFamily.sans],
},
typography: {
DEFAULT: {
css: {
a: {
"font-weight": "400",
},
},
},
},
colors: {
// Existing tokens
backgroundLight: "var(--background-light)",
backgroundDark: "var(--background-dark)",
// Bridge colors from Example/src/index.css
"color-green-500": "var(--color-green-500)",
"color-yellow-500": "var(--color-yellow-500)",
"color-white": "var(--color-white)",
// Extended technology badge palette - Protocol Spines
"spine-grpc": "#22c55e",
"spine-ipc": "#3b82f6",
"spine-tcp": "#f97316",
"spine-wasm": "#a855f7",
// Extensions & Libraries
"ext-rust": "#ea580c",
"ext-tauri": "#eab308",
"ext-effect-ts": "#06b6d4",
"ext-react": "#60a5fa",
"ext-vue": "#4ade80",
"ext-svelte": "#fb923c",
"ext-next": "#171717",
"ext-nuxt": "#16a34a",
"ext-solid": "#2563eb",
"ext-astro": "#9333ea",
// Platform indicators
"platform-web": "#4f46e5",
"platform-desktop": "#475569",
"platform-mobile": "#ec4899",
},
},
},
variants: {},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@tailwindcss/aspect-ratio"),
],
// TODO: Link that to the dynamic components inside ./Source/Function/Scroll/Layout.astro
safelist: [
"h-2",
"w-2",
// Include badge color utilities
"bg-spine-grpc",
"text-spine-grpc",
"border-spine-grpc",
"bg-spine-ipc",
"text-spine-ipc",
"border-spine-ipc",
"bg-spine-tcp",
"text-spine-tcp",
"border-spine-tcp",
"bg-spine-wasm",
"text-spine-wasm",
"border-spine-wasm",
"bg-ext-rust",
"text-ext-rust",
"border-ext-rust",
"bg-ext-tauri",
"text-ext-tauri",
"border-ext-tauri",
"bg-ext-effect-ts",
"text-ext-effect-ts",
"border-ext-effect-ts",
"bg-platform-web",
"text-platform-web",
"border-platform-web",
"bg-platform-desktop",
"text-platform-desktop",
"border-platform-desktop",
"bg-platform-mobile",
"text-platform-mobile",
"border-platform-mobile",
],
};