-
+
{" "}
+ {/* keep it text-text */}
{robux ? robux.toLocaleString() : "..."}
diff --git a/package.json b/package.json
index 4c2caca..32c8b0d 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,8 @@
"lint": "bunx --bun next lint"
},
"dependencies": {
- "@catppuccin/tailwindcss": "^1.0.0",
+ "@catppuccin/palette": "^1.7.1",
+ "@catppuccin/tailwindcss": "0.1.6",
"@hookform/resolvers": "^5.2.2",
"@ocbwoy3/libocbwoy3": "^0.0.6",
"@radix-ui/react-accordion": "^1.2.12",
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 764056f..4a1d8ac 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -1,4 +1,10 @@
import type { Config } from "tailwindcss";
+import { flavors } from "@catppuccin/palette";
+
+const ctpColors: Record
= {};
+for (const [name, color] of Object.entries(flavors.mocha.colors)) {
+ ctpColors[name] = color.hex;
+}
export default {
darkMode: "class",
@@ -12,19 +18,7 @@ export default {
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
- base: "hsl(var(--ctp-base))",
- mantle: "hsl(var(--ctp-mantle))",
- crust: "hsl(var(--ctp-crust))",
- text: "hsl(var(--ctp-text))",
- subtext0: "hsl(var(--ctp-subtext0))",
- subtext1: "hsl(var(--ctp-subtext1))",
- surface0: "hsl(var(--ctp-surface0))",
- surface1: "hsl(var(--ctp-surface1))",
- surface2: "hsl(var(--ctp-surface2))",
- blue: "hsl(var(--ctp-blue))",
- green: "hsl(var(--ctp-green))",
- yellow: "hsl(var(--ctp-yellow))",
- red: "hsl(var(--ctp-red))",
+ ...ctpColors,
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))"