${this.timerState.phase}
@@ -135,6 +144,6 @@ export class ActiveTimer extends LitElement {diff --git a/index.html b/index.html index 503d5ea..1bceebe 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ - + diff --git a/public/manifest.json b/public/manifest.json index 928e4d4..2eab0b7 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -5,10 +5,10 @@ "display": "standalone", "start_url": "/", "short_name": "Trainterval", - "theme_color": "#181818", + "theme_color": "#000000", "description": "An interval timer", "orientation": "any", - "background_color": "#181818", + "background_color": "#000000", "related_applications": [], "prefer_related_applications": false, "screenshots": [ diff --git a/src/script/components/active-timer.ts b/src/script/components/active-timer.ts index e657b32..a9dec46 100644 --- a/src/script/components/active-timer.ts +++ b/src/script/components/active-timer.ts @@ -14,6 +14,12 @@ export class ActiveTimer extends LitElement { user-select: none; } + .timer-wrapper { + padding: 10px; + box-sizing: border-box; + height: 100%; + } + .timer { display: flex; flex-direction: column; @@ -21,7 +27,9 @@ export class ActiveTimer extends LitElement { justify-content: space-between; transition: all 0.25s ease; padding: 1em; - box-sizing: border-box + box-sizing: border-box; + border-radius: 1em; + background-color: var(--timer-background-default); } .main { @@ -114,6 +122,7 @@ export class ActiveTimer extends LitElement { render() { if (!this.timerState) return; return html` +
${this.timerState.phase}
@@ -135,6 +144,6 @@ export class ActiveTimer extends LitElement {