@htmlbricks/hb-json-viewer 0.71.9 → 0.71.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@ Renders JSON as an expandable, syntax-colored tree. Accepts a parsed object or a
6
6
 
7
7
  ## Styling (Bulma)
8
8
 
9
- The shadow root loads **Bulma 1.x** theme tokens on `:host` only (no Bulma layout classes on the tree). Override **`--bulma-*`** from the light DOM for consistency with the app. Tree colors remain the **`--jn-*`** variables documented in `extra/docs.ts`.
9
+ The shadow root loads **Bulma 1.x** theme tokens on `:host` only (no Bulma layout classes on the tree). Override **`--bulma-*`** from the light DOM for consistency with the app. **String** values use the success accent (`--jn-string` → Bulma success `*-on-scheme`); other primitives use **`--bulma-text`** / **`--bulma-text-weak`**. **Object** / **Array** type labels use **`--jn-type-object`** (danger) and **`--jn-type-array`** (warning). All tokens are Bulma `var(--bulma-*, var(--bulma-hb-def-*))` chains—no hardcoded hex. Dark mode follows `prefers-color-scheme: dark`, or `data-theme="dark"` / `.theme-dark` on `html`/`body`, or `data-theme="dark"` on the host.
10
10
 
11
11
  ## Types
12
12