Skip to content

Safelist in V4 #15291

Answered by wongjn
SalarHoushvand asked this question in Help
Dec 3, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

You could consider using the style attribute like:

<div style="color: var(--color-{{ $color }})">

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@maheshBawa
Comment options

Answer selected by SalarHoushvand
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SalarHoushvand
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
5 participants