Skip to content
Snippets Groups Projects
Commit e64b43e2 authored by Étienne's avatar Étienne
Browse files

feat: set some colors

parent 8457b9b2
No related branches found
Tags 0.4.0
1 merge request!27Better scroll with focus
......@@ -146,7 +146,7 @@ class _FLauncherState extends State<FLauncher> {
height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width,
)
: Container(color: Colors.white12);
: Container(color: Theme.of(context).backgroundColor);
SliverGridDelegate _gridDelegate() =>
SliverGridDelegateWithFixedCrossAxisCount(
......
......@@ -81,9 +81,11 @@ class App extends StatelessWidget {
{LogicalKeySet(LogicalKeyboardKey.select): ActivateIntent()}),
title: 'FLauncher',
theme: ThemeData.dark().copyWith(
colorScheme: ColorScheme.dark(primary: Colors.white),
colorScheme: ColorScheme.dark(primary: Color(0xFFD8E6F2)),
backgroundColor: Color(0xFF011526),
dialogBackgroundColor: Color(0xFF011526),
toggleableActiveColor: Color(0xFFAAB5BF),
typography: Typography.material2018(),
buttonTheme: ButtonThemeData(highlightColor: Colors.transparent),
appBarTheme: AppBarTheme(
elevation: 0,
backgroundColor: Colors.transparent,
......
......@@ -35,7 +35,7 @@ class RightPanelDialog extends StatelessWidget {
alignment: Alignment.centerRight,
child: Container(
padding: EdgeInsets.all(16),
color: Colors.grey[900],
color: Theme.of(context).backgroundColor,
width: width,
child: child,
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment