mirror of
https://github.com/koloideal/Casha.git
synced 2026-08-08 17:51:14 +03:00
step
This commit is contained in:
@@ -31,12 +31,12 @@ class CurrencySection extends ConsumerWidget {
|
||||
Container(
|
||||
padding: const EdgeInsets.all(10),
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.accent.withOpacity(0.15),
|
||||
color: const Color(0xFF7C6DED).withOpacity(0.15),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
child: const Icon(
|
||||
Icons.attach_money_rounded,
|
||||
color: AppColors.accent,
|
||||
color: const Color(0xFF7C6DED),
|
||||
size: 20,
|
||||
),
|
||||
),
|
||||
@@ -68,11 +68,11 @@ class CurrencySection extends ConsumerWidget {
|
||||
padding: const EdgeInsets.symmetric(vertical: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: isSelected
|
||||
? AppColors.accent.withOpacity(0.2)
|
||||
? const Color(0xFF7C6DED).withOpacity(0.2)
|
||||
: Theme.of(context).scaffoldBackgroundColor,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: isSelected
|
||||
? Border.all(color: AppColors.accent, width: 1.5)
|
||||
? Border.all(color: const Color(0xFF7C6DED), width: 1.5)
|
||||
: (isDark
|
||||
? null
|
||||
: Border.all(
|
||||
@@ -90,7 +90,7 @@ class CurrencySection extends ConsumerWidget {
|
||||
child: BynSign(
|
||||
fontSize: 24,
|
||||
color: isSelected
|
||||
? AppColors.accent
|
||||
? const Color(0xFF7C6DED)
|
||||
: Theme.of(context).colorScheme.onSurface
|
||||
.withOpacity(0.6),
|
||||
),
|
||||
@@ -101,7 +101,7 @@ class CurrencySection extends ConsumerWidget {
|
||||
style: Theme.of(context).textTheme.titleLarge
|
||||
?.copyWith(
|
||||
color: isSelected
|
||||
? AppColors.accent
|
||||
? const Color(0xFF7C6DED)
|
||||
: Theme.of(context)
|
||||
.colorScheme
|
||||
.onSurface
|
||||
@@ -117,7 +117,7 @@ class CurrencySection extends ConsumerWidget {
|
||||
style: Theme.of(context).textTheme.bodySmall
|
||||
?.copyWith(
|
||||
color: isSelected
|
||||
? AppColors.accent
|
||||
? const Color(0xFF7C6DED)
|
||||
: Theme.of(context).colorScheme.onSurface
|
||||
.withOpacity(0.6),
|
||||
fontWeight: isSelected
|
||||
|
||||
Reference in New Issue
Block a user