Skip to content
Snippets Groups Projects
Commit 829d268b authored by Erik Hinkelmanns's avatar Erik Hinkelmanns
Browse files

- cleanup

parent 85542dc4
No related branches found
No related tags found
No related merge requests found
...@@ -37,11 +37,10 @@ class MyApp extends StatelessWidget { ...@@ -37,11 +37,10 @@ class MyApp extends StatelessWidget {
} }
} }
const Color primaryColor = Color(0xFFFFa74a); Color primaryColor = Color(0xFFFFa74a);
const Color onPrimary = Color(0xFFFFFFFF); Color onPrimary = Color(0xFFFFFFFF);
const Color primaryContainer = Color(0xFFFFDFBD); Color primaryContainer = Color(0xFFFFDFBD);
const Color onPrimaryContainer = Color(0xFF312B25); Color onPrimaryContainer = Color(0xFF312B25);
/// Renders a static Top-/BottomBar /// Renders a static Top-/BottomBar
/// further pages will be loaded in the body of the material app /// further pages will be loaded in the body of the material app
...@@ -185,6 +184,5 @@ Color ligten(Color color, [double amount = .1]) { ...@@ -185,6 +184,5 @@ Color ligten(Color color, [double amount = .1]) {
final hsl = HSLColor.fromColor(color); final hsl = HSLColor.fromColor(color);
final hslLight = hsl.withLightness((hsl.lightness + amount).clamp(0.0, 1.0)); final hslLight = hsl.withLightness((hsl.lightness + amount).clamp(0.0, 1.0));
return hslLight.toColor(); return hslLight.toColor();
} }
\ No newline at end of file
...@@ -10,7 +10,7 @@ class SettingsDrawer extends StatelessWidget { ...@@ -10,7 +10,7 @@ class SettingsDrawer extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return const Drawer( return Drawer(
backgroundColor: onPrimary, backgroundColor: onPrimary,
width: 200, width: 200,
child: Center( child: Center(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment