Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Partial fix for guides colors in dark theme
Browse files Browse the repository at this point in the history
This commit partially fixes regressions introduced while rewriting
Thymeleaf templates for the Thymeleaf 3 upgrade. We're updating CSS
selectors to reapply dark mode styles on the guides page.

The "Go to repo" and "Projects" sections are yet to be fixed.

See gh-1002
  • Loading branch information
bclozel committed Oct 13, 2020
1 parent 5d4cfca commit f858f00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sagan-client/src/css/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ body.dark {
h2, h3, h4, h5, html, p strong, a.link-darken:focus, a.link-darken:hover, .compass .project-content a:hover,
.compass .project-content .nav-tabs > .active > a, .compass .project-content .nav-tabs a,
.compass .project-content .nav-tabs a:hover, .team-member--sub-info p, .team-member--social--icon.github-lg .fab,
&.guide main p code, .guide main p pre, &.guide main table code, &.guide main table pre,
&#guide main p code, #guide main p pre, &#guide main table code, &#guide main table pre,
.compass .project-content .project--list-links li a:hover strong {
color: $dark-color;
}
Expand Down Expand Up @@ -451,7 +451,7 @@ body.dark {
}
}

&.guide main p code a, &.guide main p pre a {
&#guide main p code a, &#guide main p pre a {
color: #abd8ff;

&:hover {
Expand Down

0 comments on commit f858f00

Please sign in to comment.