mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-22 05:57:28 +01:00
68 lines
1.6 KiB
Dart
68 lines
1.6 KiB
Dart
part of './theme.dart';
|
|
|
|
class LightTheme extends AppTheme {
|
|
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,
|
|
);
|
|
|
|
@override
|
|
ColorSet get kanjiResultColor => defaultKanjiResultColor;
|
|
|
|
@override
|
|
ColorSet get onyomiColor => defaultOnyomiColor;
|
|
|
|
@override
|
|
ColorSet get kunyomiColor => defaultKunyomiColor;
|
|
|
|
@override
|
|
Color get foreground => defaultForeground;
|
|
@override
|
|
Color get background => defaultBackground;
|
|
|
|
@override
|
|
ColorSet get menuGreyLight => defaultMenuGreyLight;
|
|
@override
|
|
ColorSet get menuGreyNormal => defaultMenuGreyNormal;
|
|
|
|
@override
|
|
ColorSet get menuGreyDark => defaultMenuGreyDark;
|
|
|
|
@override
|
|
ThemeData getMaterialTheme() {
|
|
return ThemeData(
|
|
brightness: Brightness.light,
|
|
primarySwatch: createMaterialColor(AppTheme.jishoGreen.background),
|
|
// primarySwatch: Colors.green,
|
|
);
|
|
}
|
|
}
|