theme changes
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2025-03-02 20:16:05 -06:00
parent 4a598d00d1
commit 69ce560728
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,4 @@
cupertino
cupertinoicons
fromargb
onetwothree

View File

@ -27,10 +27,14 @@ class MyApp extends StatelessWidget {
),
themeMode: ThemeMode.dark,
darkTheme: ThemeData(
useMaterial3: true,
brightness: Brightness.dark,
colorScheme: ColorScheme.fromSeed(
brightness: Brightness.dark,
onSurface: Colors.white70,
seedColor: Colors.deepOrange,
surface: Color.fromARGB(255, 32, 33, 36),
surfaceContainerLow: Color.fromARGB(255, 41, 42, 45),
),
),
initialRoute: '/',

View File

@ -24,7 +24,7 @@ class _MountWidgetState extends State<MountWidget> {
final textColor = Theme.of(context).colorScheme.onSurface;
final subTextColor =
Theme.of(context).brightness == Brightness.dark
? Colors.white70
? Colors.white38
: Colors.black87;
final isActive = mount.state == Icons.toggle_on;
@ -61,7 +61,8 @@ class _MountWidgetState extends State<MountWidget> {
trailing: IconButton(
icon: Icon(
mount.state,
color: isActive ? textColor : subTextColor,
color:
isActive ? Color.fromARGB(255, 153, 86, 66) : subTextColor,
),
onPressed:
_enabled