Skip to content

Commit 01f9cf2

Browse files
authored
fix: Fix highlighted text colours for releases UI in dark mode (#5373)
1 parent cb3f938 commit 01f9cf2

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

static/sass/_snapcraft_release.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,14 @@
681681

682682
&:hover {
683683
background-color: $color-light;
684+
685+
.is-dark & {
686+
color: $color-x-dark;
687+
688+
.p-revisions-list__revision {
689+
color: $color-x-dark;
690+
}
691+
}
684692
}
685693
}
686694

@@ -856,6 +864,19 @@
856864
.current-change {
857865
background-color: $color-highlighted !important;
858866
border: $color-highlighted-border !important;
867+
868+
.is-dark & {
869+
color: $color-x-dark;
870+
871+
.p-release-data__meta {
872+
color: $color-x-dark;
873+
}
874+
875+
// Necessary override for highlighted cells in dark mode
876+
.p-icon--chevron-down {
877+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23000' d='M8.187 11.748l6.187-6.187-1.06-1.061-5.127 5.127L3.061 4.5 2 5.561z'/%3E%3C/svg%3E");
878+
}
879+
}
859880
}
860881

861882
.progressive-chart-key--current::after,

0 commit comments

Comments
 (0)