Skip to content

Commit 46e44f9

Browse files
Merge pull request #8 from MITLibraries/post-65
Theme variants demonstration
2 parents 1e231aa + b6d5e8f commit 46e44f9

26 files changed

Lines changed: 272 additions & 7 deletions

asset/css/base.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asset/css/black.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asset/css/blue.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asset/css/burnt_orange.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asset/css/magenta.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asset/css/mit.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asset/css/red.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asset/scss/_banner.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
.page-banner {
55
background-color: $gray-l4;
66
color: $white;
7-
min-height: 10rem;
7+
min-height: 12rem;
88
}
99

1010
.wrap-header-local {
11-
background: $gray;
11+
background: $black;
1212
box-shadow: 0 0 5px $shadow;
1313
color: $white;
1414
margin-top: -6em;

asset/scss/_colors.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1+
// Grayscale
12
$white: rgb(255 255 255);
23
$white-warm: rgb(237 232 226);
34
$gray: rgb(89 89 89);
45
$gray-l2: rgb(204 204 204);
56
$gray-l3: rgb(222 222 222);
67
$gray-l4: rgb(243 243 243);
78
$gray-warm: rgb(198 182 163);
9+
$gray-silver: rgb(141 150 160);
810
$black: rgb(0 0 0);
911
$shadow: rgb(0 0 0 / 50%);
1012
$shadow-dark: rgb(0 0 0 / 70%);
13+
14+
// Standard colors (these variants have sufficient contrast).
15+
$mit: #750014;
16+
$blue: rgb(0 0 255);
17+
$magenta: rgb(158 0 158);
18+
$orange: rgb(138 69 0);
19+
$red: rgb(163 0 0);

asset/scss/black.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@import 'colors';
2+
@import 'variables';
3+
4+
$color: $black;
5+
$color-menu-accent: $black;
6+
$color-menu-accent-arrow: $white;
7+
$color-menu-accent-text: $white;
8+
$color-menu-arrow: $black;
9+
$color-menu-background: $gray-l3;
10+
$color-text-hover: $blue;
11+
12+
@import 'variants/all';

0 commit comments

Comments
 (0)