This commit is contained in:
2026-03-22 01:05:01 +03:00
parent 8972ebdfd5
commit 70c6568a1b
5 changed files with 29 additions and 10 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ class CardColorService {
static const _key2 = 'card_color_secondary';
static const _keyGradient = 'card_gradient_type';
static const defaultPrimary = Color(0xFFD3B3C2);
static const defaultSecondary = Color(0xFF937070);
static const defaultPrimary = Color(0xFF5E5D5D);
static const defaultSecondary = Color(0xFF9E9E9E);
static const defaultPrimaryLight = Color(0xFF6A6482);
static const defaultSecondaryLight = Color(0xFF000000);
@@ -46,7 +46,7 @@ class SearchBar extends StatelessWidget {
enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(12),
borderSide: BorderSide(
color: isDark ? Colors.transparent : const Color(0xFFCCCCDD),
color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFCCCCDD),
width: 1,
),
),
@@ -64,7 +64,10 @@ class SummaryCard extends ConsumerWidget {
Border? _themeBorder(BuildContext context) {
final isDark = Theme.of(context).brightness == Brightness.dark;
return isDark ? null : Border.all(color: const Color(0xFFDDDDEE), width: 1);
return Border.all(
color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFDDDDEE),
width: 1,
);
}
@override
@@ -15,7 +15,10 @@ class TransactionTile extends ConsumerWidget {
Border? _themeBorder(BuildContext context) {
final isDark = Theme.of(context).brightness == Brightness.dark;
return isDark ? null : Border.all(color: const Color(0xFFDDDDEE), width: 1);
return Border.all(
color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFDDDDEE),
width: 1,
);
}
@override
+18 -5
View File
@@ -312,11 +312,24 @@ class _BiometricSectionState extends ConsumerState<_BiometricSection> {
],
),
),
Switch(
value: _enabled,
onChanged: _onToggle,
activeThumbColor: const Color(0xFF7C6DED),
),
if (_loading)
const SizedBox(
width: 48,
height: 32,
child: Center(
child: SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(strokeWidth: 2),
),
),
)
else
Switch(
value: _enabled,
onChanged: _onToggle,
activeThumbColor: const Color(0xFF7C6DED),
),
],
),
),