Add custom theme class
This commit is contained in:
parent
76d2b090f3
commit
2facc4136a
|
@ -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