Skip to content

Commit f176d04

Browse files
committed
Floating action button now follow the theme
1 parent a959d0a commit f176d04

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/util/theme_manager.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ class ThemeManager {
5656
),
5757
),
5858
cardColor: backgroundColor,
59-
59+
floatingActionButtonTheme: FloatingActionButtonThemeData(
60+
backgroundColor: primaryColor,
61+
foregroundColor: foregroundColor
62+
)
6063
);
6164
return theme;
6265
}

lib/util/themes.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const editorThemes = {
193193
// Controls
194194
"background": Color(0xFF1E2127),
195195
"backgroundSecondary": Color(0xFF282C34),
196-
"foreground": Color(0xFFb9bab8),
196+
"foreground": Color(0xfffdfdfd),
197197

198198
// Colors
199199
"black": Color(0xFF000000),

0 commit comments

Comments
 (0)