Skip to content

Commit

Permalink
Merge pull request #1243 from pipipear/master
Browse files Browse the repository at this point in the history
Added an even darker dark theme
  • Loading branch information
averissimo committed Dec 6, 2020
2 parents dd0aa07 + 8af816f commit a5f3764
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/locales/en.json.template
Expand Up @@ -146,6 +146,7 @@
"default": "Original",
"blue": "Blue",
"dark": "Dark",
"darker": "Darker",
"material": "Material",
"pop": "Pop",
"gruvy": "Gruvy"
Expand Down
32 changes: 32 additions & 0 deletions src/ui/css/yakyak/colors.less
Expand Up @@ -60,6 +60,38 @@ html{
}
}

&.darker{
--white: #181A1B;
--ghostwhite: #2d3d46;
--lightgrey: #1E1F21;
--altgrey: #222A2E;
--grey: #222A2E;
--darkgrey: #cccccc;
--lightblack: #cccccc;
--black: #ffffff;
--green: #0b6e3e;
--online: var(--yakyakgreen);
--darkgreen: #0f1316;
--red: #f44336;
--darkred: #ea1c0d;
--link: #F9C15C;
--tweetbg: #644104;
--instagrambg: #333940;

.listhead,
.listhead button,
.convhead .name,
.controls .button,
.convhead .headwrap .optionwrapper > .button,
.convadd .button{
color: var(--black);
}

.convhead .win-buttons button{
background-color: var(--black);
}
}

&.material{
--white: #202B31;
--ghostwhite: #2d3d46;
Expand Down
6 changes: 6 additions & 0 deletions src/ui/views/menu.coffee
Expand Up @@ -279,6 +279,12 @@ templateView = (viewstate) ->
checked: viewstate.colorScheme == 'dark'
click: -> action 'changetheme', 'dark'
}
{
label: i18n.__('menu.view.color_scheme.darker:Darker')
type: 'radio'
checked: viewstate.colorScheme == 'darker'
click: -> action 'changetheme', 'darker'
}
{
label: i18n.__('menu.view.color_scheme.material:Material')
type: 'radio'
Expand Down

0 comments on commit a5f3764

Please sign in to comment.