feat(rhema-code): add the colors setting with four palettes

The stored `colors` key names a palette — rhema (the default,
Jadeite), aquamarine, black-and-white, or dracula — and the
Appearance page of /settings cycles it live, like the theme and
icon toggles beside it. Each palette carries a dark and a light
appearance under the existing `theme` key; dracula's light side is
derived, the official palette ships only dark.

The appearance decision moves off token comparison: Theme now
answers is_dark() from the ground/text luminance, so palettes
beyond the original two get the right per-profile fallback tones.
This commit is contained in:
vhaudiquet committed 2026-10-17 04:28:31 +08:00
commit 81da26b955
159 files changed
+50628

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
{
"name": "rhema-claw-web",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Web client for the rhema claw's /v1 HTTP surface — one consumer, the public API is the contract.",
"scripts": {
"dev": "nuxt dev",
"build": "nuxt generate",
"preview": "nuxt preview",
"typecheck": "nuxt typecheck",
"postinstall": "nuxt prepare"
},
"dependencies": {
"markdown-it": "^15.0.2",
"nuxt": "^4.6.0",
"vue": "^3.5.43"
},
"devDependencies": {
"typescript": "^5.9.3",
"vue-tsc": "^3.1.4"
}
}