Skip to content
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

Improve dark mode contrast on licenses page #1175

Merged
merged 4 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
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: 12 additions & 12 deletions assets/css/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,36 @@ body {
background: #212121;
color: #d0c8c1;
}

h1, h2, h3, h5 {
color: #dadada !important;
}
.site-footer {
color: #ccc !important;

.license-overview-description, .site-footer {
color: #ccc !important;
}
.site-footer a {
color: #ddd !important;

.license-rules li:hover, .site-footer a {
color: #ddd !important;
}

.home h2 {
color: #c7cdce !important;
}

.license-body pre {
background-color: #131313 !important;
border: 1px solid #3e3e3e !important;
}

.note {
color: #9fa5a6 !important;
}

strong {
color: #bdbdbd !important;
}

button, input, optgroup, select, textarea {
color: black !important;
}
Expand Down
2 changes: 1 addition & 1 deletion script/check-approval
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ current = license_ids.include?(license)
rows << ['Current license', current]

rows << :separator
eligible = (!current && spdx && approved_licenses.include?(license))
eligible = !current && spdx && approved_licenses.include?(license)
rows << ['Eligible', eligible]

puts Terminal::Table.new title: "License: #{license}", rows: rows
Expand Down