feat: update theme colors.

pull/2/head
DebuggerX 4 years ago
parent fdba64e748
commit 92a2e4c365

@ -12,8 +12,13 @@ class GestureEditor extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
var layoutProvider = context.watch<ContentLayoutProvider>(); var layoutProvider = context.watch<ContentLayoutProvider>();
return Flexible( return Flexible(
child: Padding(
padding: const EdgeInsets.all(10),
child: Container( child: Container(
color: Colors.black45, decoration: BoxDecoration(
color: context.t.backgroundColor,
borderRadius: BorderRadius.circular(10),
),
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
@ -52,6 +57,7 @@ class GestureEditor extends StatelessWidget {
], ],
), ),
), ),
),
); );
} }
} }

@ -22,9 +22,8 @@ class LocalManager extends StatelessWidget {
maxWidth: localManagerPanelWidth, maxWidth: localManagerPanelWidth,
minWidth: localManagerPanelWidth, minWidth: localManagerPanelWidth,
child: Material( child: Material(
// color: context.t.backgroundColor, color: context.t.backgroundColor,
color: Colors.deepPurple, elevation: isOpen ? 10 : 0,
elevation: isOpen ? 20 : 0,
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [

@ -21,8 +21,8 @@ class Market extends StatelessWidget {
maxWidth: marketPanelWidth, maxWidth: marketPanelWidth,
minWidth: marketPanelWidth, minWidth: marketPanelWidth,
child: Material( child: Material(
color: Colors.deepPurpleAccent, color: context.t.backgroundColor,
elevation: isOpen ? 20 : 0, elevation: isOpen ? 10 : 0,
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [

@ -2,4 +2,6 @@ import 'package:flutter/material.dart';
var darkTheme = ThemeData.dark().copyWith( var darkTheme = ThemeData.dark().copyWith(
primaryColor: Colors.grey, primaryColor: Colors.grey,
scaffoldBackgroundColor: Color(0xff252525),
backgroundColor: Color(0xff282828),
); );

@ -2,4 +2,6 @@ import 'package:flutter/material.dart';
var lightTheme = ThemeData.light().copyWith( var lightTheme = ThemeData.light().copyWith(
primaryColor: Colors.blue, primaryColor: Colors.blue,
scaffoldBackgroundColor: Color(0xfff8f8f8),
backgroundColor: Color(0xffffffff),
); );
Loading…
Cancel
Save