lightTheme_default static method

ThemeData lightTheme_default()

Implementation

static ThemeData lightTheme_default() {
  final ThemeData themeData = ThemeData.light();
  const colorScheme = ColorScheme.light();

  final textTheme = Typography().black;
  return themeData.copyWith(
    primaryColor: const Color.fromARGB(255, 214, 216, 223),

    /// from vs code tokyo night light theme
    shadowColor: const Color.fromARGB(255, 0, 0, 0).withAlpha(110),
    textTheme: textTheme
        .apply(
          fontFamily: "Poppins",
          package: "general_lib_assets_flutter",
        )
        .copyWith(
          bodySmall: (textTheme.bodySmall ??
                  themeData.textTheme.bodySmall ??
                  const TextStyle())
              .copyWith(
            color: Colors.black,
          ),
        ),
    indicatorColor: Colors.black,
    dialogBackgroundColor: Colors.white,
    cardColor: Colors.grey,
    appBarTheme: themeData.appBarTheme.copyWith(
      backgroundColor: const Color.fromARGB(
          255, 214, 216, 223), // old themeData.scaffoldBackgroundColor,
      surfaceTintColor: const Color.fromARGB(
          255, 214, 216, 223), // old themeData.scaffoldBackgroundColor,
    ),
    colorScheme: colorScheme.copyWith(
      primary: Colors.black,
      secondary: Colors.white,
      surface: const Color.fromARGB(255, 230, 231, 237),

      /// from vs code tokyo night light theme
    ),
    highlightColor: Colors.indigo,
    textSelectionTheme: themeData.textSelectionTheme.copyWith(
      cursorColor: Colors.black,
      selectionColor: Colors.black.withOpacity(0.4),
    ),
    scaffoldBackgroundColor: const Color.fromARGB(255, 230, 231, 237),
  );
}