I am using Helium theme.
For a particular Token List component in my screen, I would like to change the label background to red. I do not however want this to affect the color of other Token Lists.
Thank you Natalia.
I used the following code that works:
<tokenList id="alertsList"
dataContainer="patientDc"
property="alerts"
width="800px" editable="false" inline="true" stylename="rg-style">
<lookup optionsContainer="allAlertsDc"/>
</tokenList>
After extending Helium theme, I added the following statements in helium-ext.scss:
.rg-style {
.c-tokenlist-label {
background-color: red;
}
}
1 Like