@oslokommune/punkt-css 11.0.1 → 11.0.2

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.
@@ -8,6 +8,7 @@
8
8
  @use 'sass:map';
9
9
  @use '../abstracts/variables';
10
10
  @use '../abstracts/mixins/typography';
11
+ @use '../abstracts/mixins/breakpoints' as *;
11
12
  @use '../abstracts/functions';
12
13
 
13
14
  body {
@@ -154,6 +155,25 @@ button.pkt-link {
154
155
  @include typography.generate-text-class($name, $style);
155
156
  }
156
157
 
158
+ @each $bp-name, $bp-value in variables.$breakpoints {
159
+ @each $name, $style in variables.$pkt-styles {
160
+ @include bp('#{$bp-value}') {
161
+ @include typography.generate-text-class(
162
+ '#{$name}--#{$bp-name}-up',
163
+ $style
164
+ );
165
+ }
166
+ }
167
+ @each $name, $style in variables.$pkt-font-weight {
168
+ @include bp('#{$bp-value}') {
169
+ @include typography.generate-text-class(
170
+ '#{$name}--#{$bp-name}-up',
171
+ $style
172
+ );
173
+ }
174
+ }
175
+ }
176
+
157
177
  /*
158
178
  * Alignment
159
179
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "11.0.1",
3
+ "version": "11.0.2",
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": "1860e030cf7de6a9e7ef7471ee93997013aad25a"
58
+ "gitHead": "fb582501c2f84621ec005158834dff09c73ea026"
59
59
  }