fix(ui): 收敛骨架屏亮度

This commit is contained in:
Zhou Weidong committed 2026-10-27 10:49:30 +08:00
1 parent 72dcb92aca
commit 00405d2e3b
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ abstract final class AppColors {
/// 中性深灰卡片与控件表面。
static const contentCard = Color(0xFF16161A);
static const contentSurface = Color(0xFF1C1C1E);
static const skeletonSurface = Color(0xFF141414);
static const skeletonSurface = Color(0xFF0E0E0E);
static const contentChip = Color(0xFF2C2C2E);
static const contentBorder = Color(0x1AFFFFFF);
static const filterChipSelected = Color(0xFF21090E);
+1 -1
View File
@@ -11,7 +11,7 @@ const Duration _shimmerPeriod = Duration(milliseconds: 1400);
const double _shimmerTravel = 2.4;
const double _shimmerStart = -1.2;
const double _subtitleWidthFactor = 0.62;
const Color _shimmerHighlight = Color(0x38FFFFFF);
const Color _shimmerHighlight = Color(0x12FFFFFF);
/// 首页短剧网格的占位。行数至少铺满可视高度,并带一道扫光。
class DramaGridSkeleton extends StatefulWidget {
@@ -13,7 +13,7 @@ const double _gridSpacing = 8;
const double _radius = 10;
const double _horizontal = 14;
const double _sectionTop = 16;
const double _minOpacity = 0.45;
const double _minOpacity = 0.65;
const double _maxOpacity = 0.8;
const Duration _breathDuration = Duration(milliseconds: 900);
@@ -94,7 +94,7 @@ class _DramaEpisodesLoadingState extends State<DramaEpisodesLoading>
opacity: _opacity,
child: Container(
decoration: BoxDecoration(
color: AppColors.raised,
color: AppColors.skeletonSurface,
borderRadius: BorderRadius.circular(_radius),
),
),