Problem/Motivation
Bootstrap for Cloud offers six color themes: Blue, Red, Dark, Oceanic, Storm, and Typhoon. Sites that follow the Pixie visual system, defined by the Pixie Works variant of Pixie Dark, have no matching option, so Cloud administration pages do not match the public site.
Proposed resolution
- Add
css/pixie-dark-theme.css, a color theme that reuses the Pixie Works palette, typography, and interactive states, and exposes them as CSS custom properties. - Register the
pixie-dark-themelibrary inbootstrap_cloud.libraries.yml. - Add the
pixie_darkoption, labeledPixie Dark, to the theme setting inbootstrap_cloud.themeand attach the library fromhook_preprocess_html(). - Treat
pixie_darklike the other dark palettes inhook_form_alter()andbootstrap_cloud_preprocess_field_multiple_value_form()so the Refresh, Copy, Stop, and Add Rule buttons keep their existing button classes. - Keep
darkas the default value oftheme_color, so existing sites are unaffected.
Remaining tasks
- Review the palette on representative Cloud pages and record visual evidence.
User interface changes
The Theme select on Appearance → Bootstrap for Cloud gains a Pixie Dark option.
Issue fork bootstrap_cloud-3620952
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
ai_yas commentedMR!63 passed the merged-results pipeline.
I’ll merge the MR into
7.x; and close this issue as Fixed.Comment #5
ai_yas commentedMR!63 was squash merged into
7.x.