Circumvent twentytwenty accessibility colors
-
I would like build a child theme derived from the twentytwenty theme for which it is possible to set the precise primary color. The twentytwenty theme only allows an imprecise hue selection that is used to automatically compute the actual primary color (as documented here).
I tried hard-coding the primary color in the style.css by overwriting the default
color-accent
property but this has no effect. My hypothesis is that this is because choosing a custom background color in the customizer will automatically compute an “accessible” primary color. The functionality seems to reside inclass-twentytwenty-customize
.Could someone with more knowledge about the twentytwenty theme guide me on how I can “hack” my way around the accessibility feature for the primary color?
Many thanks,
Simon
- The topic ‘Circumvent twentytwenty accessibility colors’ is closed to new replies.