Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When setting primary (and others) in theme-options.yml it's not taken everywhere.
Instead of using
primary: '#COLCOD'
this needs to used
theme-colors:
primary: '#COLCOD'
or even
primary: '#COLCOD'
theme-colors:
primary: $primary
This should be adopted in the inital theme-option.yml file.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3071906-set_theme_colors_everywhere-2.patch | 400 bytes | ytsurk |
Comments
Comment #2
ytsurkLike this - Maybe we should even add more variables in this initial file to show the power of it ...
Comment #3
ytsurkComment #4
pivica CreditAttribution: pivica at MD Systems GmbH commentedYeah, we did this fix in Primer but i still didn't port this back to bs_base. Will check this in more details during the week.
Comment #6
pivica CreditAttribution: pivica at MD Systems GmbH commentedCommitted.
Some stuff leaked from Primer into theme-options.yml hardcoded template (that color maps), not good ;). I've created a follow-up to clean this #3099329: Improve generator theme-options.yml content generation.