@oslokommune/punkt-css 12.23.1 → 12.24.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/12.23/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/12.24/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -21,6 +21,7 @@
21
21
  }
22
22
 
23
23
  .pkt-tag {
24
+ width: fit-content;
24
25
  background: var(--pkt-color-surface-default-light-blue);
25
26
  padding: map.get(variables.$spacing, 'size-4') map.get(variables.$spacing, 'size-8');
26
27
  display: inline-flex;
@@ -285,6 +286,22 @@
285
286
  }
286
287
  }
287
288
 
289
+ &--blue-dark {
290
+ background: var(--pkt-color-brand-dark-blue-1000);
291
+ color: var(--pkt-color-brand-neutrals-200);
292
+
293
+ &.pkt-btn:hover,
294
+ &.pkt-btn:focus,
295
+ &.pkt-tag--hover {
296
+ background-color: var(--pkt-color-brand-warm-blue-1000);
297
+ color: var(--pkt-color-brand-neutrals-200);
298
+ }
299
+
300
+ .pkt-icon > svg {
301
+ --fg-color: var(--pkt-color-brand-neutrals-200);
302
+ }
303
+ }
304
+
288
305
  // Sizes
289
306
  &--small {
290
307
  padding: map.get(variables.$spacing, 'size-4');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "12.23.1",
3
+ "version": "12.24.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",
@@ -54,5 +54,5 @@
54
54
  "url": "https://github.com/oslokommune/punkt/issues"
55
55
  },
56
56
  "license": "MIT",
57
- "gitHead": "c546f78a17e9319e711ea21d9ecdf8cd83dc156d"
57
+ "gitHead": "b188e2c0442bf841f40148fd46fdd9870ea9b101"
58
58
  }