Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
allenfrostline committed Nov 17, 2020
1 parent 7ab9cd9 commit fd3451d
Show file tree
Hide file tree
Showing 8 changed files with 153 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/configuration-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export class ConfigurationComponent {
<option value="dark-blue">Dark Blue</option>
<option value="photon-dark">Photon Dark</option>
<option value="boxy-light">Boxy Light</option>
<option value="nella-red">Nella Red</option>
</select>
<h3 id="heading-enable">Enable Utterances</h3>
Expand Down
85 changes: 85 additions & 0 deletions src/stylesheets/themes/nella-red/button.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
.btn-primary {
display: inline-block;
padding: 5px 8px;
background: $red-normal;
border-bottom: 4px solid $red-dark;
border-right: 4px solid $red-dark;
border-top-right-radius: 5px;
border-bottom-left-radius: 5px;
border-top-left-radius: 5px;
border-bottom-right-radius: 5px;
font-weight: 600;
font-size: 16px;
position: relative;
height: 34px;
line-height: 20px;
outline-width: 0px;
vertical-align: middle;
color: $white;
}

.btn-primary:hover {
display: inline-block;
padding: 5px 8px;
background: $red-light;
border-bottom: 4px solid $red-dark;
border-right: 4px solid $red-dark;
border-top-right-radius: 5px;
border-bottom-left-radius: 5px;
border-top-left-radius: 5px;
border-bottom-right-radius: 5px;
font-weight: 600;
font-size: 16px;
position: relative;
height: 34px;
line-height: 20px;
outline-width: 0px;
vertical-align: middle;
color: $white;
}

.btn-primary:active {
display: inline-block;
padding: 5px 8px;
background: $red-dark2;
border-bottom: 4px solid $red-dark;
border-right: 4px solid $red-dark;
border-top-right-radius: 5px;
border-bottom-left-radius: 5px;
border-top-left-radius: 5px;
border-bottom-right-radius: 5px;
font-weight: 600;
font-size: 16px;
position: relative;
height: 34px;
line-height: 20px;
outline-width: 0px;
vertical-align: middle;
color: $white;
}

.btn-primary:disabled {
background: $red-normal;
opacity: 0.4;
}

.btn-outline {
color: $gray-dark;
background: none;
line-height: 24px;
vertical-align: middle;
border-width: 0px;
}

.btn-outline:hover {
color: $white;
background-color: $red-normal;
transform: none;
border-width: 0px;
}

.btn-outline:disabled {
color: $gray-dark;
background: none;
border-width: 0px;
}
4 changes: 4 additions & 0 deletions src/stylesheets/themes/nella-red/font.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
body, .markdown-body, .textarea {
font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Source Han Sans CN', 'Source Han Serif', 'Songti SC', serif;
font-size: 16px!important;
}
4 changes: 4 additions & 0 deletions src/stylesheets/themes/nella-red/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";
33 changes: 33 additions & 0 deletions src/stylesheets/themes/nella-red/misc.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.timeline summary:hover {
color: $red-light;
}

.timeline a {
text-decoration: none;
}

.markdown-body a {
color: $red-light;
}

.timeline-comment button {
font-size: 14px;
}

.timeline-comment textarea {
font-size: 16px;
line-height: 24px;
}

.comment-footer {
border: 1px solid $gray!important;
line-height: 25px;
}

.timeline-header em {
display: none;
}

.timeline-header .text-link {
font-style: italic;
}
1 change: 1 addition & 0 deletions src/stylesheets/themes/nella-red/syntax.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "github-syntax-light/lib/github-light";
6 changes: 6 additions & 0 deletions src/stylesheets/themes/nella-red/utterances.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@import "./variables";
@import "../../utterances";
@import "./syntax";
@import "./button.scss";
@import "./font.scss";
@import "./misc.scss"
19 changes: 19 additions & 0 deletions src/stylesheets/themes/nella-red/variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$white: #ffffff;
$black: #000000;
$gray: #eeeeee;
$gray-dark: #999999;
$red-dark: #5E0001;
$red-dark2: #940002;
$red-normal: #B40203;
$red-light: #C80004;

$bg-white: $white;
$bg-gray: $white;
$bg-gray-light: $white;
$border-gray: $gray;
$border-gray-dark: $gray;
$text-gray: $black;
$text-gray-dark: $black;
$button-normal: $red-normal;
$button-hover: $red-light;
$button-pressed: $red-dark;

0 comments on commit fd3451d

Please sign in to comment.