monks/forced_color_adjust
The forced-color-adjust CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS.
Values
pub const auto_: #(String, String)
- : The element’s colors are adjusted by the {{Glossary(“user agent”)}} in forced colors mode. This is the default value.
pub const none: #(String, String)
- : The element’s colors are not automatically adjusted by the {{Glossary(“user agent”)}} in forced colors mode.
pub const preserve_parent_color: #(String, String)
- : In forced colors mode, if the {{cssxref(“color”)}} property inherits from its parent (i.e., there is no cascaded value or the cascaded value is
currentColor, {{cssxref(“inherit”)}}, or another keyword that inherits from the parent), then it computes to the used color of its parent’scolorproperty. In all other cases, it behaves the same asnone.
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for forced-color-adjust
pub const revert_layer: #(String, String)