Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Basic Site Settings
locale : "en-US"
site_theme : "default" # Currently available options are "default", "air"
site_theme : "default" # the available themes options are "default", "air", "sunrise", "mint", "dirt" and "contrast"
title : "Your Name / Site Title"
title_separator : "-"
name : &name "Your Name"
Expand Down
77 changes: 77 additions & 0 deletions _sass/theme/_contrast_dark.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/* ==========================================================================
CONTRAST THEME - DARK VERSION
========================================================================== */
/* Color codes used for the theme */
$primary-color : #ff6c60;
$background : #000000;
$background-light : #1a1a1a;
$background-lighter : #2a2a2a;
$text : #ffffff;
$text-muted : #d9d9d9;
$link : #96cbfe;
$link-dark : #c6c5fe;
$link-light : #ff73fd;
$footer : #000000;
$border : #4d4d4d;
$border-light : #666666;

/* Color codes used for the site */
$danger-color : #ff6c60;
$info-color : #96cbfe;
$notice-color : #ffffff;
$success-color : #a8ff60;
$warning-color : #e9c062;

/* 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;
$masthead-height : 70px;
$navicon-width : 28px;
$navicon-height : 4px;
$sidebar-link-max-width : 250px;
$sidebar-screen-min-width : 1024px;

/* Dark theme for the site */
html[data-theme="dark"] {
--global-base-color : #{$background};
--global-bg-color : #{$background};
--global-footer-bg-color : #{$footer};
--global-border-color : #{$border};
--global-dark-border-color : #{$border-light};
--global-code-background-color : #{$background-light};
--global-code-text-color : #{$text-muted};
--global-fig-caption-color : #{$text-muted};
--global-link-color : #{$link};
--global-link-color-hover : #{$link-dark};
--global-link-color-visited : #{$link-light};
--global-masthead-link-color : #{$text};
--global-masthead-link-color-hover : #{$link-dark};
--global-text-color : #{$text};
--global-text-color-light : #{$text-muted};
--global-thead-color : #{$background-lighter};
}

