feat: update theme colors.
This commit is contained in:
@@ -12,8 +12,13 @@ class GestureEditor extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
var layoutProvider = context.watch<ContentLayoutProvider>();
|
||||
return Flexible(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(10),
|
||||
child: Container(
|
||||
color: Colors.black45,
|
||||
decoration: BoxDecoration(
|
||||
color: context.t.backgroundColor,
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
@@ -52,6 +57,7 @@ class GestureEditor extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,9 +22,8 @@ class LocalManager extends StatelessWidget {
|
||||
maxWidth: localManagerPanelWidth,
|
||||
minWidth: localManagerPanelWidth,
|
||||
child: Material(
|
||||
// color: context.t.backgroundColor,
|
||||
color: Colors.deepPurple,
|
||||
elevation: isOpen ? 20 : 0,
|
||||
color: context.t.backgroundColor,
|
||||
elevation: isOpen ? 10 : 0,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
|
||||
@@ -21,8 +21,8 @@ class Market extends StatelessWidget {
|
||||
maxWidth: marketPanelWidth,
|
||||
minWidth: marketPanelWidth,
|
||||
child: Material(
|
||||
color: Colors.deepPurpleAccent,
|
||||
elevation: isOpen ? 20 : 0,
|
||||
color: context.t.backgroundColor,
|
||||
elevation: isOpen ? 10 : 0,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
|
||||
@@ -2,4 +2,6 @@ import 'package:flutter/material.dart';
|
||||
|
||||
var darkTheme = ThemeData.dark().copyWith(
|
||||
primaryColor: Colors.grey,
|
||||
scaffoldBackgroundColor: Color(0xff252525),
|
||||
backgroundColor: Color(0xff282828),
|
||||
);
|
||||
|
||||
@@ -2,4 +2,6 @@ import 'package:flutter/material.dart';
|
||||
|
||||
var lightTheme = ThemeData.light().copyWith(
|
||||
primaryColor: Colors.blue,
|
||||
scaffoldBackgroundColor: Color(0xfff8f8f8),
|
||||
backgroundColor: Color(0xffffffff),
|
||||
);
|
||||
Reference in New Issue
Block a user