Skip to content

Commit

Permalink
Stop using yellowish background for strong and em
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinem committed Oct 18, 2024
1 parent 4e74267 commit 308dc86
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions lib/rdoc/generator/template/rorvswild/css/rdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

--color-primary: oklch(0.5 0.18 29);
--color-primary-hover: oklch(0.4 0.18 29);
--color-strong-background: oklch(0.97 0.03 89);
--color-highlight-background: oklch(0.97 0.03 89);
--color-topbar: var(--color-primary);
--color-topbar-text: var(--color-background);
--color-text: oklch(0.35 0.03 269);
Expand Down Expand Up @@ -405,7 +405,7 @@ nav footer a:any-link {
.nav-section li.active > details > summary > a,
.nav-section li:has(li.active) > details > summary > a {
text-decoration: none;
background-color: var(--color-strong-background);
background-color: var(--color-highlight-background);
border-radius: 3px;
font-weight: 700;
cursor: initial;
Expand Down Expand Up @@ -581,7 +581,7 @@ nav.contextual { display: none }
#search-results .search-namespace { font-weight: bold; }

#search-results li em {
background: var(--color-strong-background);
background: var(--color-highlight-background);
font-style: normal;
}

Expand Down Expand Up @@ -633,11 +633,6 @@ em {
text-decoration-style: dotted;
}

strong,
em {
background-color: var(--color-strong-background);
}

.note-list {
padding: 1em 1em 2em;
box-shadow: 0 0 0 1px var(--color-border) inset;
Expand Down Expand Up @@ -831,7 +826,7 @@ main .mixin-from {
--color-primary: oklch(0.85 0.09 29);
--color-primary-hover: oklch(87.78296875% 0.07 29);

--color-strong-background: oklch(0.27 0.04 89);
--color-highlight-background: oklch(0.27 0.04 89);

--color-topbar: oklch(0.5 0.18 29);
--color-topbar-text: oklch(0.99 0.001 269);
Expand Down

0 comments on commit 308dc86

Please sign in to comment.