Steps to replicate the issue (include links if applicable):
- I'm using a CSS only, progressive button w/ icon.
- I'm specifying the classes cdx-button cdx-button--weight-primary cdx-button--action-progressive.
- I'm using dark mode
What happens?:
- The icon is black next to the white button text on progressive blue background
- .cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive .cdx-button__icon, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive .cdx-button__icon applies and sets background-color: var(--color-inverted,#fff)
What should have happened instead?:
- The icon should be white as the button text
- background-color: var(--color-inverted-fixed) should be applied instead
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia): Codex 1.5.0
Other information (browser name/version, screenshots, etc.):
Workaround: specify notheme class on the icon.