zng::text

Function font_color

source
pub fn font_color(child: impl UiNode, color: impl IntoVar<Rgba>) -> impl UiNode
Expand description

P Defines the color the most text glyphs are filled with.

Colored glyphs (Emoji) are not affected by this, you can use font_palette to modify Emoji colors.

Sets the FONT_COLOR_VAR.