Fix section text color for dark theme
This commit is contained in:
parent
89513ca4e5
commit
022622522f
@ -25,9 +25,9 @@ class DefaultEntityContainer extends StatelessWidget {
|
||||
Divider(),
|
||||
Text(
|
||||
"${entityModel.entityWrapper.entity.displayName}",
|
||||
style: Theme.of(context).textTheme.body1.copyWith(
|
||||
color: Theme.of(context).primaryColor
|
||||
),
|
||||
style: HAClientTheme().getLinkTextStyle(context).copyWith(
|
||||
decoration: TextDecoration.none
|
||||
)
|
||||
)
|
||||
],
|
||||
);
|
||||
|
@ -2,6 +2,10 @@ part of '../main.dart';
|
||||
|
||||
class HAClientTheme {
|
||||
|
||||
static const DEFAULT = 0;
|
||||
static const DARK = 1;
|
||||
static const HOMEASSISTANT = 2;
|
||||
|
||||
static const TextTheme textTheme = TextTheme(
|
||||
display1: TextStyle(fontSize: 34, fontWeight: FontWeight.normal),
|
||||
display2: TextStyle(fontSize: 34, fontWeight: FontWeight.normal),
|
||||
|
Reference in New Issue
Block a user