/* Override notice colors for high contrast in dark mode */
html[data-theme="dark"] {
.page__content {
.notice,
.notice--primary,
.notice--info,
.notice--warning,
.notice--success,
.notice--danger {
color: #{$text};
border-color: #{$text};
}
}

.page__footer {
color: #ffffff;
}

.page__footer-follow .social-icons i,
.page__footer-follow .social-icons .svg-inline--fa {
color: inherit;
}
}
74 changes: 74 additions & 0 deletions _sass/theme/_contrast_light.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* ==========================================================================
CONTRAST THEME - LIGHT VERSION
========================================================================== */
/* Color codes used for the theme */
$primary-color : #b60000;
$dark-primary-color : mix(#000, $primary-color, 40%);
$darker-primary-color : mix(#000, $primary-color, 60%);
$light-primary-color : mix(#fff, $primary-color, 50%);
$lighter-primary-color : mix(#fff, $primary-color, 90%);
$background : #ffffff;
$background-light : #fafafa;
$background-lighter : #ffffff;
$text : #000000;
$text-muted : #404040;
$link : #0000ff;
$link-dark : #0000cc;
$link-light : #3333ff;
$footer : #000000;
$border : #c0c0c0;
$border-dark : #808080;

/* Color codes used for the site */
$danger-color : #ff0000;
$info-color : #0000ff;
$notice-color : #000000;
$success-color : #008000;
$warning-color : #ff8800;

/* 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;
$masthead-height : 70px;
$navicon-width : 28px;
$navicon-height : 4px;
$sidebar-link-max-width : 250px;
$sidebar-screen-min-width : 1024px;

/* Light theme for the site */
:root {
--global-base-color : #{$text};
--global-bg-color : #{$background};
--global-footer-bg-color : #{$footer};
--global-border-color : #{$border};
--global-dark-border-color : #{$border-dark};
--global-code-background-color : #{$background-light};
--global-code-text-color : #{$text};
--global-fig-caption-color : #{$text-muted};
--global-link-color : #{$link};
--global-link-color-hover : #{$link-dark};
--global-link-color-visited : #{$primary-color};
--global-masthead-link-color : #{$text};
--global-masthead-link-color-hover : #{$text-muted};
--global-text-color : #{$text};
--global-text-color-light : #{$text-muted};
--global-thead-color : #{$border};
}

/* Override notice colors for high contrast */
.page__content {
.notice,
.notice--primary,
.notice--info,
.notice--warning,
.notice--success,
.notice--danger {
color: #{$text};
border-color: #{$text};
}
}

footer {
color: #ffffff;
}
65 changes: 65 additions & 0 deletions _sass/theme/_dirt_dark.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/* ==========================================================================
DIRT THEME - DARK VERSION
========================================================================== */
/* Color codes used for the theme */
$primary-color : #b49368;
$dark-primary-color : mix(#000, $primary-color, 40%);
$darker-primary-color : mix(#000, $primary-color, 60%);
$light-primary-color : mix(#fff, $primary-color, 50%);
$lighter-primary-color : mix(#fff, $primary-color, 90%);
$background : #231e18;
$background-light : #302b25;
$background-lighter : #48413a;
$text : #e4d4c8;
$text-muted : #cabcb1;
$link : #d7c8bc;
$link-dark : #e4d4c8;
$link-light : #b4a490;
$footer : #302b25;
$border : #48413a;
$border-light : #5c5346;
$accent-color : #b49368;

/* Color codes used for the site */
$danger-color : #d35c5c;
$info-color : #88a4d3;
$notice-color : #ca7f32;
$success-color : #b7ba53;
$warning-color : #e0ac16;

/* 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;
$masthead-height : 70px;
$navicon-width : 28px;
$navicon-height : 4px;
$sidebar-link-max-width : 250px;
$sidebar-screen-min-width : 1024px;

/* Dark theme for the site */
html[data-theme="dark"] {
--global-base-color : #{$background};
--global-bg-color : #{$background};
--global-footer-bg-color : #{$footer};
--global-border-color : #{$border};
--global-dark-border-color : #{$border-light};
--global-code-background-color : #{$background-light};
--global-code-text-color : #{$text-muted};
--global-fig-caption-color : #{$text-muted};
--global-link-color : #{$link};
--global-link-color-hover : #{$link-dark};
--global-link-color-visited : #{$link-light};
--global-masthead-link-color : #{$text};
--global-masthead-link-color-hover : #{$accent-color};
--global-text-color : #{$text};
--global-text-color-light : #{$text-muted};
--global-thead-color : #{$background-lighter};
}

/* Footer styling for dark mode */
html[data-theme="dark"] {
footer {
color: #{$text};
}
}
58 changes: 58 additions & 0 deletions _sass/theme/_dirt_light.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
$primary-color : #343434;
$dark-primary-color : mix(#000, $primary-color, 40%);
$darker-primary-color : mix(#000, $primary-color, 60%);
$light-primary-color : mix(#fff, $primary-color, 50%);
$lighter-primary-color : mix(#fff, $primary-color, 90%);
$background : #f3f3f3;
$background-light : #fafafa;
$background-lighter : #ffffff;
$text : #343434;
$text-muted : #8e8b82;
$link : #343434;
$link-dark : mix(#000, $link, 25%);
$link-light : mix(#fff, $link, 25%);
$footer : #e9dcbe;
$border : #e9dcbe;
$border-light : mix(#fff, $border, 50%);

/* Color codes used for the site */
$danger-color : #d35c5c;
$info-color : #88a4d3;
$notice-color : #b49368;
$success-color : #6eb958;
$warning-color : #e0ac16;

/* 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;
$masthead-height : 70px;
$navicon-width : 28px;
$navicon-height : 4px;
$sidebar-link-max-width : 250px;
$sidebar-screen-min-width : 1024px;

/* Light theme for the site */
:root {
--global-base-color : #{$primary-color};
--global-bg-color : #{$background};
--global-footer-bg-color : #{$footer};
--global-border-color : #{$border};
--global-dark-border-color : #{$text-muted};
--global-code-background-color : #{$background-lighter};
--global-code-text-color : #{$darker-primary-color};
--global-fig-caption-color : #{$text-muted};
--global-link-color : #{$link};
--global-link-color-hover : #{$link-dark};
--global-link-color-visited : #{$link-light};
--global-masthead-link-color : #{$text};
--global-masthead-link-color-hover : #{$text-muted};
--global-text-color : #{$text};
--global-text-color-light : #{$text-muted};
--global-thead-color : #{$border-light};
}

footer {
color: #{$text};
}

Loading