Function zng::text::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.