defaultComponents static method

NomoComponentColors defaultComponents(
  1. NomoColors core
)

Implementation

static NomoComponentColors defaultComponents(NomoColors core) =>
    NomoComponentColors._(
      outlineContainerTheme: NomoOutlineContainerThemeData(
        foreground: core.foreground1,
        background: core.background,
      ),
      appBarTheme: NomoAppBarColorData(
        backgroundColor: core.background,
      ),
      scaffoldTheme: NomoScaffoldColorData(
        backgroundColor: core.background,
      ),
      bottomBarTheme: NomoBottomBarColorData(
        background: core.primaryContainer,
        borderRadius: BorderRadius.circular(8),
        foreground: core.foreground1,
        selectedForeground: core.primary,
      ),
      siderTheme: NomoSiderColorData(
        backgroundColor: core.background,
      ),
      verticalMenuTheme: NomoVerticalMenuColorData(
        foreground: core.foreground1,
        background: core.background,
        selectedBackground: core.primary.lighten(0.25),
        selectedForeground: core.primary,
        borderRadius: BorderRadius.circular(6),
      ),
    );