refactor: replacing hardcoded style for existing variable (#525)
This commit is contained in:
parent
c6f27526ec
commit
77391ed9ac
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ const { badge, url, label } = Astro.props;
|
||||||
{ badge !== undefined && badge !== null && badge !== '' &&
|
{ badge !== undefined && badge !== null && badge !== '' &&
|
||||||
<div class="transition px-2 h-7 ml-4 min-w-[2rem] rounded-lg text-sm font-bold
|
<div class="transition px-2 h-7 ml-4 min-w-[2rem] rounded-lg text-sm font-bold
|
||||||
text-[var(--btn-content)] dark:text-[var(--deep-text)]
|
text-[var(--btn-content)] dark:text-[var(--deep-text)]
|
||||||
bg-[oklch(0.95_0.025_var(--hue))] dark:bg-[var(--primary)]
|
bg-[var(--btn-regular-bg)] dark:bg-[var(--primary)]
|
||||||
flex items-center justify-center">
|
flex items-center justify-center">
|
||||||
{ badge }
|
{ badge }
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue