mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 04:06:42 +00:00
BookWyrm styles its pages from compiled Bulma themes, so the design arrives as one of them. files/scss/infinito.scss maps the theme onto the design tokens; the Dockerfile copies it into css/themes/ and tasks/00_core.yml stages it in the build context and triggers the build. The old files/style.css overrides are dropped, the theme replaces them. tasks/01_site.yml reads the generated logos and runs files/python/site_design.py through manage.py shell, with every value handed over in the task environment. The script provisions the administrator as superuser with the admin and moderator groups and realigns its password, sets the site name and the navigation logo, touch icon and favicon, registers the corporate theme and makes it the default only on a fresh site, and closes the setup wizard. With design switched off it removes only its own theme and logos. It prints BOOKWYRM_RESULT, which changed_when and failed_when read. templates/design.js.j2 mirrors the light or dark theme a user picks in BookWyrm into data-design-theme, meta/csp.yml admits scripts, styles and fonts from the object store that serves the static files, and meta/services.yml declares a 100x100 navigation logo slot. files/playwright/test-design.js checks the tokens in both modes, the theme's page, primary action, selection and text, the divider, the closed setup wizard, an upstream theme a user picks, title and logo, and captures the gallery. TODO.md records the registration keys BookWyrm 0.9.3 never reads, the stale reason that blocks the administrator persona, the SeaweedFS test that only signs in through Keycloak, and the missing static files of the variant without an object store. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>