feat(SW-375): consume new tokens in scandic-web

This commit is contained in:
Michael Zetterberg
2025-03-02 08:12:27 +01:00
parent 56973888c9
commit 6232ded991
27 changed files with 68 additions and 147 deletions

View File

@@ -1,4 +1,6 @@
import "@scandic-hotels/design-system/fonts.css"
import "@/app/globals.css"
import "@/public/_static/css/design-system-new-deprecated.css"
import "@scandic-hotels/design-system/style.css"
import { ReactQueryDevtools } from "@tanstack/react-query-devtools"
@@ -49,7 +51,7 @@ export default async function RootLayout({
window.adobeDataLayer = window.adobeDataLayer || []
`}</Script>
</head>
<body>
<body className="scandic">
<SessionProvider basePath="/api/web/auth">
<ServerIntlProvider intl={{ defaultLocale, locale, messages }}>
<TrpcProvider>

View File

@@ -1,4 +1,6 @@
import "@scandic-hotels/design-system/fonts.css"
import "@/app/globals.css"
import "@/public/_static/css/design-system-current-deprecated.css"
import "@scandic-hotels/design-system/style.css"
import Script from "next/script"

View File

@@ -1,4 +1,6 @@
import "@scandic-hotels/design-system/fonts.css"
import "@/app/globals.css"
import "@/public/_static/css/design-system-new-deprecated.css"
import "@scandic-hotels/design-system/style.css"
import { ReactQueryDevtools } from "@tanstack/react-query-devtools"

View File

@@ -1,4 +1,6 @@
import "@scandic-hotels/design-system/fonts.css"
import "@/app/globals.css"
import "@/public/_static/css/design-system-new-deprecated.css"
import "@scandic-hotels/design-system/style.css"
import Script from "next/script"

View File

@@ -1,101 +1,3 @@
@font-face {
font-display: fallback;
font-family: "biro script plus";
font-style: normal;
font-weight: 400;
src: url(/_static/fonts/biro-script-plus/regular.woff2) format("woff2");
}
@font-face {
font-display: fallback;
font-family: "brandon text";
font-weight: 700;
src:
url(/_static/fonts/brandon-text/bold.woff2) format("woff2"),
url(/_static/fonts/brandon-text/bold.woff) format("woff");
}
@font-face {
font-display: fallback;
font-family: "brandon text";
font-weight: 900;
src:
url(/_static/fonts/brandon-text/black.woff2) format("woff2"),
url(/_static/fonts/brandon-text/black.woff) format("woff");
}
@font-face {
font-display: fallback;
font-family: "fira mono";
font-style: normal;
font-weight: 400;
src: url(/_static/fonts/fira-mono/regular.woff2) format("woff2");
}
@font-face {
font-display: fallback;
font-family: "fira mono";
font-style: normal;
font-weight: 500;
src: url(/_static/fonts/fira-mono/medium.woff2) format("woff2");
}
@font-face {
font-display: fallback;
font-family: "fira mono";
font-style: normal;
font-weight: 700;
src: url(/_static/fonts/fira-mono/bold.woff2) format("woff2");
}
@font-face {
font-display: fallback;
font-family: "fira sans";
font-style: normal;
font-weight: 300;
src: url(/_static/fonts/fira-sans/light.woff2) format("woff2");
}
@font-face {
font-display: fallback;
font-family: "fira sans";
font-style: normal;
font-weight: 400;
src: url(/_static/fonts/fira-sans/regular.woff2) format("woff2");
}
@font-face {
font-display: fallback;
font-family: "fira sans";
font-style: normal;
font-weight: 500;
src: url(/_static/fonts/fira-sans/medium.woff2) format("woff2");
}
@font-face {
font-display: fallback;
font-family: "fira sans";
font-style: normal;
font-weight: 600;
src: url(/_static/fonts/fira-sans/semibold.woff2) format("woff2");
}
@font-face {
font-display: fallback;
font-family: "fira sans";
font-style: normal;
font-weight: 700;
src: url(/_static/fonts/fira-sans/bold.woff2) format("woff2");
}
@font-face {
font-display: fallback;
font-family: "fira sans";
font-style: normal;
font-weight: 900;
src: url(/_static/fonts/fira-sans/black.woff2) format("woff2");
}
:root {
--current-max-width: 113.5rem;