Custom global/severity colors
Feature request after meeting with Enova about the possibility for defining the base color used for global colors.
This is due to need for global/system colors to resonate better with brand colors and their ui as a whole.
They are override this today by adding "global colors" in the main/support set and manually copying the json color scale and overwriting global colors.
//Designsystemet // Enova
blue: '#0A71C0', // '#3c7c97'
green: '#068718', // '#267352'
orange: '#EA9B1B', // '#fbde51'
purple: '#663299', // '#8156ab'
red: '#C01B1B', // '#ac3d3a'
This could be an advanced feature we support only via the config file.
ieg.
"digdir": {
"colors": {
"main": {
"accent": "#0062BA"
},
"support": {
"brand1": "#F45F63",
"brand2": "#E5AA20",
"brand3": "#1E98F5"
},
"neutral": "#1E2B3C",
"global": {
"blue": "#3c7c97",
"green": "#267352",
"orange": "#fbde51",
"purple": "#8156ab",
"red": "#ac3d3a"
}
}
},
We had a presentation at an IxDA meetup today where people were asking for this feature.
We should check if this is a breaking change.
2025.08.28 Try with only config file to begin with. We should do #3718 first