WIP Themes: Make all fonts depend on theme
This commit is contained in:
@ -27,10 +27,7 @@ class VacuumStateButton extends StatelessWidget {
|
||||
text: "RETURN TO DOCK"
|
||||
);
|
||||
} else {
|
||||
result = Text(entity.state.toUpperCase(), style: TextStyle(
|
||||
fontSize: 16,
|
||||
color: Colors.grey
|
||||
));
|
||||
result = Text(entity.state.toUpperCase(), style: Theme.of(context).textTheme.subhead);
|
||||
}
|
||||
return Padding(
|
||||
padding: EdgeInsets.only(right: 15),
|
||||
|
Reference in New Issue
Block a user