Optional Configuration
$contrasted-dark-default (Color)
scss
$contrasted-dark-default: #000 !default;
The text color to be used when a background is determined to be “light”
Since v2.0
:
– Renamed from $yiq-contrasted-dark-default
$contrasted-light-default (Color)
scss
$contrasted-light-default: #fff !default;
The text color to be used when a background is determined to be “dark”
Since v2.0
:
– Renamed from $yiq-contrasted-light-default
$contrasted-threshold (Number)
scss
$contrasted-threshold: 128 !default;
The YIQ lightness value that determines when the lightness of color changes from “dark” to “light”. Acceptable values are between 0 & 255.
Since v2.0
:
– Renamed from $yiq-contrasted-threshold
$debug (Boolean)
scss
$debug: false !default;
Toggle diagnostic messages.
Since v2.0
:
– Renamed from $yiq-debug