Skip to content

PointSav Documentation

The engineering library for the PointSav platform — operating systems and services for regulated businesses that own their data, their AI, and their record-keeping outright. Where the monorepo holds the code, this wiki holds the reasoning: architecture, services, security, and the governance commitments that bind future development.

Theming via semantic tokens

← All revisions

2a0b7e06 · PointSav Digital Systems ·

editorial(design-system): resolve theming-via-semantic-tokens' standing 2026-08-02 flag (Track-B) — confirmed against a live count of tokens.full.json (same method used on the sibling what-is-a-design-token/component-recipes-vs-raw-tokens fixes this pass): real theme.dark=28, theme.semantic=53, not 27/37; softened the 20-vs-7 sub-breakdown since the exact split shifted with the new total and re-deriving it exactly wasn't load-bearing to the article's point; de-narrated per register-documentation.yaml; register-clean EN+ES

View the full record as of this revision →

@@ -2,7 +2,7 @@
schema: foundry-doc-v1
title: "Theming via semantic tokens"
slug: theming-via-semantic-tokens
short_description: "Background article on light/dark theming as semantic-token substitution rather than a parallel stylesheet, grounded in the PointSav bundle's shipped theme.dark group (27 tokens, [data-theme=\\"dark\\"] switch) and situated against the same pattern in Carbon, Material 3, and Radix — an established technique, not a novelty claim."
short_description: "Background article on light/dark theming as semantic-token substitution rather than a parallel stylesheet, grounded in the PointSav bundle's shipped theme.dark group (28 tokens, [data-theme=\\"dark\\"] switch) and situated against the same pattern in Carbon, Material 3, and Radix — an established technique, not a novelty claim."
category: design-system
type: topic
content_type: topic
@@ -19,7 +19,7 @@ cites: []
---

Dark mode, in this design system, is not a second stylesheet. It is a
substitution: the same 37 semantic roles that style every light surface —
substitution: the same 53 semantic roles that style every light surface —
`surface-base`, `ink-primary`, `border-subtle`, `interactive-primary` — are
re-bound to dark-optimized values when a single attribute,
`data-theme="dark"`, appears on the document's root element. Components never
@@ -35,22 +35,22 @@ situate it against the systems that popularized the pattern.
## The mechanism, as shipped

The published bundle, `tokens.full.json`, carries the entire dark theme as
one group: `theme.dark`, 27 tokens sitting alongside the 37 light-theme roles
in `theme.semantic` (Correction, 2026-08-02: both counts are stale — real `theme.dark` has **28** leaves and real `theme.semantic` has **53**, not 37; same stale-count issue found on `what-is-a-design-token.md` and `component-recipes-vs-raw-tokens.md` in this same category. Flagged, not resolved.). The group's own description field states the switching
one group: `theme.dark`, 28 tokens sitting alongside the 53 light-theme roles
in `theme.semantic`. The group's own description field states the switching
mechanism — "Dark mode semantic overrides — applied via `[data-theme='dark']`
on the root element" — and its composition tells the architectural story:

- **20 of the 27 tokens override a semantic role by name.** `surface-base`,
- **Most of the group overrides a semantic role by name.** `surface-base`,
  which resolves to white in the light theme, becomes `#1f2125` (the
  neutral-90 primitive step) in dark. `ink-primary` flips from near-black to
  `#f5f6f8` (neutral-10). `border-subtle`, `focus-ring`,
  `interactive-primary`, the caution/critical/positive support colors — each
  keeps its name and changes its value.
- **7 tokens exist only in dark.** `surface-code` (a near-black code-block
- **A smaller set exists only in dark.** `surface-code` (a near-black code-block
  background darker than the page, to preserve depth), `ink-on-inverse`, and
  five wiki-specific colors — link, missing-link, and three
  syntax-highlighting roles — cover cases where dark mode is not a mirror of
  light but needs its own decisions.
  several wiki-specific colors — link, missing-link, and syntax-highlighting
  roles — cover cases where dark mode is not a mirror of light but needs its
  own decisions.

Two details in the dark map repay attention. First, hover direction reverses:
in the light theme, `interactive-primary` is the primary-60 blue and its
Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is currently a trade name of Woodfine Capital Projects Inc. ("Woodfine"), planned to become a wholly-owned Woodfine subsidiary upon incorporation. PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. The full trademark notice appears in the footer of every page on this site.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →