Browse Source

Remove sass icon() mixin

Matt Westcott 1 year ago
parent
commit
90d7a1cf61
2 changed files with 0 additions and 19 deletions
  1. 0 5
      client/scss/components/_icons.scss
  2. 0 14
      client/scss/tools/_mixins.general.scss

+ 0 - 5
client/scss/components/_icons.scss

@@ -15,11 +15,6 @@
   color: theme('colors.surface-page');
 }
 
-.icon:before,
-.icon:after {
-  @include icon(); // from _mixins.scss
-}
-
 .icon:after {
   text-align: end;
 }

+ 0 - 14
client/scss/tools/_mixins.general.scss

@@ -83,20 +83,6 @@
   vertical-align: $position;
 }
 
-@mixin icon() {
-  @include font-smoothing;
-  font-style: normal;
-  font-weight: normal;
-  font-variant: normal;
-  speak: none;
-  text-decoration: none;
-  width: 1.3em;
-  line-height: 1em;
-  text-align: start;
-  vertical-align: middle;
-  margin-inline-end: 0.2em;
-}
-
 // Applies given rules on hover, for devices that support hover.
 @mixin hover {
   @media (hover: hover) {