mdcms/app
Claude 6492329b27
v0.4 Phase 1: theme.yml — separate presentational config from config.yml
- Add app/theme.yml: colours (light/dark), semantic colours, callout
  defaults, fonts (with bunny: provider support), font-size, line-height,
  main-width, nav-width
- app/config.yml: add `theme: theme.yml` reference; remove font and
  layout keys that now live in theme.yml
- index.html: add applyThemeYml() that reads the new theme.yml format
  and derives all CSS custom properties (accent-rgb, nav-active-bg,
  nav-hover-bg, table-header-bg, link-colour) from the 5 user keys per
  mode; add --colour-info/warning/success/error CSS vars with hardcoded
  defaults; add --line-height-body CSS var
- index.html: update loadFonts() to accept themeConfig, support
  provider:name:weight format for Bunny Fonts and Google Fonts
- index.html: boot() fetches theme file named by config.theme, routes
  to applyThemeYml() for new format or applyConfigTheme() for legacy;
  falls back gracefully to hardcoded defaults when theme key is absent

https://claude.ai/code/session_015XtsgTMi8UtmgxEgb5Qt2c
2026-05-16 15:33:20 +00:00
..
assets Overhauled downloads, started fixing docs. 2026-05-16 21:19:35 +07:00
pages Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
posts Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
config.yml v0.4 Phase 1: theme.yml — separate presentational config from config.yml 2026-05-16 15:33:20 +00:00
index.html v0.4 Phase 1: theme.yml — separate presentational config from config.yml 2026-05-16 15:33:20 +00:00
nav.yml Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
search.json Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
theme.yml v0.4 Phase 1: theme.yml — separate presentational config from config.yml 2026-05-16 15:33:20 +00:00