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

added Night theme, red tones for night reading. #116

Open
wants to merge 1 commit 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src-content/themes/_night.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#__stutter.theme-night {
--barBG: #000;
--barBorder: #f00;
--progressColor: #000;
--textColor: #f00;
--textHighlight: #fff;
--buttonColor: #f00;
--pausedTextColor: rgba(255, 0, 0, 0.5);
--bgScreen: rgba(0, 0, 0, 0.9);
}
1 change: 1 addition & 0 deletions src-content/themes/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
@import "hacktoberfest";
@import "solarized";
@import "nord";
@import "night";
3 changes: 2 additions & 1 deletion src-options/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ <h1>Stutter Configuration</h1>
<option value="hacktoberfest">Hacktoberfest</option>
<option value="solarized">Solarized</option>
<option value="nord">Nord</option>
<option value="night">Night</option>
</select>
</label>

Expand Down Expand Up @@ -75,7 +76,7 @@ <h1>Stutter Configuration</h1>
</label>

<p class="keybind-label">Keybindings</p>
<p>To change a binding click on a row below, press the key combination you prefer, then save.</p>
<p>To change a binding click on a row below, press the key combination you prefer, then <button class="submit" type="submit">Save</button>.</p>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the "Save" button here too cos it scrolls off the screen and I forget to click it to make the changes stick.

<div class="keybind" id="keybindPause">
<span class="attribute">Pause</span>
<div>
Expand Down
3 changes: 3 additions & 0 deletions src-options/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ body {
input {
width: 100px;
text-align: center;
font-size: 1em;
}
}

Expand Down Expand Up @@ -81,6 +82,7 @@ body {
background-color: #ffeeab;
border-style: solid;
outline: 1px solid gray;
font-size: 1em;
}
}
}
Expand All @@ -98,6 +100,7 @@ body {
width: 100px;
text-align: center;
pointer-events: none;
font-size: 1em;
}
}
}
Expand Down