Skip to content

Commit 2d96ad8

Browse files
alphapapajarrodmillman
authored andcommitted
Fix: (img.first-column-layout) Invert "Array libraries" logos
This is a simple way to make them "presentable" in dark mode. Otherwise, we'd need to keep their backgrounds white (which would clash with the dark background), or edit each one individually and swap them for dark mode, which would be more complicated.
1 parent a5cb5e4 commit 2d96ad8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

assets/css/tabs.scss

+4
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ img.first-column-layout {
133133
max-width: 100px;
134134
max-height: 30px;
135135
margin: 0px 20px 0px 10px;
136+
137+
html[data-theme=dark] & {
138+
filter: invert(1) !important;
139+
}
136140
}
137141

138142
td.left-text {

0 commit comments

Comments
 (0)