Skip to content

Commit

Permalink
fix: 💄 Make start/stop button more visible on low-contrast themes (Mi…
Browse files Browse the repository at this point in the history
…nimal theme) (issue #67)
  • Loading branch information
mcndt committed Feb 22, 2022
1 parent 9d1f186 commit 70a0bd3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### 🐛 Fixes

- Fix timers having "Unknown project" on opening Obsidian (issue #32)
- Fixed the start/stop button accent color to be more accessible on Minimal Theme (issue #67)

## [0.7.1]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script lang="ts">
import { ApiStatus } from 'lib/toggl/TogglManager';
import { apiStatusStore, togglStore } from 'lib/util/stores';
import { togglStore } from 'lib/util/stores';
export let buttonSize = 36;
Expand Down Expand Up @@ -30,11 +29,11 @@
<style>
.timer-start-button {
--button-fill-outer: var(--interactive-accent);
--button-fill-inner: var(--interactive-normal);
--button-fill-inner: var(--background-primary);
}
.timer-start-button:hover {
--button-fill-outer: var(--interactive-accent-hover);
--button-fill-inner: var(--interactive-hover);
--button-fill-inner: var(--background-secondary);
}
</style>
7 changes: 3 additions & 4 deletions lib/ui/components/current_timer/CurrentTimerStopButton.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script lang="ts">
import { ApiStatus } from 'lib/toggl/TogglManager';
import { apiStatusStore, togglStore } from 'lib/util/stores';
import { togglStore } from 'lib/util/stores';
export let buttonSize = 36;
Expand Down Expand Up @@ -32,11 +31,11 @@
<style>
.timer-stop-button {
--button-fill-outer: var(--interactive-accent);
--button-fill-inner: var(--interactive-normal);
--button-fill-inner: var(--background-primary);
}
.timer-stop-button:hover {
--button-fill-outer: var(--interactive-accent-hover);
--button-fill-inner: var(--interactive-hover);
--button-fill-inner: var(--background-secondary);
}
</style>

0 comments on commit 70a0bd3

Please sign in to comment.