@oslokommune/punkt-css 5.0.8 → 5.0.11
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 +36 -0
- package/dist/css/components/linkcard.css +15 -2
- package/dist/css/components/linkcard.min.css +1 -1
- package/dist/css/pkt-base.css +6 -6
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +15 -2
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt.css +21 -8
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_typography.scss +1 -1
- package/dist/scss/components/_linkcard.scss +10 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,42 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [5.0.11](https://github.com/oslokommune/punkt/compare/5.0.10...5.0.11) (2023-06-08)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* [946](https://github.com/oslokommune/punkt/issues/946) Fiks default font-path.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
Ingen
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [5.0.10](https://github.com/oslokommune/punkt/compare/5.0.9...5.0.10) (2023-06-08)
|
|
27
|
+
|
|
28
|
+
### ⚠ BREAKING CHANGES
|
|
29
|
+
Ingen
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
Ingen
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
* [942](https://github.com/oslokommune/punkt/issues/942) linkcard-tittel skalere på mobil.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Chores
|
|
39
|
+
Ingen
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
|
|
8
44
|
## [5.0.8](https://github.com/oslokommune/punkt/compare/5.0.7...5.0.8) (2023-06-05)
|
|
9
45
|
|
|
10
46
|
### ⚠ BREAKING CHANGES
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%) contrast(90%);
|
|
22
22
|
}
|
|
23
23
|
.pkt-linkcard__title {
|
|
24
|
-
font-size: 1.
|
|
24
|
+
font-size: 1.25rem;
|
|
25
25
|
font-weight: 500;
|
|
26
26
|
letter-spacing: -0.2px;
|
|
27
27
|
line-height: 1.5em;
|
|
@@ -30,6 +30,14 @@
|
|
|
30
30
|
.pkt-linkcard__title > p {
|
|
31
31
|
margin: 0;
|
|
32
32
|
}
|
|
33
|
+
@media screen and (min-width: 35.938rem) {
|
|
34
|
+
.pkt-linkcard__title {
|
|
35
|
+
font-size: 1.5rem;
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
letter-spacing: -0.2px;
|
|
38
|
+
line-height: 1.5em;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
33
41
|
.pkt-linkcard__title.pkt-link--external::after {
|
|
34
42
|
height: 1.5rem;
|
|
35
43
|
width: 1.5rem;
|
|
@@ -37,7 +45,12 @@
|
|
|
37
45
|
margin-left: 0.5rem;
|
|
38
46
|
}
|
|
39
47
|
.pkt-linkcard.pkt-link .pkt-icon.pkt-link__icon {
|
|
40
|
-
margin-top: 0.
|
|
48
|
+
margin-top: 0.188rem;
|
|
49
|
+
}
|
|
50
|
+
@media screen and (min-width: 35.938rem) {
|
|
51
|
+
.pkt-linkcard.pkt-link .pkt-icon.pkt-link__icon {
|
|
52
|
+
margin-top: 0.375rem;
|
|
53
|
+
}
|
|
41
54
|
}
|
|
42
55
|
.pkt-linkcard__text p:first-of-type {
|
|
43
56
|
margin-top: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.pkt-linkcard{align-items:flex-start;padding:1rem;text-decoration:none}@media screen and (min-width: 80rem){.pkt-linkcard{padding:1.5rem}}.pkt-linkcard:hover{text-decoration:none}.pkt-linkcard:hover .pkt-linkcard__title{text-decoration:underline}.pkt-linkcard:hover .pkt-link--external::after{filter:brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%) contrast(90%)}.pkt-linkcard__title{font-size:1.
|
|
1
|
+
.pkt-linkcard{align-items:flex-start;padding:1rem;text-decoration:none}@media screen and (min-width: 80rem){.pkt-linkcard{padding:1.5rem}}.pkt-linkcard:hover{text-decoration:none}.pkt-linkcard:hover .pkt-linkcard__title{text-decoration:underline}.pkt-linkcard:hover .pkt-link--external::after{filter:brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%) contrast(90%)}.pkt-linkcard__title{font-size:1.25rem;font-weight:500;letter-spacing:-0.2px;line-height:1.5em;margin-bottom:.5rem}.pkt-linkcard__title>p{margin:0}@media screen and (min-width: 35.938rem){.pkt-linkcard__title{font-size:1.5rem;font-weight:500;letter-spacing:-0.2px;line-height:1.5em}}.pkt-linkcard__title.pkt-link--external::after{height:1.5rem;width:1.5rem;background-size:1.5rem 1.5rem;margin-left:.5rem}.pkt-linkcard.pkt-link .pkt-icon.pkt-link__icon{margin-top:.188rem}@media screen and (min-width: 35.938rem){.pkt-linkcard.pkt-link .pkt-icon.pkt-link__icon{margin-top:.375rem}}.pkt-linkcard__text p:first-of-type{margin-top:0}.pkt-linkcard__text p:last-of-type{margin-bottom:0}.pkt-linkcard--beige{background-color:var(--color-beige-light)}.pkt-linkcard--blue{background-color:var(--color-blue-5)}.pkt-linkcard--grey-outline{border:4px solid var(--color-gray)}.pkt-linkcard--beige-outline{border:4px solid var(--color-beige-light)}[data-mode=dark] .pkt-linkcard--beige{color:var(--color-blue-dark) !important}[data-mode=dark] .pkt-linkcard--beige:focus{color:var(--color-hover) !important}[data-mode=dark] .pkt-linkcard--blue{color:var(--color-blue-dark) !important}[data-mode=dark] .pkt-linkcard--blue:focus{color:var(--color-hover) !important}
|
package/dist/css/pkt-base.css
CHANGED
|
@@ -7,42 +7,42 @@
|
|
|
7
7
|
font-family: Oslo Sans;
|
|
8
8
|
font-style: normal;
|
|
9
9
|
font-weight: 400;
|
|
10
|
-
src: url("
|
|
10
|
+
src: url("@oslokommune/punkt-assets/dist/fonts/OsloSans-Regular.woff2") format("woff2"), url("@oslokommune/punkt-assets/dist/fonts/OsloSans-Regular.woff") format("woff");
|
|
11
11
|
}
|
|
12
12
|
@font-face {
|
|
13
13
|
font-display: swap;
|
|
14
14
|
font-family: Oslo Sans;
|
|
15
15
|
font-style: italic;
|
|
16
16
|
font-weight: 400;
|
|
17
|
-
src: url("
|
|
17
|
+
src: url("@oslokommune/punkt-assets/dist/fonts/OsloSans-RegularItalic.woff2") format("woff2"), url("@oslokommune/punkt-assets/dist/fonts/OsloSans-RegularItalic.woff") format("woff");
|
|
18
18
|
}
|
|
19
19
|
@font-face {
|
|
20
20
|
font-display: swap;
|
|
21
21
|
font-family: Oslo Sans;
|
|
22
22
|
font-style: normal;
|
|
23
23
|
font-weight: 300;
|
|
24
|
-
src: url("
|
|
24
|
+
src: url("@oslokommune/punkt-assets/dist/fonts/OsloSans-Light.woff2") format("woff2"), url("@oslokommune/punkt-assets/dist/fonts/OsloSans-Light.woff") format("woff");
|
|
25
25
|
}
|
|
26
26
|
@font-face {
|
|
27
27
|
font-display: swap;
|
|
28
28
|
font-family: Oslo Sans;
|
|
29
29
|
font-style: normal;
|
|
30
30
|
font-weight: 500;
|
|
31
|
-
src: url("
|
|
31
|
+
src: url("@oslokommune/punkt-assets/dist/fonts/OsloSans-Medium.woff2") format("woff2"), url("@oslokommune/punkt-assets/dist/fonts/OsloSans-Medium.woff") format("woff");
|
|
32
32
|
}
|
|
33
33
|
@font-face {
|
|
34
34
|
font-display: swap;
|
|
35
35
|
font-family: Oslo Sans;
|
|
36
36
|
font-style: normal;
|
|
37
37
|
font-weight: 700;
|
|
38
|
-
src: url("
|
|
38
|
+
src: url("@oslokommune/punkt-assets/dist/fonts/OsloSans-Bold.woff2") format("woff2"), url("@oslokommune/punkt-assets/dist/fonts/OsloSans-Bold.woff") format("woff");
|
|
39
39
|
}
|
|
40
40
|
@font-face {
|
|
41
41
|
font-display: swap;
|
|
42
42
|
font-family: Oslo Icons;
|
|
43
43
|
font-style: normal;
|
|
44
44
|
font-weight: 400;
|
|
45
|
-
src: url("
|
|
45
|
+
src: url("@oslokommune/punkt-assets/dist/fonts/OsloIcons.woff2") format("woff2"), url("@oslokommune/punkt-assets/dist/fonts/OsloIcons.woff") format("woff");
|
|
46
46
|
}
|
|
47
47
|
/*
|
|
48
48
|
* Colors
|