@lumx/core 3.12.1-alpha.3 → 3.12.1-alpha.4

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/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
41
41
  },
42
42
  "sideEffects": false,
43
- "version": "3.12.1-alpha.3",
43
+ "version": "3.12.1-alpha.4",
44
44
  "devDependencies": {
45
45
  "@babel/core": "^7.26.10",
46
46
  "@babel/plugin-proposal-class-properties": "^7.18.6",
@@ -8,23 +8,32 @@
8
8
  border: none;
9
9
  outline: none;
10
10
 
11
+ // Inherit parent typography
12
+ &:not(#{&}--has-typography) {
13
+ font-family: inherit;
14
+ font-size: inherit;
15
+ font-style: inherit;
16
+ font-weight: inherit;
17
+ line-height: inherit;
18
+ }
19
+
11
20
  &:hover,
12
21
  &[data-lumx-hover],
13
22
  &[data-focus-visible-added] {
14
23
  text-decoration: underline;
15
24
  }
16
- }
17
-
18
- @mixin lumx-link-color($color, $variant) {
19
- color: lumx-color-variant($color, $variant);
20
25
 
21
26
  &[data-focus-visible-added],
22
27
  &:focus-visible {
23
- outline: 1px auto lumx-color-variant($color, $variant);
28
+ outline: 1px auto currentColor;
24
29
  outline-offset: 2px;
25
30
  }
26
31
  }
27
32
 
33
+ @mixin lumx-link-color($color, $variant) {
34
+ color: lumx-color-variant($color, $variant);
35
+ }
36
+
28
37
  @mixin lumx-link($color: "primary", $variant: "N") {
29
38
  @include lumx-link-base;
30
39
  @include lumx-link-color($color, $variant);