Skip to content

Commit dc7417c

Browse files
06bJ-Sek
andauthored
fix(VTimeline): render lines in forced-colors mode (#21974)
Co-authored-by: J-Sek <[email protected]>
1 parent 0d4c1b6 commit dc7417c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/vuetify/src/components/VTimeline/VTimeline.sass

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@
1111
.v-timeline-divider__dot
1212
background: $timeline-dot-divider-background
1313

14+
@media (forced-colors: active)
15+
border: 2px solid
16+
1417
.v-timeline-divider__inner-dot
1518
background: $timeline-inner-dot-divider-background
1619

20+
@media (forced-colors: active)
21+
background-color: transparent !important
22+
1723
.v-timeline
1824
display: grid
1925
grid-auto-flow: dense
@@ -124,6 +130,9 @@
124130
width: $timeline-divider-line-thickness
125131
top: $timeline-line-start
126132

133+
@media (forced-colors: active)
134+
background: canvastext
135+
127136
.v-timeline-divider__after
128137
background: $timeline-divider-line-background
129138
position: absolute
@@ -139,6 +148,9 @@
139148
width: $timeline-divider-line-thickness
140149
bottom: $timeline-line-start
141150

151+
@media (forced-colors: active)
152+
background: canvastext
153+
142154
.v-timeline-item:first-child
143155
.v-timeline-divider__before
144156
@include vertical

0 commit comments

Comments
 (0)