Skip to content

Commit e9ff0d0

Browse files
committed
academicpages#137 pull default theme into new directory
1 parent efa7892 commit e9ff0d0

File tree

3 files changed

+43
-43
lines changed

3 files changed

+43
-43
lines changed

_sass/_themes.scss

-43
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,3 @@
1-
/* ==========================================================================
2-
THEMES
3-
========================================================================== */
4-
5-
/* Color codes used throughout the site */
6-
$gray : #7a8288;
7-
$dark-gray : mix(#000, $gray, 40%);
8-
$darker-gray : mix(#000, $gray, 60%);
9-
$light-gray : mix(#fff, $gray, 50%);
10-
$lighter-gray : mix(#fff, $gray, 90%);
11-
12-
/* Color codes used for the site */
13-
$danger-color : #ee5f5b;
14-
$info-color : #2f7f93;
15-
$notice-color : #7a8288;
16-
$success-color : #62c462;
17-
$warning-color : #f89406;
18-
19-
/* Other basic settings for the template */
20-
$border-radius : 4px;
21-
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125);
22-
$global-transition : all 0.2s ease-in-out;
23-
$navicon-width : 28px;
24-
$navicon-height : 4px;
25-
$masthead-height : 70px;
26-
$sidebar-link-max-width : 250px;
27-
$sidebar-screen-min-width : 1024px;
28-
29-
/* Default light theme for the site */
30-
:root {
31-
--global-base-color : #{$gray};
32-
--global-bg-color : #fff;
33-
--global-border-color : #{$lighter-gray};
34-
--global-code-background-color : #fafafa;
35-
--global-fig-caption-color : mix(#fff, #{$dark-gray}, 25%);
36-
--global-link-color : #2f7f93;
37-
--global-link-color-hover : mix(#000, #2f7f93, 25%);
38-
--global-link-color-visited : mix(#fff, #2f7f93, 25%);
39-
--global-masthead-link-color : #{$gray};
40-
--global-masthead-link-color-hover : mix(#000, #{$gray}, 25%);
41-
--global-text-color : #{$dark-gray};
42-
}
43-
441
/* ==========================================================================
452
TYPOGRAPHY
463
========================================================================== */

_sass/theme/_default.scss

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/* ==========================================================================
2+
DEFAULT THEME
3+
========================================================================== */
4+
5+
/* Color codes used throughout the site */
6+
$gray : #7a8288;
7+
$dark-gray : mix(#000, $gray, 40%);
8+
$darker-gray : mix(#000, $gray, 60%);
9+
$light-gray : mix(#fff, $gray, 50%);
10+
$lighter-gray : mix(#fff, $gray, 90%);
11+
12+
/* Color codes used for the site */
13+
$danger-color : #ee5f5b;
14+
$info-color : #2f7f93;
15+
$notice-color : #7a8288;
16+
$success-color : #62c462;
17+
$warning-color : #f89406;
18+
19+
/* Other basic settings for the template */
20+
$border-radius : 4px;
21+
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125);
22+
$global-transition : all 0.2s ease-in-out;
23+
$navicon-width : 28px;
24+
$navicon-height : 4px;
25+
$masthead-height : 70px;
26+
$sidebar-link-max-width : 250px;
27+
$sidebar-screen-min-width : 1024px;
28+
29+
/* Default light theme for the site */
30+
:root {
31+
--global-base-color : #{$gray};
32+
--global-bg-color : #fff;
33+
--global-border-color : #{$lighter-gray};
34+
--global-code-background-color : #fafafa;
35+
--global-fig-caption-color : mix(#fff, #{$dark-gray}, 25%);
36+
--global-link-color : #2f7f93;
37+
--global-link-color-hover : mix(#000, #2f7f93, 25%);
38+
--global-link-color-visited : mix(#fff, #2f7f93, 25%);
39+
--global-masthead-link-color : #{$gray};
40+
--global-masthead-link-color-hover : mix(#000, #{$gray}, 25%);
41+
--global-text-color : #{$dark-gray};
42+
}

assets/css/main.scss

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"vendor/susy/susy",
1414

1515
"themes",
16+
"theme/default",
1617
"syntax",
1718

1819
"include/mixins",

0 commit comments

Comments
 (0)