@navikt/ds-css 2.8.4 → 2.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  .navds-error-summary__list > * {
26
- color: var(--a-blue-500);
26
+ color: var(--ac-error-summary-list-dot, var(--a-text-action));
27
27
  }
28
28
 
29
29
  .navds-error-summary--small > .navds-error-summary__list {
package/form/select.css CHANGED
@@ -3,6 +3,7 @@
3
3
  background-color: var(--ac-select-bg, var(--a-surface-default));
4
4
  border-radius: var(--a-border-radius-medium);
5
5
  border: 1px solid var(--ac-select-border, var(--a-border-default));
6
+ color: var(--ac-select-text, var(--a-text-default));
6
7
  width: 100%;
7
8
  box-sizing: border-box;
8
9
  min-height: 48px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-css",
3
- "version": "2.8.4",
3
+ "version": "2.8.6",
4
4
  "description": "CSS for NAV Designsystem",
5
5
  "author": "Aksel | NAV designsystem team",
6
6
  "keywords": [
@@ -20,7 +20,7 @@
20
20
  "watch": "postcss --watch --use postcss-import -o dist/index.css index.css"
21
21
  },
22
22
  "devDependencies": {
23
- "@navikt/ds-tokens": "^2.8.4",
23
+ "@navikt/ds-tokens": "^2.8.6",
24
24
  "normalize.css": "^8.0.1",
25
25
  "postcss": "^8.4.0",
26
26
  "postcss-cli": "^9.0.0",
package/tokens.json CHANGED
@@ -2,18 +2,26 @@
2
2
  "alert": {
3
3
  "--ac-alert-error-border": "--a-border-danger",
4
4
  "--ac-alert-error-bg": "--a-surface-danger-subtle",
5
+ "--ac-alert-icon-error-color": "--a-icon-danger",
5
6
  "--ac-alert-warning-border": "--a-border-warning",
6
7
  "--ac-alert-warning-bg": "--a-surface-warning-subtle",
8
+ "--ac-alert-icon-warning-color": "--a-icon-warning",
7
9
  "--ac-alert-info-border": "--a-border-info",
8
10
  "--ac-alert-info-bg": "--a-surface-info-subtle",
11
+ "--ac-alert-icon-info-color": "--a-icon-info",
9
12
  "--ac-alert-success-border": "--a-border-success",
10
- "--ac-alert-success-bg": "--a-surface-success-subtle"
13
+ "--ac-alert-success-bg": "--a-surface-success-subtle",
14
+ "--ac-alert-icon-success-color": "--a-icon-success"
11
15
  },
12
16
  "accordion": {
17
+ "--ac-accordion-header-bg": "--ac-surface-transparent",
18
+ "--ac-accordion-header-bg-hover": "--ac-surface-transparent",
13
19
  "--ac-accordion-header-border": "--a-border-divider",
14
20
  "--ac-accordion-header-text-hover": "--a-text-action-on-action-subtle",
15
21
  "--ac-accordion-header-border-hover": "--a-border-default",
16
22
  "--ac-accordion-item-bg-open": "--a-surface-action-subtle",
23
+ "--ac-accordion-header-bg-open": "--ac-accordion-item-bg-open",
24
+ "--ac-accordion-header-bg-open-hover": "--a-surface-action-subtle",
17
25
  "--ac-accordion-item-border-open": "--a-surface-action-subtle",
18
26
  "--ac-accordion-content-border": "--a-border-divider",
19
27
  "--ac-accordion-content-border-open": "--a-border-default"
@@ -76,6 +84,7 @@
76
84
  "chips": {
77
85
  "--ac-chip-toggle-border": "--a-border-default",
78
86
  "--ac-chip-toggle-bg": "--a-surface-neutral-subtle",
87
+ "--ac-chip-toggle-text": "--a-text-default",
79
88
  "--ac-chip-toggle-hover-border": "--a-border-strong",
80
89
  "--ac-chip-toggle-hover-bg": "--a-surface-neutral-subtle-hover",
81
90
  "--ac-chip-toggle-pressed-bg": "--a-surface-action-selected",
@@ -292,7 +301,8 @@
292
301
  },
293
302
  "errorsummary": {
294
303
  "--ac-error-summary-bg": "--a-surface-default",
295
- "--ac-error-summary-border": "--a-border-danger"
304
+ "--ac-error-summary-border": "--a-border-danger",
305
+ "--ac-error-summary-list-dot": "--a-text-action"
296
306
  },
297
307
  "checkbox-radio": {
298
308
  "--ac-radio-checkbox-bg": "--a-surface-default",
@@ -312,6 +322,7 @@
312
322
  },
313
323
  "select": {
314
324
  "--ac-select-bg": "--a-surface-default",
325
+ "--ac-select-text": "--a-text-default",
315
326
  "--ac-select-border": "--a-border-default",
316
327
  "--ac-select-hover-bg": "--a-border-action",
317
328
  "--ac-select-error-border": "--a-surface-danger"