fix(flutter): 恢复播放器深色外观
This commit is contained in:
1 parent
b2284b3a74
commit
1dbe2cb8e9
6 files changed
+48
-38
No files matched your search
@@ -167,8 +167,8 @@ class PlayerPlaybackOverlay extends StatelessWidget {
|
||||
key: const Key('player-controls-bottom'),
|
||||
padding: const EdgeInsets.fromLTRB(14, 8, 14, 6),
|
||||
decoration: const BoxDecoration(
|
||||
color: AppColors.card,
|
||||
border: Border(top: BorderSide(color: AppColors.border)),
|
||||
color: AppColors.playerPanel,
|
||||
border: Border(top: BorderSide(color: AppColors.playerDivider)),
|
||||
borderRadius: BorderRadius.vertical(
|
||||
top: Radius.circular(_panelRadius),
|
||||
),
|
||||
@@ -194,6 +194,7 @@ class PlayerPlaybackOverlay extends StatelessWidget {
|
||||
semanticsLabel: data.l10n.seekVideo,
|
||||
showTimes: true,
|
||||
compact: true,
|
||||
inactiveTrackColor: Colors.white24,
|
||||
onScrubStart: actions.onScrubStart,
|
||||
onSeek: actions.onSeek,
|
||||
),
|
||||
@@ -221,7 +222,7 @@ class PlayerPlaybackOverlay extends StatelessWidget {
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
color: AppColors.onSurface,
|
||||
color: AppColors.onPrimary,
|
||||
fontFamily: 'Outfit',
|
||||
fontSize: 18 * data.textScale,
|
||||
fontWeight: FontWeight.w800,
|
||||
@@ -231,7 +232,7 @@ class PlayerPlaybackOverlay extends StatelessWidget {
|
||||
const SizedBox(width: 6),
|
||||
const Icon(
|
||||
Icons.chevron_right_rounded,
|
||||
color: AppColors.muted,
|
||||
color: AppColors.playerMuted,
|
||||
size: 20,
|
||||
),
|
||||
],
|
||||
@@ -246,13 +247,18 @@ class PlayerPlaybackOverlay extends StatelessWidget {
|
||||
children: [
|
||||
Expanded(
|
||||
child: Material(
|
||||
color: Colors.transparent,
|
||||
color: AppColors.playerChip,
|
||||
borderRadius: BorderRadius.circular(999),
|
||||
clipBehavior: Clip.antiAlias,
|
||||
child: InkWell(
|
||||
key: const Key('player-episodes'),
|
||||
onTap: actions.onEpisodes,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
borderRadius: BorderRadius.circular(999),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 4),
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 12,
|
||||
vertical: 4,
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
Flexible(
|
||||
@@ -263,7 +269,7 @@ class PlayerPlaybackOverlay extends StatelessWidget {
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(
|
||||
color: AppColors.onSurface,
|
||||
color: AppColors.onPrimary,
|
||||
fontSize: 11,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
@@ -272,7 +278,7 @@ class PlayerPlaybackOverlay extends StatelessWidget {
|
||||
const SizedBox(width: 3),
|
||||
const Icon(
|
||||
Icons.keyboard_arrow_up_rounded,
|
||||
color: AppColors.onSurface,
|
||||
color: AppColors.onPrimary,
|
||||
size: 16,
|
||||
),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user