{hotels.length ? (
-
+
{next(
// Sometimes editors happen to nest a reference inside a link and vice versa.
@@ -396,9 +395,7 @@ export const renderOptions: RenderOptions = {
{next(
@@ -450,8 +447,7 @@ export const renderOptions: RenderOptions = {
{...props}
href={entry.node.url}
key={node.uid}
- variant="underscored"
- color="burgundy"
+ textDecoration="underline"
>
{next(
// Sometimes editors happen to nest a reference inside a link and vice versa.
diff --git a/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/index.tsx b/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/index.tsx
index c3e852e2f..5c1792e41 100644
--- a/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/index.tsx
+++ b/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/index.tsx
@@ -4,6 +4,7 @@ import { usePathname } from "next/navigation"
import { useIntl } from "react-intl"
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
+import { Typography } from "@scandic-hotels/design-system/Typography"
import { type Lang, languages } from "@/constants/languages"
import { env } from "@/env/client"
@@ -44,21 +45,30 @@ export default function LanguageSwitcherContent({
if (url) {
return (
-
- {languages[key]}
- {isActive ? (
-
- ) : null}
-
+
+ {languages[key]}
+ {isActive ? (
+
+ ) : null}
+
+
)
}
diff --git a/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/languageSwitcherContent.module.css b/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/languageSwitcherContent.module.css
index 24f3fcc0f..01d86d4fc 100644
--- a/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/languageSwitcherContent.module.css
+++ b/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/languageSwitcherContent.module.css
@@ -16,11 +16,6 @@
}
.link {
- color: var(--Scandic-Brand-Burgundy);
- font-family: var(--typography-Body-Regular-fontFamily);
- font-size: var(--typography-Body-Regular-fontSize);
- line-height: var(--typography-Body-Regular-lineHeight);
- letter-spacing: var(--typography-Body-Regular-letterSpacing);
padding: var(--Spacing-x1);
border-radius: var(--Corner-radius-md);
display: flex;
@@ -31,12 +26,6 @@
border-radius: var(--Corner-radius-md);
}
-.link.active,
-.link:hover {
- background-color: var(--Base-Surface-Primary-light-Hover-alt);
- font-weight: 500; /* Should be fixed when variables starts working: var(--typography-Body-Bold-fontWeight); */
-}
-
@media screen and (min-width: 768px) {
.backWrapper,
.backButton {
@@ -50,8 +39,4 @@
.subtitle {
display: none;
}
-
- .link.active:not(:hover) {
- background-color: transparent;
- }
}
diff --git a/apps/scandic-web/components/LanguageSwitcher/languageSwitcher.module.css b/apps/scandic-web/components/LanguageSwitcher/languageSwitcher.module.css
index 2ef04fd9d..1e1d80178 100644
--- a/apps/scandic-web/components/LanguageSwitcher/languageSwitcher.module.css
+++ b/apps/scandic-web/components/LanguageSwitcher/languageSwitcher.module.css
@@ -1,6 +1,6 @@
.button {
- --language-switcher-color: var(--Base-Text-Medium-contrast);
- --language-switcher-hover-color: var(--Base-Text-High-contrast);
+ --language-switcher-color: var(--Text-Interactive-Secondary);
+ --language-switcher-hover-color: var(--Text-Interactive-Secondary-Hover);
background-color: transparent;
border-width: 0;
diff --git a/apps/scandic-web/components/MyPages/Profile/MembershipCards/index.tsx b/apps/scandic-web/components/MyPages/Profile/MembershipCards/index.tsx
index bb8ac4d07..b18d3e129 100644
--- a/apps/scandic-web/components/MyPages/Profile/MembershipCards/index.tsx
+++ b/apps/scandic-web/components/MyPages/Profile/MembershipCards/index.tsx
@@ -78,7 +78,7 @@ export default async function MembershipCardSlot() {
))}
-
+
{intl.formatMessage({
diff --git a/apps/scandic-web/components/MyPages/Sidebar/index.tsx b/apps/scandic-web/components/MyPages/Sidebar/index.tsx
index b14d81cc3..83161ee69 100644
--- a/apps/scandic-web/components/MyPages/Sidebar/index.tsx
+++ b/apps/scandic-web/components/MyPages/Sidebar/index.tsx
@@ -50,11 +50,10 @@ async function PrimaryLinks() {
{nav?.primaryLinks.map((link) => (
{link.text}
@@ -80,11 +79,10 @@ async function SecondaryLinks() {
{nav?.secondaryLinks.map((link) => (
{link.text}
@@ -93,11 +91,10 @@ async function SecondaryLinks() {
))}
{intl.formatMessage({
diff --git a/apps/scandic-web/components/MyPages/Surprises/Client.tsx b/apps/scandic-web/components/MyPages/Surprises/Client.tsx
index db82b8ece..35c84474c 100644
--- a/apps/scandic-web/components/MyPages/Surprises/Client.tsx
+++ b/apps/scandic-web/components/MyPages/Surprises/Client.tsx
@@ -82,7 +82,7 @@ export default function SurprisesNotification({
{ amount: surprises.length }
)}
-
+
{intl.formatMessage({
defaultMessage: "Go to My Benefits",
})}
diff --git a/apps/scandic-web/components/SasTierComparison/index.tsx b/apps/scandic-web/components/SasTierComparison/index.tsx
index 328fdf18d..2d8117653 100644
--- a/apps/scandic-web/components/SasTierComparison/index.tsx
+++ b/apps/scandic-web/components/SasTierComparison/index.tsx
@@ -155,7 +155,7 @@ function ReadMoreLink({
children: ReactNode
}) {
return (
-
+
{children}
diff --git a/apps/scandic-web/components/Section/Link/index.tsx b/apps/scandic-web/components/Section/Link/index.tsx
index a269b2891..2af6791de 100644
--- a/apps/scandic-web/components/Section/Link/index.tsx
+++ b/apps/scandic-web/components/Section/Link/index.tsx
@@ -16,12 +16,7 @@ export default function SectionLink({ link, variant }: SectionLinkProps) {
variant,
})
return (
-
+
{link.text}
{Icon ? : null}
diff --git a/apps/scandic-web/components/Sidebar/JoinLoyalty/ReadMore/index.tsx b/apps/scandic-web/components/Sidebar/JoinLoyalty/ReadMore/index.tsx
index 533b9a55f..894cb9e7b 100644
--- a/apps/scandic-web/components/Sidebar/JoinLoyalty/ReadMore/index.tsx
+++ b/apps/scandic-web/components/Sidebar/JoinLoyalty/ReadMore/index.tsx
@@ -40,15 +40,9 @@ export default async function ReadMore() {
key={link.text}
size="small"
className={styles.link}
- color="burgundy"
href={link.href}
>
-
+
{link.text}
))}
diff --git a/apps/scandic-web/components/Sidebar/JoinLoyalty/index.tsx b/apps/scandic-web/components/Sidebar/JoinLoyalty/index.tsx
index 2f9cd15a2..b957f5e00 100644
--- a/apps/scandic-web/components/Sidebar/JoinLoyalty/index.tsx
+++ b/apps/scandic-web/components/Sidebar/JoinLoyalty/index.tsx
@@ -61,7 +61,6 @@ export default async function JoinLoyaltyContact({
className={styles.link}
trackingId="loginJoinLoyalty"
position="join scandic friends sidebar"
- color="burgundy"
>
{phoneContact.displayText}
{phoneContact.phoneNumber}
@@ -80,7 +79,6 @@ export default function Alert({
{link ? (