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