Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark purple theme for utterances #441

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions SITES.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,4 @@
* [tommi.space](https://tommi.space)
* [devliusir.github.io](https://devliusir.github.io)
* [爱前端](https://ifront.net)
* [Vatsadev.github.io](https://Vatsadev.github.io)
10 changes: 10 additions & 0 deletions src/stylesheets/themes/purple-dark/colors.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#121212
#1e1e1e
#222222
#242424
#272727
#2c2c2c
#2e2e2e
#333333
#343434
#383838
22 changes: 22 additions & 0 deletions src/stylesheets/themes/purple-dark/src/button.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.btn-primary {
background: $button-normal;
border: 0;
color: $text-gray;
}

.btn-primary:hover {
background: $button-hover;
}

.btn-primary:active {
background: $button-pressed;
}

.btn-primary:focus {
box-shadow: 0 0 0 1px #a30dc9c7 inset, 0 0 0 1px #ba0aff, 0 0 0 4px rgba(165, 10, 255, 0.3)
}

.btn-primary:disabled {
background: $button-normal;
opacity: 0.4;
}
4 changes: 4 additions & 0 deletions src/stylesheets/themes/purple-dark/src/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@import "./variables";
@import "../../index";
@import "./syntax";
@import "./button.scss";
1 change: 1 addition & 0 deletions src/stylesheets/themes/purple-dark/src/syntax.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "github-syntax-dark/lib/github-dark";
4 changes: 4 additions & 0 deletions src/stylesheets/themes/purple-dark/src/utterances.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@import "./variables";
@import "../../utterances";
@import "./syntax";
@import "./button.scss";
22 changes: 22 additions & 0 deletions src/stylesheets/themes/purple-dark/src/variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*set all to material design nums and add minimal purple*/
$gray-000: #141314;
$gray-100: #201d20;
$gray-200: #252225;
$gray-300: #231f25;
$gray-400: #262427;
$gray-600: #2d282e;
$gray-700: #2f2a31;
$bg-white: darken($gray-200, 3%);
$bg-gray: $gray-200;
$bg-gray-light: darken($bg-gray, 5%);
$border-gray: $gray-300;
$border-gray-dark: $border-gray;
$text-gray: #cac4c4;
$text-gray-dark: #c2bcbc;
$text-purple: #ac55d4;
$bg-purple-light: #2d1830;
$black-fade-15: rgba(#fff, 0.15);
$black-fade-30: rgba(#fff, 0.3);
$button-normal: #aa4bc2;
$button-hover: #c149cc;
$button-pressed: #bd51c7;