mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 21:33:40 +08:00
Merge pull request #1194 from SeerLite/timer-color-main
Make default timer color "main" and full opacity
This commit is contained in:
commit
c978e9db1f
2 changed files with 9 additions and 9 deletions
|
@ -77,11 +77,11 @@ let defaultConfig = {
|
|||
savedLayout: "default",
|
||||
confidenceMode: "off",
|
||||
indicateTypos: false,
|
||||
timerStyle: "text",
|
||||
timerStyle: "mini",
|
||||
colorfulMode: false,
|
||||
randomTheme: "off",
|
||||
timerColor: "black",
|
||||
timerOpacity: "0.25",
|
||||
timerColor: "main",
|
||||
timerOpacity: "1",
|
||||
stopOnError: "off",
|
||||
showAllLines: false,
|
||||
keymapMode: "off",
|
||||
|
@ -842,7 +842,7 @@ export function toggleHideExtraLetters() {
|
|||
|
||||
export function setTimerStyle(style, nosave) {
|
||||
if (style == null || style == undefined) {
|
||||
style = "bar";
|
||||
style = "mini";
|
||||
}
|
||||
config.timerStyle = style;
|
||||
if (!nosave) saveToCookie();
|
||||
|
@ -1375,7 +1375,7 @@ export function setCustomBackground(value, nosave) {
|
|||
}
|
||||
|
||||
export function setCustomBackgroundSize(value, nosave) {
|
||||
if (value != "cover" && value != "contain" && value!= "max") {
|
||||
if (value != "cover" && value != "contain" && value != "max") {
|
||||
value = "cover";
|
||||
}
|
||||
config.customBackgroundSize = value;
|
||||
|
|
|
@ -900,7 +900,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="timerWrapper">
|
||||
<div id="timer"></div>
|
||||
<div id="timer" class="timerMain"></div>
|
||||
</div>
|
||||
<div style="display: flex; justify-content: space-around">
|
||||
<div id="nitropay_ad_left" class="hidden"></div>
|
||||
|
@ -1092,10 +1092,10 @@
|
|||
<div id="caret" class="default size15"></div>
|
||||
<div id="paceCaret" class="default size15 hidden"></div>
|
||||
<input id="wordsInput" class="" tabindex="0" autocomplete="off" />
|
||||
<div id="timerNumber">
|
||||
<div id="timerNumber" class="timerMain">
|
||||
<div>60</div>
|
||||
</div>
|
||||
<div id="miniTimerAndLiveWpm">
|
||||
<div id="miniTimerAndLiveWpm" class="timerMain size15">
|
||||
<div class="time hidden">1:00</div>
|
||||
<div class="wpm">60</div>
|
||||
<div class="acc">100%</div>
|
||||
|
@ -1281,7 +1281,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="largeLiveWpmAndAcc">
|
||||
<div id="largeLiveWpmAndAcc" class="timerMain">
|
||||
<div id="liveWpm" class="hidden">123</div>
|
||||
<div id="liveAcc" class="hidden">100%%</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue