Skip to main content

ThemeSurfaces

How surface colors of a Theme are derived from its color_scheme_seed.

Inherits: enum.Enum

Properties

  • NEUTRAL - Surfaces use a neutral grey ramp with no hue: white in light mode and near-black (#121212) in dark mode.
  • TONAL - Surfaces are tinted with the seed hue, as in the Material 3 default color scheme.

Properties​

NEUTRALclass-attributeinstance-attribute​

Surfaces use a neutral grey ramp with no hue: white in light mode and near-black (#121212) in dark mode. Accent colors (primary, secondary, tertiary and their containers) still come from the seed.

The full list of neutral colors is in the Theming guide.

TONALclass-attributeinstance-attribute​

Surfaces are tinted with the seed hue, as in the Material 3 default color scheme. This was the default before Flet 1.1.0.