theme
library
Enums
-
YaruVariant
-
Describes a Yaru variant and its primary color.
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