Switch Seed and Clone buttons

This commit is contained in:
dnlklmn
2024-02-14 18:22:50 +00:00
committed by Rūdolfs Ošiņš
parent 51efbc93d7
commit d883a0f3dd
8 changed files with 25 additions and 20 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
</style>
<Popover popoverPositionTop="2.5rem" popoverPositionRight="0">
<Button slot="toggle" let:toggle on:click={toggle} variant="secondary">
<Button slot="toggle" let:toggle on:click={toggle} variant="outline">
Clone
<Icon name="download" />
</Button>
+8 -2
View File
@@ -33,14 +33,19 @@
.counter {
font-weight: var(--font-weight-regular);
border-radius: var(--border-radius-tiny);
background-color: var(--color-fill-ghost);
color: var(--color-foreground-dim);
background-color: var(--color-fill-secondary-counter);
border: 1px solid var(--color-border-secondary-counter);
color: var(--color-foreground-match-background);
padding: 0 0.25rem;
}
.seeding {
background-color: var(--color-fill-counter-emphasized);
color: var(--color-foreground-emphasized);
}
.disabled {
background-color: var(--color-fill-ghost-hover);
color: var(--color-foreground-dim);
}
</style>
<Popover popoverPositionTop="2.5rem" popoverPositionRight="0">
@@ -62,6 +67,7 @@
<span
class="counter"
class:seeding
class:disabled
style:font-weight="var(--font-weight-regular)">
{seedCount}
</span>