mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-16 09:34:06 +01:00
Reformat the whole codebase with 100 line width (#3403)
This commit is contained in:
@@ -255,14 +255,14 @@ abstract class ThemeStoreBase with Store {
|
||||
return savedDark;
|
||||
}
|
||||
} catch (_) {}
|
||||
|
||||
|
||||
// If no saved dark theme, check if current theme is BlackTheme with accent colors
|
||||
// and preserve it when switching to dark mode
|
||||
if (_currentTheme is BlackTheme) {
|
||||
final currentBlackTheme = _currentTheme as BlackTheme;
|
||||
return BlackTheme(currentBlackTheme.accentColor, isOled: currentBlackTheme.isOled);
|
||||
}
|
||||
|
||||
|
||||
return ThemeList.darkTheme;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,25 +4,25 @@ import 'package:cake_wallet/themes/core/custom_theme_colors.dart';
|
||||
class LightThemeCustomColors extends CustomThemeColors {
|
||||
@override
|
||||
Color get warningContainerColor => const Color(0xFFFFCC00);
|
||||
|
||||
|
||||
@override
|
||||
Color get warningOutlineColor => const Color(0xFF312938);
|
||||
|
||||
@override
|
||||
Color get backgroundMainColor => const Color(0xFF000000);
|
||||
|
||||
|
||||
@override
|
||||
Color get backgroundGradientColor => const Color(0xFFE7E7FD);
|
||||
|
||||
|
||||
@override
|
||||
Color get cardGradientColorPrimary => const Color(0xFFFFFFFF);
|
||||
|
||||
|
||||
@override
|
||||
Color get cardGradientColorSecondary => const Color(0xFFF3F3FF);
|
||||
|
||||
|
||||
@override
|
||||
Color get toggleKnobStateColor => const Color(0xFFFFFFFF);
|
||||
|
||||
|
||||
@override
|
||||
Color get toggleColorOffState => const Color(0xFFCACAE7);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user