Skip to content

Commit

Permalink
academicpages#137 pull default theme into new directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzupkoii committed Feb 2, 2025
1 parent efa7892 commit e9ff0d0
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 43 deletions.
43 changes: 0 additions & 43 deletions _sass/_themes.scss
Original file line number Diff line number Diff line change
@@ -1,46 +1,3 @@
/* ==========================================================================
THEMES
========================================================================== */

/* Color codes used throughout the site */
$gray : #7a8288;
$dark-gray : mix(#000, $gray, 40%);
$darker-gray : mix(#000, $gray, 60%);
$light-gray : mix(#fff, $gray, 50%);
$lighter-gray : mix(#fff, $gray, 90%);

/* Color codes used for the site */
$danger-color : #ee5f5b;
$info-color : #2f7f93;
$notice-color : #7a8288;
$success-color : #62c462;
$warning-color : #f89406;

/* Other basic settings for the template */
$border-radius : 4px;
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125);
$global-transition : all 0.2s ease-in-out;
$navicon-width : 28px;
$navicon-height : 4px;
$masthead-height : 70px;
$sidebar-link-max-width : 250px;
$sidebar-screen-min-width : 1024px;

/* Default light theme for the site */
:root {
--global-base-color : #{$gray};
--global-bg-color : #fff;
--global-border-color : #{$lighter-gray};
--global-code-background-color : #fafafa;
--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-masthead-link-color : #{$gray};
--global-masthead-link-color-hover : mix(#000, #{$gray}, 25%);
--global-text-color : #{$dark-gray};
}

/* ==========================================================================
TYPOGRAPHY
========================================================================== */
Expand Down
42 changes: 42 additions & 0 deletions _sass/theme/_default.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/* ==========================================================================
DEFAULT THEME
========================================================================== */

/* Color codes used throughout the site */
$gray : #7a8288;
$dark-gray : mix(#000, $gray, 40%);
$darker-gray : mix(#000, $gray, 60%);
$light-gray : mix(#fff, $gray, 50%);
$lighter-gray : mix(#fff, $gray, 90%);

/* Color codes used for the site */
$danger-color : #ee5f5b;
$info-color : #2f7f93;
$notice-color : #7a8288;
$success-color : #62c462;
$warning-color : #f89406;

/* Other basic settings for the template */
$border-radius : 4px;
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125);
$global-transition : all 0.2s ease-in-out;
$navicon-width : 28px;
$navicon-height : 4px;
$masthead-height : 70px;
$sidebar-link-max-width : 250px;
$sidebar-screen-min-width : 1024px;

/* Default light theme for the site */
:root {
--global-base-color : #{$gray};
--global-bg-color : #fff;
--global-border-color : #{$lighter-gray};
--global-code-background-color : #fafafa;
--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-masthead-link-color : #{$gray};
--global-masthead-link-color-hover : mix(#000, #{$gray}, 25%);
--global-text-color : #{$dark-gray};
}
1 change: 1 addition & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"vendor/susy/susy",

"themes",
"theme/default",
"syntax",

"include/mixins",
Expand Down

0 comments on commit e9ff0d0

Please sign in to comment.