aboutsummaryrefslogtreecommitdiffstats
path: root/tooling/tailwind/base.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tooling/tailwind/base.ts')
-rw-r--r--tooling/tailwind/base.ts48
1 files changed, 48 insertions, 0 deletions
diff --git a/tooling/tailwind/base.ts b/tooling/tailwind/base.ts
new file mode 100644
index 00000000..15fd759a
--- /dev/null
+++ b/tooling/tailwind/base.ts
@@ -0,0 +1,48 @@
+import type { Config } from "tailwindcss";
+
+export default {
+ darkMode: ["class"],
+ content: ["src/**/*.{ts,tsx}"],
+ theme: {
+ extend: {
+ colors: {
+ border: "hsl(var(--border))",
+ input: "hsl(var(--input))",
+ ring: "hsl(var(--ring))",
+ background: "hsl(var(--background))",
+ foreground: "hsl(var(--foreground))",
+ primary: {
+ DEFAULT: "hsl(var(--primary))",
+ foreground: "hsl(var(--primary-foreground))",
+ },
+ secondary: {
+ DEFAULT: "hsl(var(--secondary))",
+ foreground: "hsl(var(--secondary-foreground))",
+ },
+ destructive: {
+ DEFAULT: "hsl(var(--destructive))",
+ foreground: "hsl(var(--destructive-foreground))",
+ },
+ muted: {
+ DEFAULT: "hsl(var(--muted))",
+ foreground: "hsl(var(--muted-foreground))",
+ },
+ accent: {
+ DEFAULT: "hsl(var(--accent))",
+ foreground: "hsl(var(--accent-foreground))",
+ },
+ popover: {
+ DEFAULT: "hsl(var(--popover))",
+ foreground: "hsl(var(--popover-foreground))",
+ },
+ card: {
+ DEFAULT: "hsl(var(--card))",
+ foreground: "hsl(var(--card-foreground))",
+ },
+ },
+ borderColor: {
+ DEFAULT: "hsl(var(--border))",
+ },
+ },
+ },
+} satisfies Config;