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

@@ -4,7 +4,8 @@
.layout {
display: grid;
font-family: var(--typography-Body-Regular-fontFamily);
font-family:
var(--Body-Paragraph-Font-family), var(--Body-Paragraph-Font-fallback);
grid-template-rows: auto 1fr;
min-height: 100dvh;
max-width: var(--max-width-page);

View File

@@ -1,6 +1,7 @@
.layout {
display: grid;
font-family: var(--typography-Body-Regular-fontFamily);
font-family:
var(--Body-Paragraph-Font-family), var(--Body-Paragraph-Font-fallback);
grid-template-rows: auto 1fr;
position: relative;
}

View File

@@ -1,3 +1,4 @@
.layout {
font-family: var(--typography-Body-Regular-fontFamily);
font-family:
var(--Body-Paragraph-Font-family), var(--Body-Paragraph-Font-fallback);
}

View File

@@ -1,9 +1,8 @@
import { redirect } from "next/navigation"
import { z } from "zod"
import Footnote from "@scandic-hotels/design-system/Footnote"
import Image from "@scandic-hotels/design-system/Image"
import Link from "@scandic-hotels/design-system/OldDSLink"
import { TextLink } from "@scandic-hotels/design-system/TextLink"
import { Typography } from "@scandic-hotels/design-system/Typography"
import { env } from "@/env/server"
@@ -94,27 +93,24 @@ export default async function SASxScandicLoginPage(
{intentDescriptions[parsedParams.intent]}
</p>
</Typography>
<Footnote textAlign="center">
{intl.formatMessage(
{
id: "linkEuroBonusAccount.manualRedirectLinkMessage",
defaultMessage:
"If you are not redirected automatically, please <loginLink>click here</loginLink>.",
},
{
loginLink: (str) => (
<Link
href={loginLink}
color="red"
size="tiny"
textDecoration="underline"
>
{str}
</Link>
),
}
)}
</Footnote>
<Typography variant="Body/Supporting text (caption)/smRegular">
<p style={{ textAlign: "center" }}>
{intl.formatMessage(
{
id: "linkEuroBonusAccount.manualRedirectLinkMessage",
defaultMessage:
"If you are not redirected automatically, please <loginLink>click here</loginLink>.",
},
{
loginLink: (str) => (
<TextLink typography="Link/sm" href={loginLink}>
{str}
</TextLink>
),
}
)}
</p>
</Typography>
</SASModal>
)
}

View File

@@ -42,7 +42,8 @@
width: 34px;
height: 0px;
padding: var(--Space-x3) 0;
font-family: var(--typography-Body-Regular-fontFamily);
font-family:
var(--Body-Paragraph-Font-family), var(--Body-Paragraph-Font-fallback);
border: 1px solid var(--Base-Border-Normal);
border-radius: var(--Corner-Radius-md);
text-align: center;

View File

@@ -1,5 +1,6 @@
.layout {
background-color: var(--Background-Primary);
font-family: var(--typography-Body-Regular-fontFamily);
font-family:
var(--Body-Paragraph-Font-family), var(--Body-Paragraph-Font-fallback);
min-height: 100dvh;
}

View File

@@ -1,3 +1,4 @@
.layout {
font-family: var(--typography-Body-Regular-fontFamily);
font-family:
var(--Body-Paragraph-Font-family), var(--Body-Paragraph-Font-fallback);
}