Skip to content

Enable and fix for dark mode #708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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.
  • Loading branch information
alphapapa authored and jarrodmillman committed Mar 27, 2024
commit 2d96ad81a7952f54de1f1397ef79ea03eddaeec3
4 changes: 4 additions & 0 deletions assets/css/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ img.first-column-layout {
max-width: 100px;
max-height: 30px;
margin: 0px 20px 0px 10px;

html[data-theme=dark] & {
filter: invert(1) !important;
}
}

td.left-text {
Expand Down