light static method

ThemeData light(
  1. BuildContext context
)

Implementation

static ThemeData light(BuildContext context) => ThemeData(
  splashFactory: NoSplash.splashFactory,
  brightness: Brightness.light,
  fontFamily: 'Satoshi',
  focusColor: _lightColors.primary500,
  primaryColor: _lightColors.primary500,
  scaffoldBackgroundColor: _lightColors.backgroundPrimary,
  cardColor: _lightColors.backgroundPrimary,
  dividerColor: _lightColors.borderSubtle,
  highlightColor: Colors.transparent,
  hintColor: _lightColors.textDisable,
  splashColor: Colors.transparent,
  tabBarTheme: TabBarThemeData(dividerColor: Colors.transparent),
  bottomNavigationBarTheme: BottomNavigationBarThemeData(
    backgroundColor: _lightColors.backgroundPrimary,
    elevation: 1,
    selectedItemColor: _lightColors.primary500,
    unselectedItemColor: _lightColors.textTips,
    unselectedLabelStyle: context.f11Medium,
    selectedLabelStyle: context.f11Medium,
  ),
  appBarTheme: AppBarTheme(
    backgroundColor: _lightColors.backgroundPrimary,
    iconTheme: IconThemeData(color: _lightColors.textPrimary),
    titleTextStyle: context.f18MediumTextPrimary.copyWith(letterSpacing: 0),
    centerTitle: true,
    elevation: 0,
    toolbarHeight: 54,
    scrolledUnderElevation: 0,
  ),
  textSelectionTheme: TextSelectionThemeData(
    cursorColor: _lightColors.primary500,
    selectionHandleColor: _lightColors.primary100,
  ),
);