mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 09:28:23 +00:00
Merge pull request #3386 from NicKoehler/dark-theme-fix
dark theme color fix
This commit is contained in:
commit
17f1c18c92
1 changed files with 7 additions and 3 deletions
|
|
@ -189,7 +189,9 @@ class MyTheme {
|
|||
style: ButtonStyle(splashFactory: NoSplash.splashFactory),
|
||||
)
|
||||
: null,
|
||||
colorScheme: ColorScheme.fromSwatch(primarySwatch: Colors.blue).copyWith(
|
||||
colorScheme: ColorScheme.fromSwatch(
|
||||
primarySwatch: Colors.blue,
|
||||
).copyWith(
|
||||
brightness: Brightness.light,
|
||||
background: Color(0xFFEEEEEE),
|
||||
),
|
||||
|
|
@ -229,9 +231,11 @@ class MyTheme {
|
|||
checkboxTheme:
|
||||
const CheckboxThemeData(checkColor: MaterialStatePropertyAll(dark)),
|
||||
colorScheme: ColorScheme.fromSwatch(
|
||||
brightness: Brightness.dark,
|
||||
primarySwatch: Colors.blue,
|
||||
).copyWith(background: Color(0xFF24252B)),
|
||||
).copyWith(
|
||||
brightness: Brightness.dark,
|
||||
background: Color(0xFF24252B),
|
||||
),
|
||||
).copyWith(
|
||||
extensions: <ThemeExtension<dynamic>>[
|
||||
ColorThemeExtension.dark,
|
||||
|
|
|
|||
Loading…
Reference in a new issue