Modules
Structs
Enums
Traits
Functions
Helper to get most visible text color based on a background color
Return black if luminance is less than 50% and white otherwise
Helper to get most visible text color based on a background color
Return black if luminance is less than 50% and white otherwise
Helper to get harmonious spacing and sizing values.
It’s based on
scale ^ PHI calculationFunction to convert pixel values into rem (factor of browser’s default font size)