@bi-digital/css 0.11.1 → 0.11.3

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.
@@ -112,7 +112,7 @@
112
112
  }
113
113
  }
114
114
 
115
- .bi-dialog > button[command="close"]:first-child {
115
+ .bi-dialog > button.bi-dialog--close {
116
116
  top: var(--bic-dialog-icon-spacing);
117
117
  right: var(--bic-dialog-icon-spacing);
118
118
  position: absolute;
@@ -127,7 +127,7 @@
127
127
  display: flex;
128
128
  }
129
129
 
130
- .bi-dialog:has( > button[command="close"]:first-child) .bi-dialog--header {
130
+ .bi-dialog:has( > button.bi-dialog--close) .bi-dialog--header {
131
131
  padding-right: var(--bi-scale-14x);
132
132
  }
133
133
 
@@ -10,6 +10,7 @@
10
10
  }
11
11
 
12
12
  .bi-tabs[data-dark="true"] {
13
+ --bic-tabs-tab-color: var(--bi-neutral-5);
13
14
  --bic-tabs-tab-color-selected: var(--bi-primary-30);
14
15
  --bic-tabs-tab-background-hover: var(--bi-states-hover-light);
15
16
  --bic-tabs-tab-background-press: var(--bi-states-press-light);
@@ -125,6 +126,7 @@
125
126
 
126
127
  .bi-tabs :is([role="tabpanel"], ds-tabpanel) {
127
128
  padding: var(--bic-tabs-panel-padding);
129
+ color: var(--bic-tabs-tab-color);
128
130
  outline: none;
129
131
  flex-grow: 1;
130
132
  }
@@ -1341,7 +1341,7 @@ details.bi-details > *:not(summary) + * {
1341
1341
  }
1342
1342
  }
1343
1343
 
1344
- .bi-dialog > button[command="close"]:first-child {
1344
+ .bi-dialog > button.bi-dialog--close {
1345
1345
  top: var(--bic-dialog-icon-spacing);
1346
1346
  right: var(--bic-dialog-icon-spacing);
1347
1347
  position: absolute;
@@ -1356,7 +1356,7 @@ details.bi-details > *:not(summary) + * {
1356
1356
  display: flex;
1357
1357
  }
1358
1358
 
1359
- .bi-dialog:has( > button[command="close"]:first-child) .bi-dialog--header {
1359
+ .bi-dialog:has( > button.bi-dialog--close) .bi-dialog--header {
1360
1360
  padding-right: var(--bi-scale-14x);
1361
1361
  }
1362
1362
 
@@ -2780,6 +2780,7 @@ svg[data-color="white"] {
2780
2780
  }
2781
2781
 
2782
2782
  .bi-tabs[data-dark="true"] {
2783
+ --bic-tabs-tab-color: var(--bi-neutral-5);
2783
2784
  --bic-tabs-tab-color-selected: var(--bi-primary-30);
2784
2785
  --bic-tabs-tab-background-hover: var(--bi-states-hover-light);
2785
2786
  --bic-tabs-tab-background-press: var(--bi-states-press-light);
@@ -2895,6 +2896,7 @@ svg[data-color="white"] {
2895
2896
 
2896
2897
  .bi-tabs :is([role="tabpanel"], ds-tabpanel) {
2897
2898
  padding: var(--bic-tabs-panel-padding);
2899
+ color: var(--bic-tabs-tab-color);
2898
2900
  outline: none;
2899
2901
  flex-grow: 1;
2900
2902
  }
@@ -1567,7 +1567,7 @@ details.bi-details > *:not(summary) + * {
1567
1567
  }
1568
1568
  }
1569
1569
 
1570
- .bi-dialog > button[command="close"]:first-child {
1570
+ .bi-dialog > button.bi-dialog--close {
1571
1571
  top: var(--bic-dialog-icon-spacing);
1572
1572
  right: var(--bic-dialog-icon-spacing);
1573
1573
  position: absolute;
@@ -1582,7 +1582,7 @@ details.bi-details > *:not(summary) + * {
1582
1582
  display: flex;
1583
1583
  }
1584
1584
 
1585
- .bi-dialog:has( > button[command="close"]:first-child) .bi-dialog--header {
1585
+ .bi-dialog:has( > button.bi-dialog--close) .bi-dialog--header {
1586
1586
  padding-right: var(--bi-scale-14x);
1587
1587
  }
1588
1588
 
@@ -3006,6 +3006,7 @@ svg[data-color="white"] {
3006
3006
  }
3007
3007
 
3008
3008
  .bi-tabs[data-dark="true"] {
3009
+ --bic-tabs-tab-color: var(--bi-neutral-5);
3009
3010
  --bic-tabs-tab-color-selected: var(--bi-primary-30);
3010
3011
  --bic-tabs-tab-background-hover: var(--bi-states-hover-light);
3011
3012
  --bic-tabs-tab-background-press: var(--bi-states-press-light);
@@ -3121,6 +3122,7 @@ svg[data-color="white"] {
3121
3122
 
3122
3123
  .bi-tabs :is([role="tabpanel"], ds-tabpanel) {
3123
3124
  padding: var(--bic-tabs-panel-padding);
3125
+ color: var(--bic-tabs-tab-color);
3124
3126
  outline: none;
3125
3127
  flex-grow: 1;
3126
3128
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bi-digital/css",
3
3
  "type": "module",
4
- "version": "0.11.1",
4
+ "version": "0.11.3",
5
5
  "description": "CSS for the BI Design System",
6
6
  "author": "BI Digital",
7
7
  "homepage": "https://designsystem.bi.no/",
@@ -30,7 +30,7 @@
30
30
  "browserslist": "^4.28.1",
31
31
  "lightningcss": "^1.32.0",
32
32
  "modern-normalize": "^3.0.1",
33
- "@bi-digital/tokens": "0.11.1"
33
+ "@bi-digital/tokens": "0.11.3"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "node config.js",