Color context (mode) tokens should only be applied with prefers-color-scheme when .calcite-mode-auto
is applied
#8343
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Dashboards
Issues logged by ArcGIS Dashboards team members.
ArcGIS Maps SDK for JavaScript
Issues logged by ArcGIS SDK for JavaScript team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
Calcite (dev)
Issues logged by Calcite developers.
calcite-design-tokens
Issues specific to the @esri/calcite-design-tokens package.
estimate - 3
A day or two of work, likely requires updates to tests.
impact - p0 - emergency
User set priority impact status of p0 - emergency
regression
Issues that are caused by changes in a release, but were working before that.
Milestone
Check existing issues
Actual Behavior
When you change the light or dark appearance on a Mac, the light or dark color context tokens are applied automatically.
Expected Behavior
Color context tokens should only be applied in css with prefers-color-scheme when a
.calcite-mode-auto
class is applied.Reproduction Sample
https://codepen.io/benesri/pen/RwgrjEx
Reproduction Steps
.calcite-mode-auto
classReproduction Version
2.0
Relevant Info
No response
Regression?
No response
Priority impact
p0 - emergency
Impact
No response
Calcite package
Esri team
Calcite (dev)
The text was updated successfully, but these errors were encountered: