We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f866014 commit 0ddb7afCopy full SHA for 0ddb7af
packages/@adobe/spectrum-css-temp/components/icon/icons.css
@@ -28,3 +28,10 @@ governing permissions and limitations under the License.
28
/* Don't catch clicks or hover, otherwise they may not escape the SVG */
29
pointer-events: none;
30
}
31
+@media (forced-colors: active) {
32
+ .spectrum-Icon,
33
+ .spectrum-UIIcon {
34
+ /* Automatically adjust the SVG to pick up the text color for High Contrast mode */
35
+ forced-color-adjust: auto;
36
+ }
37
+}
0 commit comments