mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 18:35:28 +03:00
stableee
This commit is contained in:
@@ -8,8 +8,8 @@ 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';
|
||||||
|
|
||||||
static const defaultPrimary = Color(0xFFD3B3C2);
|
static const defaultPrimary = Color(0xFF5E5D5D);
|
||||||
static const defaultSecondary = Color(0xFF937070);
|
static const defaultSecondary = Color(0xFF9E9E9E);
|
||||||
|
|
||||||
static const defaultPrimaryLight = Color(0xFF6A6482);
|
static const defaultPrimaryLight = Color(0xFF6A6482);
|
||||||
static const defaultSecondaryLight = Color(0xFF000000);
|
static const defaultSecondaryLight = Color(0xFF000000);
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class SearchBar extends StatelessWidget {
|
|||||||
enabledBorder: OutlineInputBorder(
|
enabledBorder: OutlineInputBorder(
|
||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
borderSide: BorderSide(
|
borderSide: BorderSide(
|
||||||
color: isDark ? Colors.transparent : const Color(0xFFCCCCDD),
|
color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFCCCCDD),
|
||||||
width: 1,
|
width: 1,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -64,7 +64,10 @@ class SummaryCard extends ConsumerWidget {
|
|||||||
|
|
||||||
Border? _themeBorder(BuildContext context) {
|
Border? _themeBorder(BuildContext context) {
|
||||||
final isDark = Theme.of(context).brightness == Brightness.dark;
|
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
|
@override
|
||||||
|
|||||||
@@ -15,7 +15,10 @@ class TransactionTile extends ConsumerWidget {
|
|||||||
|
|
||||||
Border? _themeBorder(BuildContext context) {
|
Border? _themeBorder(BuildContext context) {
|
||||||
final isDark = Theme.of(context).brightness == Brightness.dark;
|
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
|
@override
|
||||||
|
|||||||
@@ -312,11 +312,24 @@ class _BiometricSectionState extends ConsumerState<_BiometricSection> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Switch(
|
if (_loading)
|
||||||
value: _enabled,
|
const SizedBox(
|
||||||
onChanged: _onToggle,
|
width: 48,
|
||||||
activeThumbColor: const Color(0xFF7C6DED),
|
height: 32,
|
||||||
),
|
child: Center(
|
||||||
|
child: SizedBox(
|
||||||
|
width: 20,
|
||||||
|
height: 20,
|
||||||
|
child: CircularProgressIndicator(strokeWidth: 2),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
else
|
||||||
|
Switch(
|
||||||
|
value: _enabled,
|
||||||
|
onChanged: _onToggle,
|
||||||
|
activeThumbColor: const Color(0xFF7C6DED),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user