更新样式

This commit is contained in:
wyf
2025-11-18 10:21:33 +08:00
parent a0172b394b
commit 0ebe7116f6
37 changed files with 325 additions and 161 deletions

View File

@@ -99,7 +99,7 @@ class _DynamicReportDetailWidgetState extends State<DynamicReportDetailWidget> {
},
child: Container(
constraints: BoxConstraints(
maxWidth: MediaQuery.sizeOf(context).width * 0.6,
maxWidth: MediaQuery.sizeOf(context).width * 0.5,
),
child: Text(
'${targetDevice['person']?['name'] == null ? '未命名'.tr : targetDevice['person']['name']}',

View File

@@ -119,7 +119,7 @@ class _SleepDateWidgetState extends State<SleepDateWidget> {
fontSize: 48.rpx,
letterSpacing: 0.0,
color: widget.textColor ??
themeController.currentColor.sc4,
themeController.currentColor.sc3,
fontWeight: FontWeight.w500, // 加粗
),
),
@@ -161,7 +161,7 @@ class _SleepDateWidgetState extends State<SleepDateWidget> {
16.rpx, 0, 16.rpx, 0),
iconPadding: EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0),
color: widget.textColor ??
themeController.currentColor.sc4,
themeController.currentColor.sc4.withOpacity(0.2),
textStyle: TextStyle(
// fontFamily: 'Inter Tight',
color: themeController.currentColor.sc3,