WIP Themes: Make all fonts depend on theme
This commit is contained in:
@ -248,7 +248,9 @@ class _AlarmControlPanelControlsWidgetWidgetState extends State<AlarmControlPane
|
||||
FlatButton(
|
||||
child: Text(
|
||||
"TRIGGER",
|
||||
style: TextStyle(color: Colors.redAccent)
|
||||
style: Theme.of(context).textTheme.subhead.copyWith(
|
||||
color: Colors.redAccent
|
||||
)
|
||||
),
|
||||
onPressed: () => _askToTrigger(entity),
|
||||
)
|
||||
|
Reference in New Issue
Block a user