diff --git a/01-frontend/src/App.tsx b/01-frontend/src/App.tsx
index 8bbaa7c..90da10d 100644
--- a/01-frontend/src/App.tsx
+++ b/01-frontend/src/App.tsx
@@ -9,10 +9,20 @@ import Payment from './pages/Payment';
import Contact from './pages/Contact';
import Category from './pages/Category';
import { BasketProvider } from './helper/BasketProvider';
+import { createTheme, ThemeProvider } from '@mui/material/styles';
+import { green } from '@mui/material/colors';
export default function App() {
+ const theme = createTheme({
+ palette: {
+ primary: {
+ main: green[500],
+ },
+ },});
+
return (
+
@@ -27,6 +37,7 @@ export default function App() {
+
)
}
diff --git a/01-frontend/src/helper/ItemCard.tsx b/01-frontend/src/helper/ItemCard.tsx
index 4d13dd4..f693019 100644
--- a/01-frontend/src/helper/ItemCard.tsx
+++ b/01-frontend/src/helper/ItemCard.tsx
@@ -35,7 +35,7 @@ export default function ItemCard({ item }: { item: Item }) {
{item.price * (1 - item.discount / 100)} €
-
+
diff --git a/01-frontend/src/helper/NavBar.css b/01-frontend/src/helper/NavBar.css
index dc16864..8c29a41 100644
--- a/01-frontend/src/helper/NavBar.css
+++ b/01-frontend/src/helper/NavBar.css
@@ -1,6 +1,6 @@
/* Navbar styles */
.navbar {
- background-color: #1976d2; /* Material-UI Primary Color */
+ background-color: green; /* Material-UI Primary Color */
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
position: absolute;
top: 0;
diff --git a/01-frontend/src/helper/NavBar.tsx b/01-frontend/src/helper/NavBar.tsx
index 27838da..5a3f376 100644
--- a/01-frontend/src/helper/NavBar.tsx
+++ b/01-frontend/src/helper/NavBar.tsx
@@ -84,7 +84,7 @@ export default function NavBar() {
return (
-
+
diff --git a/01-frontend/src/helper/helper.css b/01-frontend/src/helper/helper.css
index df245de..eb5f0c5 100644
--- a/01-frontend/src/helper/helper.css
+++ b/01-frontend/src/helper/helper.css
@@ -3,4 +3,8 @@
justify-content: space-between; /* Elemente an gegenüberliegenden Seiten platzieren */
align-items: center; /* Vertikale Zentrierung */
width: 100%;
+}
+
+.item-card-button{
+ color: green;
}
\ No newline at end of file
diff --git a/01-frontend/src/pages/Product.tsx b/01-frontend/src/pages/Product.tsx
index c6caebf..2b59c17 100644
--- a/01-frontend/src/pages/Product.tsx
+++ b/01-frontend/src/pages/Product.tsx
@@ -107,7 +107,7 @@ export default function Product() {
{item.discount > 0 ? (
<>
-
+
€{discountedPrice.toFixed(2)}
>
) : (
-
+
€{item.price.toFixed(2)}
)}
diff --git a/01-frontend/src/pages/pages.css b/01-frontend/src/pages/pages.css
index 26d991b..c540eb2 100644
--- a/01-frontend/src/pages/pages.css
+++ b/01-frontend/src/pages/pages.css
@@ -13,7 +13,7 @@
.no-page-title {
font-size: 8rem;
font-weight: bold;
- color: #1976d2; /* Material-UI Primary Color */
+ color: primary; /* Material-UI Primary Color */
margin-bottom: 16px;
}