Closed eriklharper closed 1 year ago
Does this mean that if I as a user have set an accent color, for instance in Mac OS System Preferences, it won’t be honored in the way it is for a native input?
(A question more so on the CC side, not this color variable itself.)
Does this mean that if I as a user have set an accent color, for instance in Mac OS System Preferences, it won’t be honored in the way it is for a native input?
(A question more so on the CC side, not this color variable itself.)
100% correct. I've looked into this, even asked in W3C forums. It is currently not possible in any browser to retrieve this system-level preference setting, even the native platform ones like Safari.
Can we update $ui-text-highlight-dark to #375F95
@ashetland Done. :)
This PR adds 2 new Sass variables for light and dark versions of text highlight colors and a corresponding CSS variable defined by @ashetland 's Input Time designs.
These colors are needed because currently all browsers at the time of writing lack true support for utilizing native OS system level highlight color settings in web components, which was Aaron's original intention when he designed the Input Time component with its native-like text highlight background colors shown below.
Related Calcite Issue: https://github.com/Esri/calcite-components/issues/2709