_core.less 792 B

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