feat:更新主题颜色布局

This commit is contained in:
2026-04-30 17:25:52 +08:00
parent 43c4f4e6fa
commit 6838d84cec
5 changed files with 45 additions and 43 deletions

View File

@@ -106,13 +106,13 @@ class _SchedulePageState extends State<SchedulePage> {
Widget build(BuildContext context) {
return ScaffoldPage.withPadding(
header: PageHeader(
title: const Text('日程安排'),
title: const Text('日程安排', style: TextStyle(color: Colors.white)),
commandBar: CommandBar(
mainAxisAlignment: MainAxisAlignment.end,
primaryItems: [
CommandBarButton(
icon: const Icon(FluentIcons.add),
label: const Text('添加日程'),
icon: const Icon(FluentIcons.add, color: Colors.white),
label: const Text('添加日程', style: TextStyle(color: Colors.white)),
onPressed: () => _addSchedule(null),
),
],
@@ -146,27 +146,36 @@ class _SchedulePageState extends State<SchedulePage> {
value: 'week',
label: Text(
'周视图',
style: TextStyle(fontFamily: 'CustomFont'),
style: TextStyle(
fontFamily: 'CustomFont',
color: Colors.white,
),
),
),
ButtonSegment(
value: 'month',
label: Text(
'月视图',
style: TextStyle(fontFamily: 'CustomFont'),
style: TextStyle(
fontFamily: 'CustomFont',
color: Colors.white,
),
),
),
ButtonSegment(
value: 'schedule',
label: Text(
'日程视图',
style: TextStyle(fontFamily: 'CustomFont'),
style: TextStyle(
fontFamily: 'CustomFont',
color: Colors.white,
),
),
),
],
),
const SizedBox(height: 20),
Expanded(child: _buildSfCalendar()),
Expanded(child: Card(child: _buildSfCalendar())),
],
),
),