Font Awesome 5 icons automatically inherit the color of the associated class or container around them.
Use either a colored circle with a white icon, or a colored icon; not both together. If necessary, you may use a dark circle to add emphasis to warning icons.
Always ensure final icon usage is 508 compliant for color contrast.
Primary
.text-primary
Info
.text-info
Success
.text-success
Warning
.text-warning
Danger
.text-danger
System Icons
System icons should always be one solid color.
System icons should either be black, white, or any other primary UI color.
System icons can be placed in colored circles.
Icon colors can be inverted with .fa-inverse.
Icon sizing
Icons can vary in size, from extra small to 10x, by adding .fa-xs, .fa-sm, .fa-lg, .fa-2x, .fa-3x, .fa-5x, .fa-10x.
When scaling icons, ensure the sizes used appear sharp on standard and high DPI screens.
.fa-xs
.fa-sm
.fa-lg
.fa-2x
.fa-3x
.fa-3x
Rotation
Power Transform rotating and flipping effects icon angle and reflection without changing or moving the container. To rotate or flip icons use any combination of rotate-#, flip-v, and flip-h with any arbitrary value.
Animation
Use the .fa-spin class to get any icon to rotate, and use .fa-pulse to have it rotate with 8 steps.
Where possible, use icons for content loading animation