release: WRNexusJS 0.2.57
This commit is contained in:
@@ -497,6 +497,7 @@ Themes are flat token maps rendered as `--wire-<key>` CSS variables (server + cl
|
||||
```ts
|
||||
// wrnexus.config.ts
|
||||
theme: {
|
||||
palette: "violet", // blue | indigo | violet | emerald | cyan | rose | amber | slate
|
||||
default: "dark", // used when no cookie
|
||||
themes: {
|
||||
light: { "color-primary": "#2563eb" }, // deep-merged over built-in light
|
||||
@@ -1266,6 +1267,7 @@ const config: AppConfig = {
|
||||
},
|
||||
|
||||
theme: {
|
||||
palette: "violet",
|
||||
default: "dark", // theme when no wire-theme cookie
|
||||
themes: { light: { "color-primary": "#2563eb" }, dark: { "color-primary": "#6c8cff" } },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user