_core.scss 701 B

123456789101112131415161718192021222324252627282930313233
  1. // base icon class definition
  2. // -------------------------
  3. .#{$fa-css-prefix} {
  4. font-family: var(--#{$fa-css-prefix}-style-family, '#{$fa-style-family}');
  5. font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
  6. }
  7. .#{$fa-css-prefix},
  8. .fas,
  9. .#{$fa-css-prefix}-solid,
  10. .far,
  11. .#{$fa-css-prefix}-regular,
  12. .fal,
  13. .#{$fa-css-prefix}-light,
  14. .fat,
  15. .#{$fa-css-prefix}-thin,
  16. .fad,
  17. .#{$fa-css-prefix}-duotone,
  18. .fab,
  19. .#{$fa-css-prefix}-brands {
  20. -moz-osx-font-smoothing: grayscale;
  21. -webkit-font-smoothing: antialiased;
  22. display: var(--#{$fa-css-prefix}-display, #{$fa-display});
  23. font-style: normal;
  24. font-variant: normal;
  25. line-height: 1;
  26. text-rendering: auto;
  27. }
  28. %fa-icon {
  29. @include fa-icon;
  30. }