mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-08 21:20:45 +08:00
Add Canonical badge for canonical branch
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user