This commit is contained in:
2026-07-01 16:20:30 +03:00
parent 64a3f4e34e
commit e3c60c4775
35 changed files with 164 additions and 103 deletions
@@ -28,7 +28,7 @@ class ThemeSection 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: Icon(
@@ -37,7 +37,7 @@ class ThemeSection extends ConsumerWidget {
: themeMode == ThemeMode.light
? Icons.light_mode_rounded
: Icons.brightness_auto_rounded,
color: AppColors.accent,
color: const Color(0xFF7C6DED),
size: 20,
),
),
@@ -112,12 +112,12 @@ class _ThemeOption extends StatelessWidget {
padding: const EdgeInsets.symmetric(vertical: 10),
decoration: BoxDecoration(
color: isSelected
? AppColors.accent.withOpacity(0.15)
? const Color(0xFF7C6DED).withOpacity(0.15)
: (isDark ? Colors.white.withOpacity(0.05) : Colors.black.withOpacity(0.03)),
borderRadius: BorderRadius.circular(12),
border: Border.all(
color: isSelected
? AppColors.accent
? const Color(0xFF7C6DED)
: (isDark ? Colors.white.withOpacity(0.1) : Colors.black.withOpacity(0.08)),
width: isSelected ? 2 : 1,
),
@@ -128,7 +128,7 @@ class _ThemeOption extends StatelessWidget {
Icon(
icon,
color: isSelected
? AppColors.accent
? const Color(0xFF7C6DED)
: Theme.of(context).colorScheme.onSurface.withOpacity(0.5),
size: 22,
),
@@ -139,7 +139,7 @@ class _ThemeOption extends StatelessWidget {
fontSize: 11,
fontWeight: isSelected ? FontWeight.w600 : FontWeight.normal,
color: isSelected
? AppColors.accent
? const Color(0xFF7C6DED)
: Theme.of(context).colorScheme.onSurface.withOpacity(0.6),
),
textAlign: TextAlign.center,