Skip to content

Commit

Permalink
closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
willpinha committed Feb 14, 2024
1 parent 859a6be commit a4ac9e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/components/Navbar.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<script lang="ts">
import { chroma, copied } from "../stores";
const max = 0.35;
const increment = 0.05;
const min = 0.02;
const max = 0.36;
const increment = 0.02;
$: {
if ($chroma < 0) {
if ($chroma < min) {
$chroma += increment;
}
Expand Down
1 change: 0 additions & 1 deletion src/stores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ import { writable } from "svelte/store";
export const chroma = writable(0.2);

export const copied = writable(false);

0 comments on commit a4ac9e0

Please sign in to comment.