Skip to content

Commit

Permalink
Adding other utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed Nov 10, 2023
1 parent 69d1db8 commit fb53962
Show file tree
Hide file tree
Showing 3 changed files with 315 additions and 77 deletions.
4 changes: 3 additions & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,9 @@ $svg-as-custom-props: (
//// Filters
// see https://codepen.io/sosuke/pen/Pjoqqp
$invert-filter: invert(1) !default;
$orange-filter: invert(46%) sepia(60%) saturate(2878%) hue-rotate(6deg) brightness(98%) contrast(104%) !default;
// fusv-disable
$orange-filter: invert(46%) sepia(60%) saturate(2878%) hue-rotate(6deg) brightness(98%) contrast(104%) !default; // Deprecated in v5.3.3
// fusv-enable

$disabled-filter: brightness(0) invert(1) brightness(.8) !default;
// End mod
Expand Down
8 changes: 2 additions & 6 deletions scss/helpers/_chevron-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@
margin-left: $linked-chevron-margin-left;
vertical-align: middle;
content: "";
background-image: var(--#{$prefix}chevron-icon);
background-repeat: no-repeat;
background-color: currentcolor;
mask: var(--#{$prefix}chevron-icon) no-repeat;
transform: $linked-chevron-transform;
}

&:hover {
text-decoration: $link-decoration;

&::after {
filter: $orange-filter;
}
}
}
// End mod
Loading

0 comments on commit fb53962

Please sign in to comment.