Skip to content

Commit

Permalink
use css var
Browse files Browse the repository at this point in the history
  • Loading branch information
canoypa committed Dec 18, 2023
1 parent 630af78 commit 15d53a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panda.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default defineConfig({

const [color, opacity] = value.split('/')

const colorToken = token.raw(`colors.${color}`)?.value ?? color
const colorToken = token(`colors.${color}`) ?? color
const opacityToken = token.raw(`opacity.${opacity}`)?.value ?? opacity

const colorValue = colorToken
Expand Down

0 comments on commit 15d53a3

Please sign in to comment.