Skip to content

Safelist in V4 #15291

Answered by wongjn
SalarHoushvand asked this question in Help
Dec 3, 2024 · 19 comments · 25 replies

You must be logged in to vote

You could consider using the style attribute like:

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

Or

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

Etc

Replies: 19 comments 25 replies

You must be logged in to vote
2 replies
@maheshBawa

@rozsazoltan

Answer selected by SalarHoushvand

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@SalarHoushvand

You must be logged in to vote
1 reply
@cesswhite

You must be logged in to vote
0 replies

You must be logged in to vote
3 replies
@mbrowne

@BeardedGinger

@mbrowne

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@pyarun

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
2 replies
@wongjn

wongjn Mar 16, 2025
Collaborator

@damiandominella

You must be logged in to vote
3 replies
@wongjn

wongjn Mar 20, 2025
Collaborator

@dizzyjaguar

@FalkoJoseph

You must be logged in to vote
2 replies
@wongjn

wongjn Apr 6, 2025
Collaborator

@FalkoJoseph

You must be logged in to vote
0 replies

You must be logged in to vote
5 replies
@wongjn

wongjn Apr 15, 2025
Collaborator

@m-shum

@wongjn

wongjn Apr 15, 2025
Collaborator

@m-shum

@RobinMalfait

You must be logged in to vote
1 reply
@rozsazoltan

You must be logged in to vote
0 replies

You must be logged in to vote
4 replies
@rozsazoltan

@asolopovas

@RobinMalfait

@rozsazoltan

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