mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-02-04 07:20:39 +00:00
hardcode dark theme on linux for now
This commit is contained in:
parent
c5fa712ef0
commit
9cec5e901a
|
@ -30,7 +30,9 @@ abstract class AppThemeFactory {
|
|||
GtkThemeData themeData = await GtkThemeData.initialize();
|
||||
gtkColorsScheme = ColorScheme.fromSeed(
|
||||
seedColor: Color(themeData.theme_selected_bg_color),
|
||||
brightness: brightness,
|
||||
brightness: Color(themeData.theme_base_color).computeLuminance() > 0.5
|
||||
? Brightness.light
|
||||
: Brightness.dark,
|
||||
background: Color(themeData.theme_bg_color),
|
||||
surface: Color(themeData.theme_base_color),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue