feat: add card color
This commit is contained in:
parent
abe3cea2cd
commit
9e104446ef
1 changed files with 9 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ const props = withDefaults(
|
|||
branch: {
|
||||
count: number;
|
||||
label: string;
|
||||
color?: 'pink' | 'purple';
|
||||
color?: 'pink' | 'purple' | 'green';
|
||||
}[];
|
||||
dark?: boolean;
|
||||
isBranch?: boolean;
|
||||
|
|
@ -83,7 +83,15 @@ svg {
|
|||
--_color: var(--pink-6);
|
||||
}
|
||||
|
||||
.stat__green {
|
||||
--_color: var(--teal-10);
|
||||
}
|
||||
|
||||
.dark .stat__purple {
|
||||
--_color: var(--purple-8);
|
||||
}
|
||||
|
||||
.dark .stat__green {
|
||||
--_color: var(--teal-8);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue