From 9a688ed0ff796c5be03cbc634f3c76bcd9ee20a8 Mon Sep 17 00:00:00 2001 From: Frode Kolstad Date: Fri, 10 Jul 2026 10:03:38 +0200 Subject: [PATCH 1/3] feat(tokens): feedback.foreground.danger lagt til --- tokens/public/theme/dark.json | 4 ++++ tokens/public/theme/light.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tokens/public/theme/dark.json b/tokens/public/theme/dark.json index 187b3e08..8fd730b9 100644 --- a/tokens/public/theme/dark.json +++ b/tokens/public/theme/dark.json @@ -429,6 +429,10 @@ "$type": "color", "$value": "{color-shades.functional.green.300}" }, + "danger": { + "$type": "color", + "$value": "{color-shades.functional.danger.400}" + }, "on-bg": { "subtle": { "neutral": { diff --git a/tokens/public/theme/light.json b/tokens/public/theme/light.json index a1d1368e..f794a5c7 100644 --- a/tokens/public/theme/light.json +++ b/tokens/public/theme/light.json @@ -428,6 +428,10 @@ "$type": "color", "$value": "{color-shades.functional.green.900}" }, + "danger": { + "$type": "color", + "$value": "{color-shades.functional.danger.600}" + }, "on-bg": { "subtle": { "neutral": { From d4dadaa1f380478fd35f3d9f7e3601210fe20b43 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 10 Jul 2026 12:46:44 +0000 Subject: [PATCH 2/3] =?UTF-8?q?(tokens):=20oppdatert=20css=20basert=20p?= =?UTF-8?q?=C3=A5=20nye=20tokens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc-site/.vitepress/theme/styles/nve_theme.css | 2 ++ doc-site/.vitepress/theme/styles/rme_theme.css | 2 ++ doc-site/.vitepress/theme/styles/varsom_theme.css | 2 ++ public/css/nve.css | 1 + public/css/nve_dark.css | 1 + public/css/rme.css | 1 + public/css/rme_dark.css | 1 + public/css/varsom.css | 1 + public/css/varsom_dark.css | 1 + 9 files changed, 12 insertions(+) diff --git a/doc-site/.vitepress/theme/styles/nve_theme.css b/doc-site/.vitepress/theme/styles/nve_theme.css index 97941e18..8bf638ee 100644 --- a/doc-site/.vitepress/theme/styles/nve_theme.css +++ b/doc-site/.vitepress/theme/styles/nve_theme.css @@ -354,6 +354,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-700); --color-feedback-foreground-warning: var(--color-shades-functional-orange-999); --color-feedback-foreground-success: var(--color-shades-functional-green-900); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-600); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-800); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-850); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-850); @@ -1070,6 +1071,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-400); --color-feedback-foreground-warning: var(--color-shades-functional-orange-300); --color-feedback-foreground-success: var(--color-shades-functional-green-300); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-400); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-000); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-050); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-050); diff --git a/doc-site/.vitepress/theme/styles/rme_theme.css b/doc-site/.vitepress/theme/styles/rme_theme.css index c2b2a966..af4235cc 100644 --- a/doc-site/.vitepress/theme/styles/rme_theme.css +++ b/doc-site/.vitepress/theme/styles/rme_theme.css @@ -354,6 +354,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-700); --color-feedback-foreground-warning: var(--color-shades-functional-orange-999); --color-feedback-foreground-success: var(--color-shades-functional-green-900); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-600); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-800); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-850); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-850); @@ -1070,6 +1071,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-400); --color-feedback-foreground-warning: var(--color-shades-functional-orange-300); --color-feedback-foreground-success: var(--color-shades-functional-green-300); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-400); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-000); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-050); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-050); diff --git a/doc-site/.vitepress/theme/styles/varsom_theme.css b/doc-site/.vitepress/theme/styles/varsom_theme.css index 886a245a..ee43a1ab 100644 --- a/doc-site/.vitepress/theme/styles/varsom_theme.css +++ b/doc-site/.vitepress/theme/styles/varsom_theme.css @@ -354,6 +354,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-700); --color-feedback-foreground-warning: var(--color-shades-functional-orange-999); --color-feedback-foreground-success: var(--color-shades-functional-green-900); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-600); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-800); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-850); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-850); @@ -1070,6 +1071,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-400); --color-feedback-foreground-warning: var(--color-shades-functional-orange-300); --color-feedback-foreground-success: var(--color-shades-functional-green-300); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-400); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-000); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-050); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-050); diff --git a/public/css/nve.css b/public/css/nve.css index dad35d92..d35c158c 100644 --- a/public/css/nve.css +++ b/public/css/nve.css @@ -360,6 +360,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-700); --color-feedback-foreground-warning: var(--color-shades-functional-orange-999); --color-feedback-foreground-success: var(--color-shades-functional-green-900); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-600); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-800); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-850); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-850); diff --git a/public/css/nve_dark.css b/public/css/nve_dark.css index 46852c30..526d0e7a 100644 --- a/public/css/nve_dark.css +++ b/public/css/nve_dark.css @@ -360,6 +360,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-400); --color-feedback-foreground-warning: var(--color-shades-functional-orange-300); --color-feedback-foreground-success: var(--color-shades-functional-green-300); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-400); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-000); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-050); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-050); diff --git a/public/css/rme.css b/public/css/rme.css index 57232e91..de00e2e6 100644 --- a/public/css/rme.css +++ b/public/css/rme.css @@ -360,6 +360,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-700); --color-feedback-foreground-warning: var(--color-shades-functional-orange-999); --color-feedback-foreground-success: var(--color-shades-functional-green-900); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-600); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-800); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-850); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-850); diff --git a/public/css/rme_dark.css b/public/css/rme_dark.css index 53f9a4b9..c968e470 100644 --- a/public/css/rme_dark.css +++ b/public/css/rme_dark.css @@ -360,6 +360,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-400); --color-feedback-foreground-warning: var(--color-shades-functional-orange-300); --color-feedback-foreground-success: var(--color-shades-functional-green-300); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-400); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-000); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-050); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-050); diff --git a/public/css/varsom.css b/public/css/varsom.css index 0029b2c4..57b2d052 100644 --- a/public/css/varsom.css +++ b/public/css/varsom.css @@ -360,6 +360,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-700); --color-feedback-foreground-warning: var(--color-shades-functional-orange-999); --color-feedback-foreground-success: var(--color-shades-functional-green-900); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-600); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-800); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-850); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-850); diff --git a/public/css/varsom_dark.css b/public/css/varsom_dark.css index 918dd23d..aee6247f 100644 --- a/public/css/varsom_dark.css +++ b/public/css/varsom_dark.css @@ -360,6 +360,7 @@ --color-feedback-foreground-error: var(--color-shades-functional-red-400); --color-feedback-foreground-warning: var(--color-shades-functional-orange-300); --color-feedback-foreground-success: var(--color-shades-functional-green-300); + --color-feedback-foreground-danger: var(--color-shades-functional-danger-400); --color-feedback-foreground-on-bg-subtle-neutral: var(--color-shades-functional-neutralgrey-000); --color-feedback-foreground-on-bg-subtle-info: var(--color-shades-functional-blue-050); --color-feedback-foreground-on-bg-subtle-error: var(--color-shades-functional-red-050); From 1a1ba172650ea8dd79f0764dfb4c259c9cff2189 Mon Sep 17 00:00:00 2001 From: Frode Kolstad Date: Mon, 13 Jul 2026 08:07:18 +0200 Subject: [PATCH 3/3] fix(tokens): config --- tokens/$themes.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tokens/$themes.json b/tokens/$themes.json index b60777cc..5b4d001d 100644 --- a/tokens/$themes.json +++ b/tokens/$themes.json @@ -1375,9 +1375,6 @@ "color.interactive.foreground.tertiary.disabled": "b190b3da5803b45a821b6b56104d3845149bf3ba", "color.interactive.foreground.danger.enabled": "cba14b847ffe942665ad08945e185ae955e217ed", "color.interactive.foreground.danger.disabled": "7a1cc600bf1c6eaca12e71cc32a6b21ff8c1e2fd", - "color.interactive.foreground.link.enabled": "0bbcbd1a5b8abfb3aec0990b23c02681d7efde64", - "color.interactive.foreground.link.hover": "bc6c0e3e17300a85e87e0cc99477d43cbe8b8ad3", - "color.interactive.foreground.link.visited": "449964460a6f72c71dc25680d2b32cb7799a9f60", "color.interactive.border.primary.enabled": "d87443486bd3dfa8ee9a4cba148914b558b3fd06", "color.interactive.border.primary.hover": "f45f2ad159d3e15ea1bd55889cc5d9ff76d2a044", "color.interactive.border.primary.disabled": "0cb6ca182d903cd6c14a85e3db4e70b6d67b5eb9", @@ -1408,6 +1405,7 @@ "color.feedback.foreground.error": "a623a5594ef3876d6c4b52c3edd44336eb59e766", "color.feedback.foreground.warning": "c1b6a0959bd18ba5e0310e5c8b390815912ea7fc", "color.feedback.foreground.success": "d14977fa6cbbea5dc04424d8eba94a7fc29a4f01", + "color.feedback.foreground.danger": "1724e02e0470fdbdd6d3ad9503c9657508c8d88e", "color.feedback.foreground.on-bg.subtle.neutral": "86f25980c6792971f30785141f359291b41d0438", "color.feedback.foreground.on-bg.subtle.info": "6ece2c05dba7fa313049254d5218e56d396f1ee1", "color.feedback.foreground.on-bg.subtle.error": "d104c1cd9dddf9b87aa459d106b7ebf84bc98e08", @@ -1732,9 +1730,6 @@ "color.interactive.foreground.tertiary.disabled": "b190b3da5803b45a821b6b56104d3845149bf3ba", "color.interactive.foreground.danger.enabled": "cba14b847ffe942665ad08945e185ae955e217ed", "color.interactive.foreground.danger.disabled": "7a1cc600bf1c6eaca12e71cc32a6b21ff8c1e2fd", - "color.interactive.foreground.link.enabled": "0bbcbd1a5b8abfb3aec0990b23c02681d7efde64", - "color.interactive.foreground.link.hover": "bc6c0e3e17300a85e87e0cc99477d43cbe8b8ad3", - "color.interactive.foreground.link.visited": "449964460a6f72c71dc25680d2b32cb7799a9f60", "color.interactive.border.primary.enabled": "d87443486bd3dfa8ee9a4cba148914b558b3fd06", "color.interactive.border.primary.hover": "f45f2ad159d3e15ea1bd55889cc5d9ff76d2a044", "color.interactive.border.primary.disabled": "0cb6ca182d903cd6c14a85e3db4e70b6d67b5eb9", @@ -1765,6 +1760,7 @@ "color.feedback.foreground.error": "a623a5594ef3876d6c4b52c3edd44336eb59e766", "color.feedback.foreground.warning": "c1b6a0959bd18ba5e0310e5c8b390815912ea7fc", "color.feedback.foreground.success": "d14977fa6cbbea5dc04424d8eba94a7fc29a4f01", + "color.feedback.foreground.danger": "1724e02e0470fdbdd6d3ad9503c9657508c8d88e", "color.feedback.foreground.on-bg.subtle.neutral": "86f25980c6792971f30785141f359291b41d0438", "color.feedback.foreground.on-bg.subtle.info": "6ece2c05dba7fa313049254d5218e56d396f1ee1", "color.feedback.foreground.on-bg.subtle.error": "d104c1cd9dddf9b87aa459d106b7ebf84bc98e08",