Skip to content

Commit 20f08ac

Browse files
committed
only update relevant snapshots
1 parent 56c205f commit 20f08ac

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

src/__tests__/__snapshots__/ActionMenu.test.tsx.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ exports[`ActionMenu renders consistently 1`] = `
104104
margin-right: -4px;
105105
}
106106
107+
@media (forced-colors:active) {
108+
.c1:focus {
109+
outline: solid 1px transparent;
110+
}
111+
}
112+
107113
<div
108114
className="c0"
109115
color="fg.default"

src/__tests__/__snapshots__/AnchoredOverlay.test.tsx.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ exports[`AnchoredOverlay should render consistently when open 1`] = `
185185
outline: none;
186186
}
187187
188+
@media (forced-colors:active) {
189+
.c2 {
190+
outline: solid 1px transparent;
191+
}
192+
}
193+
188194
<div>
189195
<div
190196
class="c0"

src/__tests__/__snapshots__/Button.test.tsx.snap

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ exports[`Button renders consistently 1`] = `
8888
border-color: rgba(27,31,36,0.15);
8989
}
9090
91+
@media (forced-colors:active) {
92+
.c0:focus {
93+
outline: solid 1px transparent;
94+
}
95+
}
96+
9197
<button
9298
className="c0"
9399
/>
@@ -198,6 +204,12 @@ exports[`Button styles danger button appropriately 1`] = `
198204
border-color: btn.danger.selectedBorder;
199205
}
200206
207+
@media (forced-colors:active) {
208+
.c0:focus {
209+
outline: solid 1px transparent;
210+
}
211+
}
212+
201213
<button
202214
class="c0"
203215
>
@@ -294,6 +306,12 @@ exports[`Button styles invisible button appropriately 1`] = `
294306
background-color: btn.selectedBg;
295307
}
296308
309+
@media (forced-colors:active) {
310+
.c0:focus {
311+
outline: solid 1px transparent;
312+
}
313+
}
314+
297315
<button
298316
class="c0"
299317
>
@@ -411,6 +429,12 @@ exports[`Button styles outline button appropriately 1`] = `
411429
border-color: btn.outline.selectedBorder;
412430
}
413431
432+
@media (forced-colors:active) {
433+
.c0:focus {
434+
outline: solid 1px transparent;
435+
}
436+
}
437+
414438
<button
415439
class="c0"
416440
>
@@ -514,6 +538,12 @@ exports[`Button styles primary button appropriately 1`] = `
514538
box-shadow: undefined;
515539
}
516540
541+
@media (forced-colors:active) {
542+
.c0:focus {
543+
outline: solid 1px transparent;
544+
}
545+
}
546+
517547
<button
518548
class="c0"
519549
>

0 commit comments

Comments
 (0)