color changes

This commit is contained in:
Mikkel Troels Kongsted 2025-02-05 13:05:49 +01:00
parent 2f23803154
commit d669fc50f3
5 changed files with 10 additions and 4 deletions

View File

@ -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),

View File

@ -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: () {

View File

@ -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),

View File

@ -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),
); );
} }

View File

@ -23,7 +23,10 @@ class PrimaryInput extends StatelessWidget {
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,
)); ));
} }