@oslokommune/punkt-css 5.1.5 → 5.1.8

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.
@@ -13,6 +13,8 @@
13
13
  min-width: 1rem;
14
14
 
15
15
  > svg {
16
+ min-height: 1rem;
17
+ min-width: 1rem;
16
18
  max-height: 100%;
17
19
  max-width: 100%;
18
20
  }
@@ -153,6 +153,27 @@
153
153
 
154
154
  }
155
155
 
156
+
157
+ &--blue-light {
158
+ background: var(--color-blue-10);
159
+
160
+ &.pkt-btn:hover,
161
+ &.pkt-tag--hover {
162
+ background-color: var(--color-blue-light);
163
+ }
164
+
165
+ &.pkt-btn:focus,
166
+ &.pkt-tag--focus {
167
+ background-color: var(--color-blue-light);
168
+ }
169
+
170
+ &.pkt-btn:active,
171
+ &.pkt-tag--active {
172
+ background-color: var(--color-blue-light);
173
+ }
174
+
175
+ }
176
+
156
177
  // Sizes
157
178
  &--small {
158
179
  padding: map.get(variables.$spacing, 'size-4');
@@ -169,6 +190,14 @@
169
190
  padding: map.get(variables.$spacing, 'size-4') map.get(variables.$spacing, 'size-8');
170
191
  height: 2.25rem;
171
192
  }
193
+
194
+ // Typography
195
+ &--normal-text {
196
+ @include typography.get-text('pkt-txt-14-medium');
197
+ }
198
+ &--thin-text {
199
+ @include typography.get-text('pkt-txt-14-light');
200
+ }
172
201
  }
173
202
 
174
203
  // Dark mode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "5.1.5",
3
+ "version": "5.1.8",
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": "2752205f0e239e7c8096fd270286b30cd8dc435b"
58
+ "gitHead": "a16c5fa1585e36edae9b60bfc8fd8671e56b1826"
59
59
  }