2021-08-08 23:16:54 +02:00
|
|
|
part of './theme.dart';
|
|
|
|
|
|
|
|
class LightTheme extends AppTheme {
|
2022-01-17 14:50:01 +01:00
|
|
|
const LightTheme() : super();
|
|
|
|
|
|
|
|
static const ColorSet defaultKanjiResultColor = ColorSet(
|
|
|
|
foreground: Colors.white,
|
|
|
|
background: Colors.blue,
|
|
|
|
);
|
|
|
|
|
|
|
|
static const ColorSet defaultOnyomiColor = ColorSet(
|
|
|
|
foreground: Colors.white,
|
|
|
|
background: Colors.orange,
|
|
|
|
);
|
|
|
|
|
|
|
|
static const ColorSet defaultKunyomiColor = ColorSet(
|
|
|
|
foreground: Colors.white,
|
|
|
|
background: Colors.lightBlue,
|
|
|
|
);
|
|
|
|
|
|
|
|
static const Color defaultForeground = Colors.black;
|
|
|
|
static const Color defaultBackground = Colors.white;
|
|
|
|
|
|
|
|
static final defaultMenuGreyLight = ColorSet(
|
|
|
|
foreground: Colors.black,
|
|
|
|
background: Colors.grey.shade300,
|
|
|
|
);
|
|
|
|
static const defaultMenuGreyNormal = ColorSet(
|
|
|
|
foreground: Colors.white,
|
|
|
|
background: Colors.grey,
|
|
|
|
);
|
|
|
|
static final defaultMenuGreyDark = ColorSet(
|
|
|
|
foreground: Colors.white,
|
|
|
|
background: Colors.grey.shade700,
|
|
|
|
);
|
|
|
|
|
2021-12-01 23:09:53 +01:00
|
|
|
@override
|
2022-01-17 14:50:01 +01:00
|
|
|
ColorSet get kanjiResultColor => defaultKanjiResultColor;
|
2021-08-08 23:16:54 +02:00
|
|
|
|
2021-12-01 23:09:53 +01:00
|
|
|
@override
|
2022-01-17 14:50:01 +01:00
|
|
|
ColorSet get onyomiColor => defaultOnyomiColor;
|
2021-08-08 23:16:54 +02:00
|
|
|
|
2021-12-01 23:09:53 +01:00
|
|
|
@override
|
2022-01-17 14:50:01 +01:00
|
|
|
ColorSet get kunyomiColor => defaultKunyomiColor;
|
2021-08-08 23:16:54 +02:00
|
|
|
|
2021-12-01 23:09:53 +01:00
|
|
|
@override
|
2022-01-17 14:50:01 +01:00
|
|
|
Color get foreground => defaultForeground;
|
2021-12-01 23:09:53 +01:00
|
|
|
@override
|
2022-01-17 14:50:01 +01:00
|
|
|
Color get background => defaultBackground;
|
2021-08-08 23:16:54 +02:00
|
|
|
|
2021-12-01 23:09:53 +01:00
|
|
|
@override
|
2022-01-17 14:50:01 +01:00
|
|
|
ColorSet get menuGreyLight => defaultMenuGreyLight;
|
2021-12-01 23:09:53 +01:00
|
|
|
@override
|
2022-01-17 14:50:01 +01:00
|
|
|
ColorSet get menuGreyNormal => defaultMenuGreyNormal;
|
2021-08-08 23:16:54 +02:00
|
|
|
|
2021-12-01 23:09:53 +01:00
|
|
|
@override
|
2022-01-17 14:50:01 +01:00
|
|
|
ColorSet get menuGreyDark => defaultMenuGreyDark;
|
2021-08-08 23:16:54 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
ThemeData getMaterialTheme() {
|
|
|
|
return ThemeData(
|
|
|
|
brightness: Brightness.light,
|
|
|
|
primarySwatch: createMaterialColor(AppTheme.jishoGreen.background),
|
|
|
|
// primarySwatch: Colors.green,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|