Skip to content

feat(facade): theme_mode forcing + Web Host CDN 1.0.39 (EE2-2265)#65

Merged
AndrewKirkovski merged 1 commit into
masterfrom
feat/facade-theme-mode-cdn-1.0.39
Jun 19, 2026
Merged

feat(facade): theme_mode forcing + Web Host CDN 1.0.39 (EE2-2265)#65
AndrewKirkovski merged 1 commit into
masterfrom
feat/facade-theme-mode-cdn-1.0.39

Conversation

@AndrewKirkovski

@AndrewKirkovski AndrewKirkovski commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

EE2-2265 — facade theme forcing + CDN 1.0.39

Server-side half of the forced-theme feature (pairs with the Web Host theme switch + app-template theme_mode).

What

  • theme_mode requirement (auto | light | dark, default auto) → wippy.facade:theme_mode.
  • config_handler.lua returns themeMode in /api/public/facade/config (clamped to the enum — a bad value falls back to auto instead of shipping a dead class).
  • theming_helpers.build_variables_css now emits the three-state forcing-aware model for @dark/@light cssVariables: OS media query gated against the opposite forced scope (:root:not(.w-theme-*)) plus a .w-theme-* class rule — so app cssVariables respond to a forced themeMode, not just the OS.
  • CDN bump 1.0.37 → 1.0.39 (1.0.38 was skipped): fe_facade_url default, Makefile WEB_HOST_CDN, README (×3), config_handler_test.

… (EE2-2265)

- theme_mode requirement (auto|light|dark, default auto) -> wippy.facade:theme_mode;
  config_handler returns themeMode in /api/public/facade/config (clamped to the enum)
- theming_helpers.build_variables_css emits the three-state forcing-aware model for
  @dark/@light cssVariables (OS media gated against the opposite forced scope, plus a
  .w-theme-* class rule), so app cssVariables respond to a forced themeMode too
- bump fe_facade_url default + Makefile/README/config_handler_test to webcomponents-1.0.39
- re-sync vendored public/@wippy-fe/loading.js from the 1.0.39 CDN

EE2-2265
@AndrewKirkovski AndrewKirkovski merged commit 6421013 into master Jun 19, 2026
18 checks passed
@AndrewKirkovski AndrewKirkovski deleted the feat/facade-theme-mode-cdn-1.0.39 branch June 19, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant