Jisho-Study-Tool/lib/models/themes/dark.dart

53 lines
1.2 KiB
Dart
Raw Normal View History

2021-08-08 23:16:54 +02:00
part of './theme.dart';
class DarkTheme 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.green,
);
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.white,
background: Colors.grey.shade700,
);
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.black,
background: Colors.grey.shade300,
);
@override
ThemeData getMaterialTheme() {
return ThemeData(
brightness: Brightness.dark,
primarySwatch: createMaterialColor(AppTheme.jishoGreen.background),
);
}
}