Open gpbmike opened 4 months ago
Setting color-scheme: dark
on the shadow DOM input is how I changed the icon in the "expected" screenshot.
Spike to determine next steps.
Can we support native and browser icons when the input is set to "date"
, "week"
, "time"
, "month"
, etc...?
I ended up working around this by adding html { color-scheme: dark; }
.
Some possible solutions to this:
color-scheme
to individual componentscolor-scheme
at a higher levelcolor-scheme
is how the library should determine what theme to usecc @geospatialem, @brittneytewks
Based on Mike's sleuthing above we can add a dark mode css selector - updated the estimate and priority for future implementation.
Check existing issues
Actual Behavior
The calendar icon on the
calcite-input
component with type="date" is hard to distinguish from the background.Expected Behavior
The calendar icon color contrast should make it more visible (left).
Reproduction Sample
https://codepen.io/gpbmike/pen/eYomOQY?editors=100
Reproduction Steps
Reproduction Version
2.6.0
Relevant Info
MacOS 14.3.1 Chrome 122
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
Accessibility issue.
Calcite package
Esri team
ArcGIS Site Scan