chore: remove useless color attributes on html elements

This commit is contained in:
Christian Andolf
2025-05-05 11:40:10 +02:00
parent d2bbc59f47
commit 5da16ed10a
5 changed files with 15 additions and 17 deletions

View File

@@ -189,18 +189,18 @@ export default function GuestDetails({
)}
<div className={styles.contactInfoMobile}>
<Typography variant="Body/Supporting text (caption)/smRegular">
<p color="uiTextHighContrast">{guest.email}</p>
<p>{guest.email}</p>
</Typography>
<Typography variant="Body/Supporting text (caption)/smRegular">
<p color="uiTextHighContrast">{guest.phoneNumber}</p>
<p>{guest.phoneNumber}</p>
</Typography>
</div>
<div className={styles.contactInfoDesktop}>
<Typography variant="Body/Paragraph/mdRegular">
<p color="uiTextHighContrast">{guest.email}</p>
<p>{guest.email}</p>
</Typography>
<Typography variant="Body/Paragraph/mdRegular">
<p color="uiTextHighContrast">{guest.phoneNumber}</p>
<p>{guest.phoneNumber}</p>
</Typography>
</div>
</div>

View File

@@ -244,9 +244,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
<Typography variant="Body/Paragraph/mdRegular">
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
<p color="uiTextHighContrast">
18:00, {fromDate.format("dddd D MMM")}
</p>
<p>18:00, {fromDate.format("dddd D MMM")}</p>
</Typography>
</div>
)}
@@ -261,7 +259,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
</Typography>
<Typography variant="Body/Paragraph/mdRegular">
<p color="uiTextHighContrast">{breakfastPrice}</p>
<p>{breakfastPrice}</p>
</Typography>
</div>
)}

View File

@@ -27,7 +27,7 @@ export default function PriceDetails() {
<div className={styles.priceDetails}>
<div className={styles.price}>
<Typography variant="Body/Lead text">
<p color="uiTextHighContrast">
<p>
{intl.formatMessage({
defaultMessage: "Room total",
})}

View File

@@ -24,7 +24,7 @@ export default function Row({ icon, text, title }: RowProps) {
</span>
<div className={styles.content}>
<Typography variant="Body/Paragraph/mdRegular">
<p color="uiTextHighContrast">{text}</p>
<p>{text}</p>
</Typography>
</div>
</div>