Files
computer-playbook/roles/web-app-phpmyadmin/templates/theme/theme.css.j2
T
kevinveenbirkenbachandClaude Opus 5.5 13128cca67 feat(web-app-phpmyadmin): carry the design in an in-house phpMyAdmin theme
phpMyAdmin themes are directories, so the role ships one named infinito
on top of pmahomme: tasks/main.yml renders templates/theme/ (theme.json,
theme.css, theme.rtl.css, jquery-ui.css and design.css, which maps
page, navigation, results, cards, primary action and the highlighted
SQL onto the design tokens and carries the logo) when design is on, meta/volumes.yml mounts
the directory read-only and templates/compose.yml.j2 wires the role's
volumes. templates/config.user.inc.php.j2, handed over as
PMA_USER_CONFIG_BASE64, makes the theme the default and appends the
configured title to every window title; templates/design.js.j2 points
the favicon at the generated one. The emptied role stylesheet templates/style.css.j2
goes, the theme replaces it.

files/playwright/test-design.js checks that the theme is active, the
status colors of highlighted SQL in both modes, tokens, page,
navigation, results, cards and primary action, the focus stops of the
breadcrumb bar, logo, favicon and title, and captures the gallery.
README.md links the gallery; TODO.md records the warning about the
missing configuration storage.

Verified green on the compose stack (9 passed); only README.md changed
after that run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 13:28:51 +02:00

3 lines
156 B
Django/Jinja

@import url("../../{{ PHPMYADMIN_THEME_BASE }}/css/theme.css");
@import url("design.css?v={{ lookup('template', 'theme/design.css.j2') | hash('sha1') }}");