chore: remove useless color attributes on html elements
This commit is contained in:
@@ -189,18 +189,18 @@ export default function GuestDetails({
|
|||||||
)}
|
)}
|
||||||
<div className={styles.contactInfoMobile}>
|
<div className={styles.contactInfoMobile}>
|
||||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||||
<p color="uiTextHighContrast">{guest.email}</p>
|
<p>{guest.email}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||||
<p color="uiTextHighContrast">{guest.phoneNumber}</p>
|
<p>{guest.phoneNumber}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.contactInfoDesktop}>
|
<div className={styles.contactInfoDesktop}>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">{guest.email}</p>
|
<p>{guest.email}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">{guest.phoneNumber}</p>
|
<p>{guest.phoneNumber}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -244,9 +244,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
|
|||||||
|
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
||||||
<p color="uiTextHighContrast">
|
<p>18:00, {fromDate.format("dddd D MMM")}</p>
|
||||||
18:00, {fromDate.format("dddd D MMM")}
|
|
||||||
</p>
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@@ -261,7 +259,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
|
|||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">{breakfastPrice}</p>
|
<p>{breakfastPrice}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export default function PriceDetails() {
|
|||||||
<div className={styles.priceDetails}>
|
<div className={styles.priceDetails}>
|
||||||
<div className={styles.price}>
|
<div className={styles.price}>
|
||||||
<Typography variant="Body/Lead text">
|
<Typography variant="Body/Lead text">
|
||||||
<p color="uiTextHighContrast">
|
<p>
|
||||||
{intl.formatMessage({
|
{intl.formatMessage({
|
||||||
defaultMessage: "Room total",
|
defaultMessage: "Room total",
|
||||||
})}
|
})}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export default function Row({ icon, text, title }: RowProps) {
|
|||||||
</span>
|
</span>
|
||||||
<div className={styles.content}>
|
<div className={styles.content}>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">{text}</p>
|
<p>{text}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ export default function BookedRoomSidePeek({
|
|||||||
</span>
|
</span>
|
||||||
<div className={styles.rowContent}>
|
<div className={styles.rowContent}>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">
|
<p>
|
||||||
{childrenInRoom.length > 0
|
{childrenInRoom.length > 0
|
||||||
? adultsAndChildrenMsg
|
? adultsAndChildrenMsg
|
||||||
: adultsOnlyMsg}
|
: adultsOnlyMsg}
|
||||||
@@ -260,7 +260,7 @@ export default function BookedRoomSidePeek({
|
|||||||
</span>
|
</span>
|
||||||
<div className={styles.rowContent}>
|
<div className={styles.rowContent}>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">{terms}</p>
|
<p>{terms}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -278,7 +278,7 @@ export default function BookedRoomSidePeek({
|
|||||||
</span>
|
</span>
|
||||||
<div className={styles.rowContent}>
|
<div className={styles.rowContent}>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">
|
<p>
|
||||||
{intl.formatMessage(
|
{intl.formatMessage(
|
||||||
{
|
{
|
||||||
defaultMessage: "Until {time}, {date}",
|
defaultMessage: "Until {time}, {date}",
|
||||||
@@ -303,7 +303,7 @@ export default function BookedRoomSidePeek({
|
|||||||
</span>
|
</span>
|
||||||
<div className={styles.rowContent}>
|
<div className={styles.rowContent}>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">{breakfastPrice}</p>
|
<p>{breakfastPrice}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -329,7 +329,7 @@ export default function BookedRoomSidePeek({
|
|||||||
</span>
|
</span>
|
||||||
<div className={styles.rowContent}>
|
<div className={styles.rowContent}>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">
|
<p>
|
||||||
{packages
|
{packages
|
||||||
?.filter((item) =>
|
?.filter((item) =>
|
||||||
Object.values(RoomPackageCodeEnum).includes(
|
Object.values(RoomPackageCodeEnum).includes(
|
||||||
@@ -356,7 +356,7 @@ export default function BookedRoomSidePeek({
|
|||||||
</span>
|
</span>
|
||||||
<div className={styles.rowContent}>
|
<div className={styles.rowContent}>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p color="uiTextHighContrast">{bedType?.description}</p>
|
<p>{bedType?.description}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -365,7 +365,7 @@ export default function BookedRoomSidePeek({
|
|||||||
<div className={styles.priceDetails}>
|
<div className={styles.priceDetails}>
|
||||||
<div className={styles.price}>
|
<div className={styles.price}>
|
||||||
<Typography variant="Body/Lead text">
|
<Typography variant="Body/Lead text">
|
||||||
<p color="uiTextHighContrast">
|
<p>
|
||||||
{intl.formatMessage({
|
{intl.formatMessage({
|
||||||
defaultMessage: "Room total",
|
defaultMessage: "Room total",
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user