Skip to content

Commit 25af169

Browse files
06bJ-Sek
andauthored
fix(VBtn): render border in forced-colors mode (#21848)
Co-authored-by: J-Sek <[email protected]>
1 parent 4335576 commit 25af169

File tree

1 file changed

+12
-0
lines changed
  • packages/vuetify/src/components/VBtn

1 file changed

+12
-0
lines changed

packages/vuetify/src/components/VBtn/VBtn.sass

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,15 @@
258258

259259
.v-pagination__item--is-active .v-btn__overlay
260260
opacity: $button-pagination-active-overlay-opacity
261+
262+
@media (forced-colors: active)
263+
.v-btn
264+
&:not(
265+
&--variant-text,
266+
&--variant-plain
267+
)
268+
border: thin solid
269+
270+
&:focus-visible
271+
outline: 2px solid
272+
outline-offset: 2px

0 commit comments

Comments
 (0)