mirror of
http://nostr-git-proxy.forgejo.svc.cluster.local/git/45387ca441053e230b2126802005eb03767ab59d84555e8bac86b6e7def14e27/myadhd-flutter
synced 2026-11-20 19:43:03 +00:00
41 lines
1.3 KiB
Dart
41 lines
1.3 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// Calm, low-stimulation dark palette matching myadhd.dev
|
|
class AppTheme {
|
|
static const Color bg = Color(0xFF14141C);
|
|
static const Color bg2 = Color(0xFF1B1B26);
|
|
static const Color card = Color(0xFF1E1E2A);
|
|
static const Color line = Color(0xFF2C2C3C);
|
|
static const Color text = Color(0xFFE6E6F0);
|
|
static const Color dim = Color(0xFF9C9CB4);
|
|
static const Color accent = Color(0xFFA78BFA);
|
|
static const Color accentDim = Color(0xFF6D5AA8);
|
|
static const Color good = Color(0xFF7DD3A0);
|
|
static const Color warm = Color(0xFFF9C846);
|
|
|
|
static ThemeData get darkTheme {
|
|
return ThemeData(
|
|
brightness: Brightness.dark,
|
|
scaffoldBackgroundColor: bg,
|
|
colorScheme: const ColorScheme.dark(
|
|
background: bg,
|
|
surface: card,
|
|
primary: accent,
|
|
secondary: good,
|
|
onBackground: text,
|
|
onSurface: text,
|
|
),
|
|
cardTheme: CardTheme(
|
|
color: card,
|
|
shape: RoundedRectangleBorder(
|
|
borderRadius: BorderRadius.circular(18),
|
|
side: const BorderSide(color: line, width: 1.5),
|
|
),
|
|
),
|
|
textTheme: const TextTheme(
|
|
bodyMedium: TextStyle(color: text, height: 1.6),
|
|
bodySmall: TextStyle(color: dim),
|
|
),
|
|
);
|
|
}
|
|
}
|