@oslokommune/punkt-css 16.11.0 → 16.12.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/16.11/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/16.12/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -136,7 +136,7 @@ a,
136
136
  }
137
137
 
138
138
  &--external:hover::after,
139
- &:hover pkt-icon {
139
+ &:hover:not(.pkt-btn) pkt-icon {
140
140
  // #1f42aa
141
141
  filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%)
142
142
  contrast(90%);
@@ -124,7 +124,7 @@ pkt-tab-item {
124
124
 
125
125
  pointer-events: none;
126
126
  user-select: none;
127
- margin: 0 0.375rem;
127
+ margin: 0 0.375rem 0.25rem;
128
128
  }
129
129
 
130
130
  .pkt-tabs__separator img {
@@ -403,8 +403,12 @@ pkt-button[isLoading] {
403
403
  }
404
404
 
405
405
  &__icon {
406
- --fg-color: currentColor;
407
406
  display: none;
407
+ }
408
+
409
+ &__icon,
410
+ & .pkt-icon {
411
+ --fg-color: currentColor;
408
412
  flex-shrink: 0;
409
413
  }
410
414
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "16.11.0",
3
+ "version": "16.12.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",
@@ -25,7 +25,7 @@
25
25
  ]
26
26
  },
27
27
  "devDependencies": {
28
- "@oslokommune/punkt-assets": "^16.0.0",
28
+ "@oslokommune/punkt-assets": "^16.12.0",
29
29
  "astro": "^5.7.5",
30
30
  "edit-json-file": "^1.8.0",
31
31
  "fs-extra": "^11.2.0",
@@ -60,5 +60,5 @@
60
60
  "url": "https://github.com/oslokommune/punkt/issues"
61
61
  },
62
62
  "license": "MIT",
63
- "gitHead": "17f81f8bf2c3716c741327d6b4bcc2347994278e"
63
+ "gitHead": "6a61829c404cb9efe379f57046bc8704f09b1e26"
64
64
  }