mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 18:35:28 +03:00
update
This commit is contained in:
@@ -8,15 +8,14 @@ class CardColorService {
|
|||||||
static const _key2 = 'card_color_secondary';
|
static const _key2 = 'card_color_secondary';
|
||||||
static const _keyGradient = 'card_gradient_type';
|
static const _keyGradient = 'card_gradient_type';
|
||||||
|
|
||||||
// DARK theme defaults — lighter, more vibrant purples
|
static const defaultPrimary = Color(0xFF111827);
|
||||||
static const defaultPrimary = Color(0xFF9B8FFF); // light violet
|
static const defaultSecondary = Color(0xFFF59E0B);
|
||||||
static const defaultSecondary = Color(0xFF6B5DD3); // medium purple
|
|
||||||
|
|
||||||
// LIGHT theme defaults — deep, saturated darks
|
static const defaultPrimaryLight = Color(0xFF1F2937);
|
||||||
static const defaultPrimaryLight = Color(0xFF2D1B8E); // deep indigo
|
static const defaultSecondaryLight = Color(0xFFFBBF24);
|
||||||
static const defaultSecondaryLight = Color(0xFF1A0F5C); // very dark navy
|
|
||||||
|
static const defaultGradient = GradientType.sweep;
|
||||||
|
|
||||||
static const defaultGradient = GradientType.linear;
|
|
||||||
|
|
||||||
static Future<(Color, Color, GradientType)> load() async {
|
static Future<(Color, Color, GradientType)> load() async {
|
||||||
final prefs = await SharedPreferences.getInstance();
|
final prefs = await SharedPreferences.getInstance();
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ class SettingsScreen extends ConsumerWidget {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 32),
|
const SizedBox(height: 32),
|
||||||
const _FooterWidget(),
|
const _FooterWidget(),
|
||||||
|
const SizedBox(height: 32),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user