fix: theme switcher current colors (#198)
* fix border color * match bg color closer to border * fix tooltip bg color
This commit is contained in:
parent
3778a51feb
commit
c38624cb50
|
|
@ -98,14 +98,14 @@ watch(radius, (radius) => {
|
|||
class="flex h-9 w-9 items-center justify-center rounded-full border-2 border-border text-xs"
|
||||
:class="
|
||||
color === theme
|
||||
? 'border-foreground'
|
||||
? 'border-primary'
|
||||
: 'border-transparent'
|
||||
"
|
||||
@click="setTheme(color)"
|
||||
>
|
||||
<span
|
||||
class="flex h-6 w-6 items-center justify-center rounded-full"
|
||||
:style="{ backgroundColor: colors[color][7].rgb }"
|
||||
:style="{ backgroundColor: colors[color][6].rgb }"
|
||||
>
|
||||
<RadixIconsCheck
|
||||
v-if="color === theme"
|
||||
|
|
@ -117,7 +117,7 @@ watch(radius, (radius) => {
|
|||
<TooltipContent
|
||||
align="center"
|
||||
:side-offset="1"
|
||||
class="capitalize"
|
||||
class="capitalize bg-zinc-900"
|
||||
>
|
||||
{{ allColors[index] }}
|
||||
</TooltipContent>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user