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',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
scaffoldBackgroundColor: const Color(0xFFEEEEEE),
scaffoldBackgroundColor: const Color(0xFFFAFAFF),
textTheme: const TextTheme(
headlineLarge: TextStyle(color: Color(0xFF000000), fontSize: 64),
bodyLarge: TextStyle(color: Color(0xFF000000), fontSize: 20),

View File

@ -16,6 +16,7 @@ class ReceiptsListItem extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Card(
color: Colors.white,
child: InkWell(
borderRadius: const BorderRadius.all(Radius.circular(10)),
onTap: () {

View File

@ -16,6 +16,7 @@ class ProductPage extends StatelessWidget {
context.watch<AddToCartStateRepo>();
return Scaffold(
body: Card(
color: Colors.white,
margin: const EdgeInsets.all(10),
child: Container(
padding: const EdgeInsets.symmetric(vertical: 10),

View File

@ -11,6 +11,7 @@ class PrimaryCard extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Card(
color: Colors.white,
child: SizedBox(height: 100, child: child),
);
}

View File

@ -21,9 +21,12 @@ class PrimaryInput extends StatelessWidget {
height: height,
child: TextField(
decoration: InputDecoration(
border: const OutlineInputBorder(),
label: Text(label),
hintText: placeholderText),
border: const OutlineInputBorder(),
label: Text(label),
hintText: placeholderText,
filled: true,
fillColor: Colors.white,
),
obscureText: obscure,
));
}