@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.
@@ -37,9 +37,10 @@
37
37
  font-family: Distinct, sans-serif;
38
38
  }
39
39
 
40
- @mixin underline($padding: 0, $width: 0.0625rem, $color: $pure-black) {
41
- border-bottom: $width solid $color;
42
- padding-bottom: $padding;
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
  }
@@ -31,7 +31,7 @@
31
31
  padding-bottom: $padding-xsm;
32
32
 
33
33
  &:hover {
34
- @include underline($padding-xsm);
34
+ @include underline;
35
35
  }
36
36
 
37
37
  @include isHeaderMobile {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.83.0",
3
+ "version": "1.84.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"