File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
packages/@adobe/spectrum-css-temp/components Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 45
45
}
46
46
}
47
47
}
48
+
49
+ @media (forced-colors : active) {
50
+ .spectrum-FocusRing ,
51
+ .spectrum-FocusRing-ring ,
52
+ .spectrum-FocusRing--quiet {
53
+ --spectrum-high-contrast-focus-ring-color : xvar (--spectrum-high-contrast-focus-ring-color , Highlight);
54
+ & : after {
55
+ forced-color-adjust : none;
56
+ }
57
+ }
58
+ }
Original file line number Diff line number Diff line change @@ -180,9 +180,10 @@ governing permissions and limitations under the License.
180
180
--spectrum-textfield-border-color-key-focus : Highlight;
181
181
--spectrum-textfield-placeholder-text-color : GrayText;
182
182
--spectrum-textfield-placeholder-text-color-hover : GrayText;
183
+ --spectrum-high-contrast-focus-ring-color : Highlight;
183
184
& .focus-ring ,
184
185
& : focus-visible {
185
- outline : 2px solid Highlight ;
186
+ outline : 2px solid var ( --spectrum-high-contrast-focus-ring-color ) ;
186
187
}
187
188
.spectrum-Textfield--quiet & {
188
189
& .focus-ring ,
You can’t perform that action at this time.
0 commit comments