Skip to content

Commit 393af39

Browse files
committed
Change banana theme
1 parent 97a19f6 commit 393af39

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

addons/banana/lib/banana.dart

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,33 @@ class MakeRootSayBanana extends DictionariesAddon {
4343
codeTheme: DictionariesTheme.defaultCodeTheme,
4444
darkTheme: null,
4545
lightTheme: ThemeData(
46-
colorScheme: ColorScheme.fromSeed(seedColor: Colors.yellow),
46+
brightness: Brightness.light,
47+
48+
colorScheme: ColorScheme.fromSeed(
49+
seedColor: Colors.yellow,
50+
primary: Colors.yellow.shade700,
51+
secondary: Colors.yellow.shade600,
52+
tertiary: Colors.amber,
53+
surface: Colors.yellow.shade50,
54+
),
55+
scaffoldBackgroundColor: Colors.yellow.shade100,
56+
cardTheme: CardThemeData(
57+
color: Colors.yellow.shade50,
58+
),
59+
elevatedButtonTheme: ElevatedButtonThemeData(
60+
style: ElevatedButton.styleFrom(
61+
backgroundColor: Colors.yellow.shade700,
62+
foregroundColor: Colors.black,
63+
),
64+
),
65+
floatingActionButtonTheme: FloatingActionButtonThemeData(
66+
backgroundColor: Colors.yellow.shade600,
67+
foregroundColor: Colors.black,
68+
),
69+
iconTheme: IconThemeData(
70+
color: Colors.yellow.shade800,
71+
),
72+
dividerColor: Colors.yellow.shade300,
4773
),
4874
).inject(context, "banana");
4975
}

0 commit comments

Comments
 (0)