fix: code editor tool bar (#933)

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-10-10 09:14:41 +08:00
committed by GitHub
parent bb3e3b4848
commit bd949288ed
13 changed files with 26 additions and 345 deletions

View File

@@ -57,8 +57,10 @@ class MyApp extends StatelessWidget {
final darkTheme = ThemeData(useMaterial3: true, brightness: Brightness.dark, colorScheme: dark);
if (context.isDark && dark != null) {
UIs.primaryColor = dark.primary;
UIs.colorSeed = dark.primary;
} else if (!context.isDark && light != null) {
UIs.primaryColor = light.primary;
UIs.colorSeed = light.primary;
}
return _buildApp(context, light: lightTheme, dark: darkTheme);