Skip to content

Commit 5a01b08

Browse files
committed
fix: Fix highlighted text colours for releases UI in dark mode
1 parent 50c451e commit 5a01b08

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

static/sass/_snapcraft_release.scss

Lines changed: 20 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,18 @@
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+
.p-icon--chevron-down {
876+
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");
877+
}
878+
}
859879
}
860880

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

0 commit comments

Comments
 (0)