theme property

ThemeData get theme

Theme for the Kohler brand

Implementation

static ThemeData get theme {
  final theme = _createTheme(
    ThemeData.from(
      colorScheme: colorScheme,
      textTheme: textTheme.copyWith(
        headlineMedium: textTheme.headlineMedium?.copyWith(
          color: Colors.black87,
        ),
        bodySmall: textTheme.bodySmall?.copyWith(color: Colors.black),
      ),
      useMaterial3: true,
    ),
  );

  return theme.copyWith(
    cardTheme: theme.cardTheme.copyWith(
      surfaceTintColor: theme.colorScheme.surface,
    ),
    extensions: [...theme.extensions.values, AppColors.light()],
  );
}