@oslokommune/punkt-css 5.1.4 → 5.1.7
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.
- package/CHANGELOG.md +35 -0
- package/dist/css/components/tag.css +24 -0
- package/dist/css/components/tag.min.css +1 -1
- package/dist/css/pkt-components.css +24 -0
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt.css +24 -0
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/components/_tag.scss +29 -0
- package/package.json +3 -3
|
@@ -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.
|
|
3
|
+
"version": "5.1.7",
|
|
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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"preview": "astro preview"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@oslokommune/punkt-assets": "^5.1.
|
|
23
|
+
"@oslokommune/punkt-assets": "^5.1.5",
|
|
24
24
|
"astro": "^2.0.2",
|
|
25
25
|
"edit-json-file": "^1.7.0",
|
|
26
26
|
"fs-extra": "^11.1.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"url": "https://github.com/oslokommune/punkt/issues"
|
|
56
56
|
},
|
|
57
57
|
"license": "MIT",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "f83cc487b278c7d85dffb1adf5bb9fd6c0655ab1"
|
|
59
59
|
}
|