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