add theme.js — shared design tokens module referenced by App.jsx

This commit is contained in:
2026-06-14 17:29:19 -04:00
parent 0af8ed05b0
commit a5a01fda02
10 changed files with 67 additions and 116 deletions
+2 -7
View File
@@ -1,10 +1,5 @@
import { useState, useCallback, useRef, useEffect, useMemo } from "react";
const T = {
bg: "#0A0A0C", panel: "#141418", surface: "#1C1C22", border: "#2A2A32",
amber: "#E8A030", amberDim: "#7A5218", blue: "#4A8BC8", blueDim: "#1E4060",
green: "#3AB87A", red: "#E06060", textPrimary: "#F0EDE6", textSec: "#A0A0BC", textDim: "#7878A0",
};
import { useState, useRef, useEffect, useCallback, useMemo } from "react";
import { T } from "./theme.js";
async function api(method, path, body) {
const opts = { method, headers: { "Content-Type": "application/json" } };