Skip to content

Commit

Permalink
chore: account for var()
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsMeBrianD committed Jan 29, 2025
1 parent f08b5d6 commit 3e7da29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
role="tooltip"
>
<slot name="handle">
<Icon src={icon} class="w-{size} h-{size} text-[--textColor]" />
<Icon src={icon} class="w-{size} h-{size} text-[var(--textColor)]" />
</slot>
</span>
<div slot="content" class="bg-base-100 p-2 rounded-md text-base-content text-xs max-w-52">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
const classes = {
notActive: `border-b border-base-100 text-base-content-muted hover:text-base-content hover:border-base-300`,
active: `border-b-2 border-[--activeColor] -mb-px text-[--activeColor] ${background ? 'bg-[--bgColor]' : ''}`
active: `border-b-2 border-[var(--activeColor)] -mb-px text-[var(--activeColor)] ${background ? 'bg-[var(--bgColor)]' : ''}`
};
</script>

Expand Down

0 comments on commit 3e7da29

Please sign in to comment.