Skip to content

Commit

Permalink
academicpages#137, academicpages#911 sync variables between themes
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzupkoii committed Feb 2, 2025
1 parent 75d868b commit 83a76ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _sass/theme/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $masthead-height : 70px;
$sidebar-link-max-width : 250px;
$sidebar-screen-min-width : 1024px;

/* Default light theme for the site */
/* Dark theme for the site */
:root {
--global-base-color : #{$background};
--global-bg-color : #{$background};
Expand Down
5 changes: 4 additions & 1 deletion _sass/theme/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ $sidebar-screen-min-width : 1024px;
--global-bg-color : #fff;
--global-border-color : #{$lighter-gray};
--global-code-background-color : #fafafa;
--global-code-text-color : #{$darker-gray};
--global-fig-caption-color : mix(#fff, #{$dark-gray}, 25%);
--global-link-color : #2f7f93;
--global-link-color-hover : mix(#000, #2f7f93, 25%);
--global-link-color-visited : mix(#fff, #2f7f93, 25%);
--global-link-color-visited : mix(#fff, #2f7f93, 25%);
--global-masthead-link-color : #{$dark-gray};
--global-masthead-link-color-hover : mix(#000, #{$gray}, 25%);
--global-text-color : #{$dark-gray};
--global-text-color-light : #{$light-gray};
--global-thead-color : #{$lighter-gray};
}

0 comments on commit 83a76ed

Please sign in to comment.