mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 08:44:06 +02:00
color changes
This commit is contained in:
parent
2f23803154
commit
d669fc50f3
@ -30,7 +30,7 @@ class MyApp extends StatelessWidget {
|
|||||||
title: 'Fresh Plaza',
|
title: 'Fresh Plaza',
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
|
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
|
||||||
scaffoldBackgroundColor: const Color(0xFFEEEEEE),
|
scaffoldBackgroundColor: const Color(0xFFFAFAFF),
|
||||||
textTheme: const TextTheme(
|
textTheme: const TextTheme(
|
||||||
headlineLarge: TextStyle(color: Color(0xFF000000), fontSize: 64),
|
headlineLarge: TextStyle(color: Color(0xFF000000), fontSize: 64),
|
||||||
bodyLarge: TextStyle(color: Color(0xFF000000), fontSize: 20),
|
bodyLarge: TextStyle(color: Color(0xFF000000), fontSize: 20),
|
||||||
|
@ -16,6 +16,7 @@ class ReceiptsListItem extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Card(
|
return Card(
|
||||||
|
color: Colors.white,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
@ -16,6 +16,7 @@ class ProductPage extends StatelessWidget {
|
|||||||
context.watch<AddToCartStateRepo>();
|
context.watch<AddToCartStateRepo>();
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: Card(
|
body: Card(
|
||||||
|
color: Colors.white,
|
||||||
margin: const EdgeInsets.all(10),
|
margin: const EdgeInsets.all(10),
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 10),
|
padding: const EdgeInsets.symmetric(vertical: 10),
|
||||||
|
@ -11,6 +11,7 @@ class PrimaryCard extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Card(
|
return Card(
|
||||||
|
color: Colors.white,
|
||||||
child: SizedBox(height: 100, child: child),
|
child: SizedBox(height: 100, child: child),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -21,9 +21,12 @@ class PrimaryInput extends StatelessWidget {
|
|||||||
height: height,
|
height: height,
|
||||||
child: TextField(
|
child: TextField(
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
border: const OutlineInputBorder(),
|
border: const OutlineInputBorder(),
|
||||||
label: Text(label),
|
label: Text(label),
|
||||||
hintText: placeholderText),
|
hintText: placeholderText,
|
||||||
|
filled: true,
|
||||||
|
fillColor: Colors.white,
|
||||||
|
),
|
||||||
obscureText: obscure,
|
obscureText: obscure,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user