Add luminous Dock icon halos for clearer glass contrast
This commit is contained in:
@@ -297,15 +297,31 @@ class _GlassDockState extends State<GlassDock> with TickerProviderStateMixin {
|
||||
size: 25,
|
||||
color: index == _position.round().clamp(0, 2)
|
||||
? _blue
|
||||
: _blue.withValues(alpha: 0.48),
|
||||
: _blue.withValues(alpha: 0.72),
|
||||
shadows: [
|
||||
Shadow(
|
||||
color: _blue.withValues(
|
||||
alpha: index == _position.round().clamp(0, 2)
|
||||
? 0.20
|
||||
: 0.08,
|
||||
? 0.60
|
||||
: 0.38,
|
||||
),
|
||||
blurRadius: 6,
|
||||
blurRadius: 8,
|
||||
),
|
||||
Shadow(
|
||||
color: const Color(0xFFEAF4FF).withValues(
|
||||
alpha: index == _position.round().clamp(0, 2)
|
||||
? 0.95
|
||||
: 0.85,
|
||||
),
|
||||
blurRadius: 2.8,
|
||||
),
|
||||
Shadow(
|
||||
color: _blue.withValues(
|
||||
alpha: index == _position.round().clamp(0, 2)
|
||||
? 0.34
|
||||
: 0.22,
|
||||
),
|
||||
blurRadius: 1.4,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
name: hepan_everyday
|
||||
description: TPSchedule 学生课表
|
||||
publish_to: none
|
||||
version: 0.5.5+13
|
||||
version: 0.5.6+14
|
||||
environment:
|
||||
sdk: ^3.13.5
|
||||
dependencies:
|
||||
|
||||
Reference in New Issue
Block a user