add theme color

This commit is contained in:
jyuesong
2022-01-14 09:40:58 +08:00
parent b0357b0827
commit 572deec31b
37 changed files with 334 additions and 261 deletions

View File

@@ -57,7 +57,13 @@ class _ConfigPageState extends State<ConfigPage> {
),
const Spacer(),
CupertinoButton(
child: const Text("编辑"),
child: Text(
"编辑",
style: TextStyle(
color: Theme.of(context).primaryColor,
fontSize: 16,
),
),
onPressed: () {
Navigator.of(context).pushNamed(Routes.route_ConfigEdit, arguments: {
"title": model.title,