1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

Merge pull request #1175 from Smankusors/gh-pages

Improve dark mode contrast on licenses page
This commit is contained in:
Mike Linksvayer 2023-12-28 12:15:47 -08:00 committed by GitHub
commit 1827f5f462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View File

@ -20,11 +20,11 @@ body {
color: #dadada !important; color: #dadada !important;
} }
.site-footer { .license-overview-description, .site-footer {
color: #ccc !important; color: #ccc !important;
} }
.site-footer a { .license-rules li:hover, .site-footer a {
color: #ddd !important; color: #ddd !important;
} }

View File

@ -55,7 +55,7 @@ current = license_ids.include?(license)
rows << ['Current license', current] rows << ['Current license', current]
rows << :separator rows << :separator
eligible = (!current && spdx && approved_licenses.include?(license)) eligible = !current && spdx && approved_licenses.include?(license)
rows << ['Eligible', eligible] rows << ['Eligible', eligible]
puts Terminal::Table.new title: "License: #{license}", rows: rows puts Terminal::Table.new title: "License: #{license}", rows: rows