Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: correctly invert colors of alerts in dark mode #591

Merged
merged 2 commits into from
Jul 10, 2024
Merged
Changes from all commits
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
24 changes: 24 additions & 0 deletions static/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,28 @@ div[style="color: rgb(85, 85, 85); font-size: 0.9em;"] {

[aria-sort="descending"] {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none' fill='white'%3E%3Cpath opacity='.4' d='m51 1 25 23 24 22H1l25-22z'/%3E%3Cpath opacity='.8' d='m51 101 25-23 24-22H1l25 22z'/%3E%3C/svg%3E") !important;
}

.alert-success {
color: hsl(135, 70%, 90%);
background-color: hsl(135, 60%, 30%);
border-color: hsl(135, 60%, 25%);
}

.alert-info {
color: hsl(190, 70%, 90%);
background-color: hsl(190, 60%, 30%);
border-color: hsl(190, 60%, 25%);
}

.alert-warning {
color: hsl(45, 70%, 90%);
background-color: hsl(45, 60%, 30%);
border-color: hsl(45, 60%, 25%);
}

.alert-danger {
color: hsl(355, 70%, 90%);
background-color: hsl(355, 60%, 30%);
border-color: hsl(355, 60%, 25%);
}
Loading