Skip to content

Commit

Permalink
Use technote's properties for accent colouring
Browse files Browse the repository at this point in the history
Technote 0.2 includes more CSS custom properties for specifying colours;
so we'll use those rather than overriding the CSS rules themselves.
  • Loading branch information
jonathansick committed Jan 5, 2023
1 parent 3e12e90 commit 5509896
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/assets/rubin-technote/styles/_properties.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@

:root {
--tn-component-text-color: var(--rsd-component-text-color);
}

.technote-article-header-id {
color: var(--rsd-color-primary-600);
}

.technote-sidebar-section__heading,
.toc-header {
color: var(--rsd-color-primary-600);
--tn-component-toc-header-color: var(--rsd-color-primary-600);
--tn-component-sidebar-header-color: var(--rsd-color-primary-600);
--tn-component-toc-level-border-color: var(--rsd-color-primary-600);
}

0 comments on commit 5509896

Please sign in to comment.