mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-21 13:37:29 +01:00
Add custom theme class
This commit is contained in:
parent
76d2b090f3
commit
2facc4136a
27
lib/themes/custom_theme.dart
Normal file
27
lib/themes/custom_theme.dart
Normal file
@ -0,0 +1,27 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class CustomTheme {
|
||||
final Color primaryColor;
|
||||
final Color primaryText;
|
||||
final Color kunyomiColor;
|
||||
final Color kunyomiText;
|
||||
final Color onyomiColor;
|
||||
final Color onyomiText;
|
||||
final Color meaningColor;
|
||||
final Color meaningText;
|
||||
final Color errorColor;
|
||||
final Color backgroundColor;
|
||||
|
||||
const CustomTheme({
|
||||
this.primaryColor,
|
||||
this.primaryText,
|
||||
this.kunyomiColor,
|
||||
this.kunyomiText,
|
||||
this.onyomiColor,
|
||||
this.onyomiText,
|
||||
this.meaningColor,
|
||||
this.meaningText,
|
||||
this.errorColor,
|
||||
this.backgroundColor,
|
||||
});
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
final darkTheme = ThemeData(
|
||||
primaryColor: Color(0x56D926),
|
||||
);
|
Loading…
Reference in New Issue
Block a user