feat(SW-185): Added correct tokens
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
.details {
|
.details {
|
||||||
background: var(--Main-Red-100);
|
background: var(--Base-Text-High-contrast);
|
||||||
color: var(--Main-Brand-PalePeach);
|
color: var(--Primary-Dark-On-Surface-Text);
|
||||||
padding: var(--Spacing-x3) var(--Spacing-x2) var(--Spacing-x6);
|
padding: var(--Spacing-x3) var(--Spacing-x2) var(--Spacing-x6);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: var(--Spacing-x2);
|
margin-bottom: var(--Spacing-x2);
|
||||||
padding-bottom: var(--Spacing-x2);
|
padding-bottom: var(--Spacing-x2);
|
||||||
border-bottom: 1px solid var(--Scandic-Peach-80);
|
border-bottom: 1px solid var(--Base-Text-Medium-contrast);
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation {
|
.navigation {
|
||||||
@@ -54,11 +54,10 @@
|
|||||||
|
|
||||||
@media screen and (min-width: 1367px) {
|
@media screen and (min-width: 1367px) {
|
||||||
.details {
|
.details {
|
||||||
color: var(--Main-Grey-White);
|
|
||||||
padding: var(--Spacing-x6) var(--Spacing-x5) var(--Spacing-x4);
|
padding: var(--Spacing-x6) var(--Spacing-x5) var(--Spacing-x4);
|
||||||
}
|
}
|
||||||
.bottomContainer {
|
.bottomContainer {
|
||||||
border-top: 1px solid var(--Scandic-Peach-80);
|
border-top: 1px solid var(--Base-Text-Medium-contrast);
|
||||||
padding-top: var(--Spacing-x2);
|
padding-top: var(--Spacing-x2);
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import LanguageSwitcher from "@/components/Current/Header/LanguageSwitcher"
|
|||||||
import { getIconByIconName } from "@/components/Icons/get-icon-by-icon-name"
|
import { getIconByIconName } from "@/components/Icons/get-icon-by-icon-name"
|
||||||
import Image from "@/components/Image"
|
import Image from "@/components/Image"
|
||||||
import Link from "@/components/TempDesignSystem/Link"
|
import Link from "@/components/TempDesignSystem/Link"
|
||||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
|
||||||
import Footnote from "@/components/TempDesignSystem/Text/Footnote"
|
import Footnote from "@/components/TempDesignSystem/Text/Footnote"
|
||||||
import { getLang } from "@/i18n/serverContext"
|
import { getLang } from "@/i18n/serverContext"
|
||||||
|
|
||||||
@@ -10,7 +9,7 @@ import { footer } from "../mockedData"
|
|||||||
|
|
||||||
import styles from "./details.module.css"
|
import styles from "./details.module.css"
|
||||||
|
|
||||||
import { IconName } from "@/types/components/icon"
|
import type { IconName } from "@/types/components/icon"
|
||||||
|
|
||||||
function socialIcon(iconName: string): JSX.Element | null {
|
function socialIcon(iconName: string): JSX.Element | null {
|
||||||
const SocialIcon = getIconByIconName(iconName as IconName)
|
const SocialIcon = getIconByIconName(iconName as IconName)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
.mainNavigationItem {
|
.mainNavigationItem {
|
||||||
padding: var(--Spacing-x3) 0;
|
padding: var(--Spacing-x3) 0;
|
||||||
border-bottom: 1px solid var(--Scandic-Peach-20);
|
border-bottom: 1px solid var(--Primary-Light-On-Surface-Divider);
|
||||||
&:first-child {
|
&:first-child {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.secondaryNavigationGroupTitle {
|
.secondaryNavigationGroupTitle {
|
||||||
color: var(--Scandic-Peach-80);
|
color: var(--Base-Text-Medium-contrast);
|
||||||
font-weight: 500;
|
font-weight: var(--typography-Body-Bold-fontWeight);
|
||||||
font-family: var(--typography-Body-Bold-fontFamily);
|
font-family: var(--typography-Body-Bold-fontFamily);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
.section {
|
.section {
|
||||||
background: var(--Scandic-Brand-Pale-Peach);
|
background: var(--Primary-Light-Surface-Normal);
|
||||||
padding: var(--Spacing-x7) var(--Spacing-x2);
|
padding: var(--Spacing-x7) var(--Spacing-x2);
|
||||||
color: var(--Scandic-Brand-Burgundy);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.maxWidth {
|
.maxWidth {
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
.uppercase {
|
.uppercase {
|
||||||
font-family: var(--typography-Body-Regular-fontFamily);
|
font-family: var(--typography-Body-Regular-fontFamily);
|
||||||
font-size: var(--typography-Body-Regular-fontSize);
|
font-size: var(--typography-Body-Regular-fontSize);
|
||||||
font-weight: 450;
|
font-weight: var(--typography-Body-Bold-fontWeight);
|
||||||
letter-spacing: var(--typography-Body-Regular-letterSpacing);
|
letter-spacing: var(--typography-Body-Regular-letterSpacing);
|
||||||
line-height: var(--typography-Body-Regular-lineHeight);
|
line-height: var(--typography-Body-Regular-lineHeight);
|
||||||
text-decoration: var(--typography-Body-Regular-textDecoration);
|
text-decoration: var(--typography-Body-Regular-textDecoration);
|
||||||
@@ -85,5 +85,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.peach80 {
|
.peach80 {
|
||||||
color: var(--Scandic-Peach-80);
|
color: var(--Base-Text-Medium-contrast);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
.uppercase {
|
.uppercase {
|
||||||
font-family: var(--typography-Footnote-Regular-fontFamily);
|
font-family: var(--typography-Footnote-Regular-fontFamily);
|
||||||
font-size: var(--typography-Footnote-Regular-fontSize);
|
font-size: var(--typography-Footnote-Regular-fontSize);
|
||||||
font-weight: 450;
|
font-weight: var(--typography-Footnote-Bold-fontWeight);
|
||||||
letter-spacing: var(--typography-Footnote-Regular-letterSpacing);
|
letter-spacing: var(--typography-Footnote-Regular-letterSpacing);
|
||||||
line-height: var(--typography-Footnote-Regular-lineHeight);
|
line-height: var(--typography-Footnote-Regular-lineHeight);
|
||||||
text-decoration: var(--typography-Footnote-Regular-textDecoration);
|
text-decoration: var(--typography-Footnote-Regular-textDecoration);
|
||||||
|
|||||||
Reference in New Issue
Block a user