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.

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 lightBaseColor = YaruColors.porcelain, Color darkBaseColor = YaruColors.jet, Color? errorColor, 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 lightBaseColor = Colors.white, Color darkBaseColor = YaruColors.jet, Color? errorColor, Color? elevatedButtonColor, Color? elevatedButtonTextColor, bool? useMaterial3 = true}) ThemeData
Helper function to create a new Yaru light theme
createYaruTheme({required ColorScheme colorScheme, Color? elevatedButtonColor, Color? elevatedButtonTextColor, bool? useMaterial3 = true}) ThemeData
Helper function to create a new Yaru theme