Add custom theme class

This commit is contained in:
Oystein Kristoffer Tveit 2020-07-22 13:17:21 +02:00
parent 76d2b090f3
commit 2facc4136a
2 changed files with 32 additions and 0 deletions

View 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,
});
}

View File

@ -0,0 +1,5 @@
import 'package:flutter/material.dart';
final darkTheme = ThemeData(
primaryColor: Color(0x56D926),
);