update style

This commit is contained in:
jyuesong
2022-01-19 09:15:31 +08:00
parent 0a2e9a3c09
commit ca6f1db16f
11 changed files with 46 additions and 67 deletions

View File

@@ -187,7 +187,7 @@ class DependencyCell extends ConsumerWidget {
maxLines: 1,
style: TextStyle(
overflow: TextOverflow.ellipsis,
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 18,
),
),
@@ -220,7 +220,7 @@ class DependencyCell extends ConsumerWidget {
maxLines: 1,
style: TextStyle(
overflow: TextOverflow.ellipsis,
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 18,
),
),

View File

@@ -50,7 +50,7 @@ class _LoginLogPageState extends ConsumerState<LoginLogPage> with LazyLoadState<
Utils.formatMessageTime(item.timestamp ?? 0),
style: TextStyle(
fontSize: 16,
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
),
),
subtitle: Column(

View File

@@ -57,7 +57,7 @@ class _OtherPageState extends ConsumerState<OtherPage> {
Text(
"脚本管理",
style: TextStyle(
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 16,
),
),
@@ -90,7 +90,7 @@ class _OtherPageState extends ConsumerState<OtherPage> {
Text(
"依赖管理",
style: TextStyle(
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 16,
),
),
@@ -123,7 +123,7 @@ class _OtherPageState extends ConsumerState<OtherPage> {
Text(
"任务日志",
style: TextStyle(
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 16,
),
),
@@ -157,7 +157,7 @@ class _OtherPageState extends ConsumerState<OtherPage> {
Text(
"登录日志",
style: TextStyle(
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 16,
),
),
@@ -202,7 +202,7 @@ class _OtherPageState extends ConsumerState<OtherPage> {
Text(
"夜间模式",
style: TextStyle(
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 16,
),
),

View File

@@ -53,7 +53,7 @@ class _ScriptPageState extends ConsumerState<ScriptPage> {
style: TextStyle(
color: (item.disabled ?? false)
? ref.watch(themeProvider).themeColor.descColor()
: ref.watch(themeProvider).themeColor.taskTitleColor(),
: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 16,
),
),
@@ -73,7 +73,7 @@ class _ScriptPageState extends ConsumerState<ScriptPage> {
style: TextStyle(
color: (item.disabled ?? false)
? ref.watch(themeProvider).themeColor.descColor()
: ref.watch(themeProvider).themeColor.taskTitleColor(),
: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 14,
),
),
@@ -95,7 +95,7 @@ class _ScriptPageState extends ConsumerState<ScriptPage> {
style: TextStyle(
color: (item.disabled ?? false)
? ref.watch(themeProvider).themeColor.descColor()
: ref.watch(themeProvider).themeColor.taskTitleColor(),
: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 16,
),
),

View File

@@ -46,7 +46,7 @@ class _TaskLogPageState extends ConsumerState<TaskLogPage> with LazyLoadState<Ta
title: Text(
item.name ?? "",
style: TextStyle(
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 16,
),
),
@@ -58,7 +58,7 @@ class _TaskLogPageState extends ConsumerState<TaskLogPage> with LazyLoadState<Ta
title: Text(
e,
style: TextStyle(
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 14,
),
),
@@ -72,7 +72,7 @@ class _TaskLogPageState extends ConsumerState<TaskLogPage> with LazyLoadState<Ta
title: Text(
item.name ?? "",
style: TextStyle(
color: ref.watch(themeProvider).themeColor.taskTitleColor(),
color: ref.watch(themeProvider).themeColor.titleColor(),
fontSize: 16,
),
),