_core.less 760 B

123456789101112131415161718192021222324252627282930313233343536
  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}-solid,
  8. .@{fa-css-prefix}-regular,
  9. .@{fa-css-prefix}-brands,
  10. .fas,
  11. .far,
  12. .fab,
  13. .@{fa-css-prefix} {
  14. -moz-osx-font-smoothing: grayscale;
  15. -webkit-font-smoothing: antialiased;
  16. display: ~'var(--@{fa-css-prefix}-display, @{fa-display})';
  17. font-style: normal;
  18. font-variant: normal;
  19. text-rendering: auto;
  20. }
  21. .fas,
  22. .@{fa-css-prefix}-classic,
  23. .@{fa-css-prefix}-solid,
  24. .far,
  25. .@{fa-css-prefix}-regular {
  26. font-family: 'Font Awesome 6 Free';
  27. }
  28. .fab,
  29. .@{fa-css-prefix}-brands {
  30. font-family: 'Font Awesome 6 Brands';
  31. }