add dark pink, dark red, dark green themes

This commit is contained in:
pianycist 2018-09-05 22:22:20 -04:00 committed by Nolan Lawson
parent 1852f4842f
commit 9dac979cb6
6 changed files with 100 additions and 1 deletions

View File

@ -12,6 +12,9 @@ window.__themeColors = {
ozark: '#5263af',
cobalt: '#08439b',
sorcery: '#ae91e8',
darkpink: 'hotpink',
darkscarlet: '#e04e41',
hacker: '#4ab92f',
offline: '#999999'
}
if (localStorage.store_currentInstance && localStorage.store_instanceThemes) {

View File

@ -38,6 +38,18 @@ const themes = [
{
name: 'sorcery',
label: 'Sorcery'
},
{
name: 'darkpink',
label: 'Dark Pink'
},
{
name: 'darkscarlet',
label: 'Dark Scarlet'
},
{
name: 'hacker',
label: 'Hacker'
}
]

View File

@ -21,6 +21,9 @@ body.theme-seafoam.offline,
body.theme-gecko.offline,
body.theme-ozark.offline,
body.theme-cobalt.offline,
body.theme-sorcery.offline {
body.theme-sorcery.offline,
body.theme-darkpink.offline,
body.theme-darkscarlet.offline,
body.theme-hacker.offline {
@include baseTheme();
}

27
scss/themes/darkpink.scss Normal file
View File

@ -0,0 +1,27 @@
$main-theme-color: hotpink;
//$main-theme-color: hotpink;
$main-bg-color: #28252E;
$body-bg-color: darken($main-bg-color, 5%);
$anchor-color: $main-theme-color;
$main-text-color: #FFF;
$border-color: lighten($body-bg-color, 10%);
$secondary-text-color: white;
$toast-border: #fafafa;
$toast-bg: #333;
$focus-outline: lighten($main-theme-color, 50%);
$compose-background: lighten($main-theme-color, 52%);
@import "_base.scss";
@import "_dark.scss";
body.theme-darkpink {
@include baseTheme();
@include darkTheme();
--nav-bg: #{lighten($body-bg-color, 10%)};
--nav-a-selected-bg: #{lighten($body-bg-color, 25%)};
--nav-a-bg-hover: #{lighten($body-bg-color, 25%)};
--nav-a-selected-bg-hover: #{lighten($body-bg-color, 40%)};
--button-primary-bg: #{darken($main-theme-color, 5%)};
}

View File

@ -0,0 +1,27 @@
$main-theme-color: #e04e41;
//$main-theme-color: #e04e41;
$main-bg-color: #28252E;
$body-bg-color: darken($main-bg-color, 5%);
$anchor-color: $main-theme-color;
$main-text-color: #FFF;
$border-color: lighten($body-bg-color, 10%);
$secondary-text-color: white;
$toast-border: #fafafa;
$toast-bg: #333;
$focus-outline: lighten($main-theme-color, 50%);
$compose-background: lighten($main-theme-color, 52%);
@import "_base.scss";
@import "_dark.scss";
body.theme-darkscarlet {
@include baseTheme();
@include darkTheme();
--nav-bg: #{lighten($body-bg-color, 10%)};
--nav-a-selected-bg: #{lighten($body-bg-color, 25%)};
--nav-a-bg-hover: #{lighten($body-bg-color, 25%)};
--nav-a-selected-bg-hover: #{lighten($body-bg-color, 40%)};
--button-primary-bg: #{darken($main-theme-color, 5%)};
}

27
scss/themes/hacker.scss Normal file
View File

@ -0,0 +1,27 @@
$main-theme-color: #4ab92f;
//$main-theme-color: #4ab92f;
$main-bg-color: #282828;
$body-bg-color: darken($main-bg-color, 5%);
$anchor-color: $main-theme-color;
$main-text-color: #FFF;
$border-color: lighten($body-bg-color, 10%);
$secondary-text-color: white;
$toast-border: #fafafa;
$toast-bg: #333;
$focus-outline: lighten($main-theme-color, 50%);
$compose-background: lighten($main-theme-color, 52%);
@import "_base.scss";
@import "_dark.scss";
body.theme-hacker {
@include baseTheme();
@include darkTheme();
--nav-bg: #{lighten($body-bg-color, 10%)};
--nav-a-selected-bg: #{lighten($body-bg-color, 25%)};
--nav-a-bg-hover: #{lighten($body-bg-color, 25%)};
--nav-a-selected-bg-hover: #{lighten($body-bg-color, 40%)};
--button-primary-bg: #{darken($main-theme-color, 5%)};
}