Add Canonical badge for canonical branch

This commit is contained in:
Sebastian Martinez
2024-03-21 13:37:20 +01:00
parent 893af0c4b7
commit d401819d2e
4 changed files with 23 additions and 6 deletions
+6
View File
@@ -9,6 +9,7 @@
| "negative"
| "positive"
| "primary"
| "foreground-emphasized"
| "delegate"
| "secondary";
export let round: boolean = false;
@@ -39,6 +40,10 @@
color: var(--color-foreground-match-background);
background: var(--color-fill-gray);
}
.foreground-emphasized {
background-color: var(--color-fill-counter-emphasized);
color: var(--color-foreground-emphasized);
}
.delegate {
color: var(--color-foreground-primary);
background: var(--color-fill-delegate);
@@ -119,6 +124,7 @@
class:yellow={variant === "yellow"}
class:delegate={variant === "delegate"}
class:outline={variant === "outline"}
class:foreground-emphasized={variant === "foreground-emphasized"}
class:background={variant === "background"}
class:foreground={variant === "foreground"}
class:neutral={variant === "neutral"}