Skip to content

Commit e53449e

Browse files
committed
Update theme primary color
1 parent 9aceb3a commit e53449e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

lib/themes/theme.dart

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ final class AppTheme {
66

77
ThemeData get light {
88
final baseTheme = FlexThemeData.light(
9-
scheme: FlexScheme.aquaBlue,
9+
colors: FlexSchemeColor.from(
10+
primary: const Color(0xFF40C380),
11+
brightness: Brightness.light,
12+
),
1013
surfaceMode: FlexSurfaceMode.highScaffoldLowSurface,
1114
blendLevel: 1,
1215
subThemesData: const FlexSubThemesData(
@@ -87,7 +90,10 @@ final class AppTheme {
8790

8891
ThemeData get dark {
8992
final baseTheme = FlexThemeData.dark(
90-
scheme: FlexScheme.aquaBlue,
93+
colors: FlexSchemeColor.from(
94+
primary: const Color(0xFF40C380),
95+
brightness: Brightness.dark,
96+
),
9197
surfaceMode: FlexSurfaceMode.highScaffoldLowSurface,
9298
blendLevel: 2,
9399
subThemesData: const FlexSubThemesData(

web/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
<style>
3535
:root {
3636
--bg-color: #0d1418;
37-
--text-color: #70d2ff;
38-
--spinner-color: #70d2ff;
37+
--text-color: #40C380;
38+
--spinner-color: #40C380;
3939
--spinner-size: 1em;
4040
--icon-size: 1em;
4141
}

0 commit comments

Comments
 (0)