@danske/sapphire-css 38.1.0 → 38.1.1

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.
@@ -13,20 +13,17 @@
13
13
  -webkit-font-smoothing: antialiased;
14
14
  -moz-osx-font-smoothing: grayscale;
15
15
 
16
- /**
17
- * For making line-height take effect in all scenarios
18
- * Otherwise in some cases the link can be set to display: inline
19
- * by the browser which would not make line-height apply
20
- * and focus styles would eg. be too cramped
21
- */
22
- display: inline-block;
16
+ display: inline;
23
17
 
24
18
  font-family: var(--sapphire-semantic-font-name-default);
25
19
  font-size: var(--sapphire-semantic-size-font-text-lg);
26
20
  line-height: var(--sapphire-semantic-size-line-height-md);
27
21
  cursor: pointer;
28
- outline: 0;
29
22
  border-radius: var(--sapphire-semantic-size-radius-xs);
23
+
24
+ text-decoration-skip-ink: none;
25
+
26
+ outline: none;
30
27
  }
31
28
 
32
29
  /* Disabled state for all variants */
@@ -53,8 +50,7 @@
53
50
  .sapphire-link--primary.is-focus,
54
51
  .sapphire-link--primary:not(.js-focus):focus-visible {
55
52
  color: var(--sapphire-semantic-color-content-link-primary-default);
56
- outline: var(--sapphire-semantic-size-focus-ring) solid
57
- var(--sapphire-semantic-color-focus-ring);
53
+ text-decoration-style: double;
58
54
  }
59
55
  .sapphire-link--primary:not(:disabled):not(.is-disabled).is-active,
60
56
  .sapphire-link--primary:not(:disabled):not(.is-disabled):active,
@@ -79,8 +75,7 @@
79
75
  .sapphire-link--secondary.is-focus,
80
76
  .sapphire-link--secondary:not(.js-focus):focus-visible {
81
77
  color: var(--sapphire-semantic-color-content-link-secondary-default);
82
- outline: var(--sapphire-semantic-size-focus-ring) solid
83
- var(--sapphire-semantic-color-focus-ring);
78
+ text-decoration-style: double;
84
79
  }
85
80
 
86
81
  .sapphire-link--secondary:not(:disabled):not(.is-disabled).is-active,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danske/sapphire-css",
3
- "version": "38.1.0",
3
+ "version": "38.1.1",
4
4
  "description": "CSS implementation of the Sapphire Design System from Danske Bank A/S",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "sideEffects": false,
@@ -69,5 +69,5 @@
69
69
  "dependencies": {
70
70
  "@danske/sapphire-design-tokens": "^41.5.0"
71
71
  },
72
- "gitHead": "836d631a89aec147d5f4c817d7d7e9f02c9f9d7b"
72
+ "gitHead": "6bd3c484a3b470e3efbb4b9bc14f8132ad50071f"
73
73
  }