theme library

Classes

YaruColors
Available Yaru colors.
YaruPageTransitionsTheme

Enums

YaruVariant
Describes a Yaru variant and its primary color.

Extensions

YaruColorExtension on Color
Set of useful methods when working with Color
YaruColorSchemeExtension on ColorScheme
Yaru-specific color scheme extensions.

Constants

kDividerColorDark → const Color
kDividerColorLight → const Color

Properties

isMobile bool
no setter
yaruDark ThemeData
final
yaruHighContrastDark ThemeData
final
yaruHighContrastLight ThemeData
final
yaruLight ThemeData
final

Functions

contrastColor(Color color) Color
createYaruDarkTheme({required Color primaryColor, Color? elevatedButtonColor, Color? elevatedButtonTextColor, bool? useMaterial3 = true, bool highContrast = false}) ThemeData
Helper function to create a new Yaru dark theme
createYaruLightTheme({required Color primaryColor, Color? elevatedButtonColor, Color? elevatedButtonTextColor, bool? useMaterial3 = true}) ThemeData
Helper function to create a new Yaru light theme
createYaruTheme({required ColorScheme colorScheme, Color? dividerColor, Color? elevatedButtonColor, Color? elevatedButtonTextColor, bool? useMaterial3 = true}) ThemeData
Helper function to create a new Yaru theme