@bonniernews/dn-design-system-web 3.0.0-alpha.67 → 3.0.0-alpha.68
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 +9 -0
- package/foundations/helpers/links.scss +7 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.0-alpha.68](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.67...@bonniernews/dn-design-system-web@3.0.0-alpha.68) (2023-05-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **web:** update underline offset and thickness ([#840](https://github.com/BonnierNews/dn-design-system/issues/840)) ([65c2808](https://github.com/BonnierNews/dn-design-system/commit/65c2808d080b5cce76474790d08f93fe83882155))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [3.0.0-alpha.67](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.66...@bonniernews/dn-design-system-web@3.0.0-alpha.67) (2023-05-24)
|
|
7
16
|
|
|
8
17
|
|
|
@@ -8,28 +8,29 @@ $ds-link-article-body: "article-body";
|
|
|
8
8
|
|
|
9
9
|
@mixin ds-link($type: paragraph) {
|
|
10
10
|
color: inherit;
|
|
11
|
+
@include ds-underline(2px, 1px);
|
|
11
12
|
&:focus-visible {
|
|
12
13
|
outline-color: $ds-color-border-primary-02;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
@if ($type == $ds-link-list) {
|
|
16
|
-
text-decoration: none;
|
|
17
|
+
text-decoration-line: none;
|
|
17
18
|
&:hover {
|
|
18
|
-
text-decoration: $ds-text-decoration-link-underline;
|
|
19
|
+
text-decoration-line: $ds-text-decoration-link-underline;
|
|
19
20
|
}
|
|
20
21
|
} @else if ($type == $ds-link-paragraph) {
|
|
21
|
-
text-decoration: $ds-text-decoration-link-underline;
|
|
22
|
+
text-decoration-line: $ds-text-decoration-link-underline;
|
|
22
23
|
&:hover {
|
|
23
|
-
text-decoration: none;
|
|
24
|
+
text-decoration-line: none;
|
|
24
25
|
}
|
|
25
26
|
&:visited {
|
|
26
27
|
color: $ds-color-text-primary-02;
|
|
27
28
|
}
|
|
28
29
|
} @else if ($type == $ds-link-article-body) {
|
|
29
|
-
text-decoration: $ds-text-decoration-link-underline;
|
|
30
|
+
text-decoration-line: $ds-text-decoration-link-underline;
|
|
30
31
|
color: $ds-color-text-body-link;
|
|
31
32
|
&:hover {
|
|
32
|
-
text-decoration: none;
|
|
33
|
+
text-decoration-line: none;
|
|
33
34
|
}
|
|
34
35
|
&:visited {
|
|
35
36
|
color: $ds-color-text-body-link-visited;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonniernews/dn-design-system-web",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.68",
|
|
4
4
|
"description": "DN design system for web.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"homepage": "https://github.com/BonnierNews/dn-design-system/tree/main/web/src#readme",
|