@oslokommune/punkt-css 12.39.8 → 12.40.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.39/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/12.40/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -31,7 +31,6 @@ pkt-card {
31
31
 
32
32
  &.pkt-card--padding-none {
33
33
  padding: 0;
34
- background-color: transparent;
35
34
  }
36
35
 
37
36
  // HEADINGS, TEXT, SUBTEXT
@@ -226,6 +225,31 @@ pkt-card {
226
225
  box-shadow: 0px 0px 0px 4px var(--pkt-color-brand-purple-1000);
227
226
  }
228
227
 
228
+ // SKIN VARIANTS FOR NO PADDING
229
+
230
+ &.pkt-card--padding-none {
231
+ outline: none;
232
+ background-color: transparent;
233
+
234
+ &.pkt-card--landscape {
235
+ &.pkt-card--gray {
236
+ background-color: var(--pkt-color-brand-neutrals-100);
237
+ }
238
+
239
+ &.pkt-card--blue {
240
+ background-color: var(--pkt-color-brand-blue-200);
241
+ }
242
+
243
+ &.pkt-card--green {
244
+ background-color: var(--pkt-color-brand-light-green-400);
245
+ }
246
+
247
+ &.pkt-card--beige {
248
+ background-color: var(--pkt-color-brand-light-beige-1000);
249
+ }
250
+ }
251
+ }
252
+
229
253
  // SKINS
230
254
 
231
255
  &--outlined,
@@ -257,9 +281,4 @@ pkt-card {
257
281
  &--beige {
258
282
  background-color: var(--pkt-color-brand-light-beige-1000);
259
283
  }
260
-
261
- &--padding-none {
262
- background-color: transparent;
263
- outline: none;
264
- }
265
284
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "12.39.8",
3
+ "version": "12.40.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",
@@ -57,5 +57,5 @@
57
57
  "url": "https://github.com/oslokommune/punkt/issues"
58
58
  },
59
59
  "license": "MIT",
60
- "gitHead": "9837c1edd0b49ecdc14a46ede9442d30bdb9d908"
60
+ "gitHead": "01a4a75820f2c854bd51a4fa590bedf37e2ce8ce"
61
61
  }