Skip to content

Commit

Permalink
chore(curriculum): use vars for TOC colors
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Jan 31, 2024
1 parent 9495f5c commit e8d7938
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/curriculum/index.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.curriculum {
--background-toc-active: #fcefe2;
--category-color: #e3642a;
--background-toc-active: var(--cur-bg-color);
--category-color: var(--cur-category-color);

--cur-bg-color-topic: var(--cur-bg-color);
--cur-color-topic: var(--cur-color);
Expand Down
2 changes: 2 additions & 0 deletions client/src/ui/base/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
--cur-bg-color-topic-scripting: #fff8d6;
--cur-bg-color-topic-tooling: #d5e4f5;
--cur-bg-color-topic-practices: #f5dfd5;
--cur-category-color: #e3642a;
--cur-color: #fcefe2;
--cur-color-topic-standards: #187b7f;
--cur-color-topic-styling: #187f22;
Expand Down Expand Up @@ -439,6 +440,7 @@
--cur-bg-color-topic-scripting: #7f6f16;
--cur-bg-color-topic-tooling: #182f7f;
--cur-bg-color-topic-practices: #a25e3f;
--cur-category-color: #e3642a;

color-scheme: dark;
}
Expand Down

0 comments on commit e8d7938

Please sign in to comment.