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

@@ -126,7 +126,7 @@ class _LoginPageState extends State<LoginPage> {
color: Theme.of(context)
.colorScheme
.onSurface
.withValues(alpha: 0.4),
.withOpacity(0.4),
),
),
),
@@ -138,7 +138,7 @@ class _LoginPageState extends State<LoginPage> {
color: Theme.of(context)
.colorScheme
.onSurface
.withValues(alpha: 0.4)))),
.withOpacity(0.4)))),
],
);
}
@@ -278,7 +278,7 @@ class _LoginPageState extends State<LoginPage> {
color: Theme.of(context)
.colorScheme
.onSurface
.withValues(alpha: 0.4)))),
.withOpacity(0.4)))),
],
);
}
@@ -294,10 +294,8 @@ class _LoginPageState extends State<LoginPage> {
child: Container(
decoration: UnderlineTabIndicator(
borderSide: BorderSide(
color: Theme.of(context)
.colorScheme
.outline
.withValues(alpha: 0.4)),
color:
Theme.of(context).colorScheme.outline.withOpacity(0.4)),
),
child: Row(
children: [
@@ -339,7 +337,7 @@ class _LoginPageState extends State<LoginPage> {
color: Theme.of(context)
.colorScheme
.outline
.withValues(alpha: 0.5),
.withOpacity(0.5),
),
),
const SizedBox(width: 6),
@@ -367,10 +365,8 @@ class _LoginPageState extends State<LoginPage> {
child: Container(
decoration: UnderlineTabIndicator(
borderSide: BorderSide(
color: Theme.of(context)
.colorScheme
.outline
.withValues(alpha: 0.4)),
color:
Theme.of(context).colorScheme.outline.withOpacity(0.4)),
),
child: Row(
children: [
@@ -418,7 +414,7 @@ class _LoginPageState extends State<LoginPage> {
color: Theme.of(context)
.colorScheme
.onSurface
.withValues(alpha: 0.4)))),
.withOpacity(0.4)))),
],
);
}