@phillips/seldon 1.83.0 → 1.84.0
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/dist/scss/_type.scss
CHANGED
|
@@ -37,9 +37,10 @@
|
|
|
37
37
|
font-family: Distinct, sans-serif;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
@mixin underline($
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
@mixin underline($offset: $spacing-xsm, $thickness: 1px, $color: $pure-black) {
|
|
41
|
+
text-decoration: underline;
|
|
42
|
+
text-decoration-thickness: $thickness;
|
|
43
|
+
text-underline-offset: $offset;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
@mixin hText(
|
|
@@ -55,10 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
&:hover,
|
|
57
57
|
&:focus-visible {
|
|
58
|
-
@include underline(
|
|
59
|
-
$color: $dark-gray,
|
|
60
|
-
$padding: 0.5rem 0.625rem calc(0.5rem + 2px)
|
|
61
|
-
); // 1 px so that the bottom border of the nav counts as part of the button
|
|
58
|
+
@include underline($color: $dark-gray); // 1 px so that the bottom border of the nav counts as part of the button
|
|
62
59
|
|
|
63
60
|
color: $dark-gray;
|
|
64
61
|
}
|