font_palette

Function font_palette 

Source
pub fn font_palette(
    child: impl IntoUiNode,
    palette: impl IntoVar<FontColorPalette>,
) -> UiNode
Expand description

P Defines the palette used to render colored glyphs (Emoji).

This property only affects Emoji from fonts using COLR v0. You can use font_color to set the base color, and font_palette_colors to change specific colors.

Sets the FONT_PALETTE_VAR.