Merged in chore/BOOK-773-replace-old-typography-variables (pull request #3515)

Chore/BOOK-773 replace old typography variables

* chore(BOOK-773): Replaced body typography

* chore(BOOK-773): Replaced caption typography

* chore(BOOK-773): Replaced footnote typography

* chore(BOOK-773): Replaced subtitle typography


Approved-by: Bianca Widstam
This commit is contained in:
Erik Tiekstra
2026-02-03 15:07:18 +00:00
committed by Bianca Widstam
parent dd65467573
commit b3c4761ae5
57 changed files with 261 additions and 634 deletions

View File

@@ -3,7 +3,6 @@
import { useIntl } from "react-intl"
import { formatPrice } from "@scandic-hotels/common/utils/numberFormatting"
import Footnote from "@scandic-hotels/design-system/Footnote"
import { Typography } from "@scandic-hotels/design-system/Typography"
import { useBookingFlowConfig } from "../../bookingFlowConfig/bookingFlowConfigContext"
@@ -37,9 +36,11 @@ export default function SignupPromoDesktop({
data-testid="signup-promo-desktop"
>
{badgeContent && <span className={styles.badge}>{badgeContent}</span>}
<Footnote color="burgundy">
<Message price={price} isEnterDetailsPage={isEnterDetailsPage} />
</Footnote>
<Typography variant="Body/Supporting text (caption)/smRegular">
<p>
<Message price={price} isEnterDetailsPage={isEnterDetailsPage} />
</p>
</Typography>
</div>
) : null
}

View File

@@ -2,7 +2,7 @@
import { useIntl } from "react-intl"
import Footnote from "@scandic-hotels/design-system/Footnote"
import { Typography } from "@scandic-hotels/design-system/Typography"
import { useBookingFlowConfig } from "../../bookingFlowConfig/bookingFlowConfigContext"
@@ -14,9 +14,11 @@ export default function SignupPromoMobile() {
data-footer-spacing-signup
className={styles.memberDiscountBannerMobile}
>
<Footnote color="burgundy">
<Message />
</Footnote>
<Typography variant="Body/Supporting text (caption)/smRegular">
<p>
<Message />
</p>
</Typography>
</div>
)
}

View File

@@ -5,6 +5,7 @@
display: flex;
align-items: center;
justify-content: center;
color: var(--Text-Default);
}
.memberDiscountBannerDesktop {
@@ -16,10 +17,11 @@
padding: var(--Space-x15) var(--Space-x2);
gap: var(--Space-x2);
position: relative;
color: var(--Text-Default);
}
.red {
color: var(--Text-Accent-Primary);
color: var(--Scandic-Brand-Scandic-Red);
}
.badge {