Skip to main content

10 posts tagged with "Theme"

View All Tags

CSS Specificity, Next Experience (Polaris) Themes Part 9

· 4 min read
Eric Riemer
ServiceNow Wizard

This is Part 9. You should start with Part 1.

CSS Specificity

I read a lot... and some of what I read is very random, and sometimes that comes in handy. One of the RSS feeds I subscribe to recently had an article on CSS Cascade Layers Vs. BEM Vs. Utility Classes: Specificity Control. Reading it gave me some nicely grounded insight into some things I had sorta figured out but didn't have names for. You dont need to go and read it unless you want a better understanding of how CSS specificity works and different ways of dealing with it (without resorting to just adding !important everywhere).

What does this have to do with ServiceNow theming? Read on and find out...

Color generation, Next Experience (Polaris) Themes Part 3

· 7 min read
Eric Riemer
ServiceNow Wizard

This is Part 3. You should start with Part 1.

How do the 'Base' colors get expanded?

In Part 1 I mentioned that theme JSON has 2 parts, Base and Properties, and that for some elements defined in Base they get expanded into some number of variations on that color.

How does that work? Which things can even be defined that way? Is there any way to know what --now-color--primary-2 will look like if I have defined --now-color--primary?

All about Next Experience (Polaris) Themes Part 1

· 7 min read
Eric Riemer
ServiceNow Wizard

Next Experience Theming

When the new Next Experience UI came out with San Diego, everything about how to theme an instance changed. I have always liked making my instances look like "mine" or the company I worked for, so I was very interested in seeing what I could do with the new UI. This article is going to be the first in a series where I try to document all the things I know or have figured out about how to theme ServiceNow.