- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 06:19 PM
Hello,
I am trying something in field style and encountered this structure:
background-color:RGB(var(--now-color_alert--positive-2, 37, 131, 43));
It seems that it just works by inserting the color rgb to the value, for example:
background-color:RGB(var(--now-color_alert--positive-50, 50, 205, 50));
I just repeat the first value to get the four value set.
My question is what is this part really "--now-color_alert--positive-50" and am I doing it right?
And about the other format for field styles. what is the ideal format between the 3:
1. background-color:Aqua
2. background-color: #00FFFF
3. background-color: RGB(var(--now-color_alert--info-0, 0, 255, 255))
Regards,
Vaine
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 09:58 PM
This is the new format for styling colors in the Next Experience UI. Please check the following articles (and it's follow-ups) for more information: https://www.servicenow.com/community/next-experience-articles/all-about-next-experience-polaris-them...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 09:58 PM
This is the new format for styling colors in the Next Experience UI. Please check the following articles (and it's follow-ups) for more information: https://www.servicenow.com/community/next-experience-articles/all-about-next-experience-polaris-them...