Revert "mod: color alpha"

This reverts commit a7ffc3b05f.
This commit is contained in:
bggRGjQaUbCoE
2024-12-22 10:42:00 +08:00
parent fe2b4f6735
commit a01d54cd80
64 changed files with 168 additions and 210 deletions

View File

@@ -171,13 +171,13 @@ class _ColorSelectPageState extends State<ColorSelectPage> {
width: 46,
height: 46,
decoration: BoxDecoration(
color: e['color'].withValues(alpha: 0.8),
color: e['color'].withOpacity(0.8),
borderRadius: BorderRadius.circular(50),
border: Border.all(
width: 2,
color: ctr.currentColor.value == index
? Colors.black
: e['color'].withValues(alpha: 0.8),
: e['color'].withOpacity(0.8),
),
),
child: AnimatedOpacity(

View File

@@ -72,7 +72,7 @@ class _FontSizeSelectPageState extends State<FontSizeSelectPage> {
color: Theme.of(context)
.colorScheme
.primary
.withValues(alpha: 0.3))),
.withOpacity(0.3))),
color: Theme.of(context).colorScheme.surface,
),
child: Row(