@oslokommune/punkt-css 11.5.3 → 11.7.0

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.
@@ -6,7 +6,7 @@
6
6
  @forward 'spacing';
7
7
 
8
8
  // Default icon path
9
- $icon-path: 'https://punkt-cdn.oslo.kommune.no/11.5/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/11.7/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -158,6 +158,16 @@ $-skins: (
158
158
  ),
159
159
  );
160
160
 
161
+ .pkt-btn__icon > svg {
162
+ --ring-color: var(--pkt-color-brand-dark-blue-700);
163
+ --spinner-color: var(--pkt-color-brand-blue-1000);
164
+
165
+ [data-mode='dark'] & {
166
+ --ring-color: var(--pkt-color-brand-neutrals-white);
167
+ --spinner-color: var(--pkt-color-brand-dark-blue-1000);
168
+ }
169
+ }
170
+
161
171
  @mixin -print-skin-as-css-vars($name, $o, $mode) {
162
172
  @each $key, $value in $o {
163
173
  // Only print primary skin and css vars that differ from primary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "11.5.3",
3
+ "version": "11.7.0",
4
4
  "description": "CSS-rammeverket til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -55,5 +55,5 @@
55
55
  "url": "https://github.com/oslokommune/punkt/issues"
56
56
  },
57
57
  "license": "MIT",
58
- "gitHead": "683cde8f21abc895d5bea931ba2ae5a4eb5315ee"
58
+ "gitHead": "7879f13bffc381ad3ac5da9f18f03f5ec9ab10ed"
59
59
  }