From 1bc8753649843515875d52e4fc30a868ec58d0f4 Mon Sep 17 00:00:00 2001 From: Christel Westerberg Date: Tue, 21 May 2024 14:33:58 +0200 Subject: [PATCH] feat: implement new design for button --- .../(protected)/my-pages/layout.module.css | 2 +- .../my-pages/profile/@edit/edit/page.tsx | 3 - .../my-pages/profile/@view/page.tsx | 2 +- .../[contentType]/[uid]/layout.module.css | 2 +- .../HowItWorks/howItWorks.module.css | 2 +- .../LoyaltyLevels/loyaltyLevels.module.css | 2 +- .../Benefits/CurrentLevel/current.module.css | 2 +- .../Blocks/Benefits/NextLevel/index.tsx | 2 +- .../Blocks/Stays/ShowMoreButton/index.tsx | 2 +- .../Soonest/EmptyUpcomingStays/index.tsx | 2 +- .../Upcoming/EmptyUpcomingStays/index.tsx | 2 +- .../TempDesignSystem/Button/button.module.css | 215 +++++++++--------- components/TempDesignSystem/Button/index.tsx | 6 +- .../TempDesignSystem/Button/variants.ts | 28 +-- 14 files changed, 135 insertions(+), 137 deletions(-) diff --git a/app/[lang]/(live)/(protected)/my-pages/layout.module.css b/app/[lang]/(live)/(protected)/my-pages/layout.module.css index a4f9a9f44..5e70c4db4 100644 --- a/app/[lang]/(live)/(protected)/my-pages/layout.module.css +++ b/app/[lang]/(live)/(protected)/my-pages/layout.module.css @@ -1,7 +1,7 @@ .layout { --header-height: 4.5rem; - background-color: var(--Brand-Coffee-Subtle); + background-color: var(--Scandic-Brand-Warm-White); display: grid; font-family: var(--ff-fira-sans); grid-template-rows: var(--header-height) auto 1fr; diff --git a/app/[lang]/(live)/(protected)/my-pages/profile/@edit/edit/page.tsx b/app/[lang]/(live)/(protected)/my-pages/profile/@edit/edit/page.tsx index 215039f2f..0ca34063c 100644 --- a/app/[lang]/(live)/(protected)/my-pages/profile/@edit/edit/page.tsx +++ b/app/[lang]/(live)/(protected)/my-pages/profile/@edit/edit/page.tsx @@ -16,7 +16,6 @@ export default function EditProfile({ params }: PageArgs) { diff --git a/app/[lang]/(live)/(protected)/my-pages/profile/@view/page.tsx b/app/[lang]/(live)/(protected)/my-pages/profile/@view/page.tsx index 30bf1b004..1415e38a4 100644 --- a/app/[lang]/(live)/(protected)/my-pages/profile/@view/page.tsx +++ b/app/[lang]/(live)/(protected)/my-pages/profile/@view/page.tsx @@ -8,7 +8,7 @@ import type { LangParams, PageArgs } from "@/types/params" export default function ProfileView({ params }: PageArgs) { return ( - ) diff --git a/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.module.css b/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.module.css index 55219a7f1..fe0c45cf6 100644 --- a/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.module.css +++ b/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.module.css @@ -1,5 +1,5 @@ .layout { display: grid; font-family: var(--ff-fira-sans); - background-color: var(--Brand-Coffee-Subtle); + background-color: var(--Scandic-Brand-Warm-White); } diff --git a/components/Loyalty/Blocks/DynamicContent/HowItWorks/howItWorks.module.css b/components/Loyalty/Blocks/DynamicContent/HowItWorks/howItWorks.module.css index 27a9a7561..686ee75b7 100644 --- a/components/Loyalty/Blocks/DynamicContent/HowItWorks/howItWorks.module.css +++ b/components/Loyalty/Blocks/DynamicContent/HowItWorks/howItWorks.module.css @@ -5,7 +5,7 @@ width: 100%; height: 37rem; border-radius: 1.6rem; - background-color: var(--Base-Fill-Normal); + background-color: var(--UI-Grey-10); text-align: center; margin-right: 1.6rem; } diff --git a/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/loyaltyLevels.module.css b/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/loyaltyLevels.module.css index 347f06d0a..f705b778a 100644 --- a/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/loyaltyLevels.module.css +++ b/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/loyaltyLevels.module.css @@ -27,7 +27,7 @@ height: 37rem; min-width: 32rem; padding: 4rem 1rem; - background-color: var(--Base-Fill-Normal); + background-color: var(--UI-Grey-10); border-radius: 1.6rem; gap: 1.8rem; } diff --git a/components/MyPages/Blocks/Benefits/CurrentLevel/current.module.css b/components/MyPages/Blocks/Benefits/CurrentLevel/current.module.css index dafb4e7bf..3c9e2a7b1 100644 --- a/components/MyPages/Blocks/Benefits/CurrentLevel/current.module.css +++ b/components/MyPages/Blocks/Benefits/CurrentLevel/current.module.css @@ -29,7 +29,7 @@ flex-direction: column; gap: 10px; min-height: 280px; - background-color: var(--Base-Fill-Normal); + background-color: var(--UI-Grey-10); justify-content: center; align-items: center; padding: 30px; diff --git a/components/MyPages/Blocks/Benefits/NextLevel/index.tsx b/components/MyPages/Blocks/Benefits/NextLevel/index.tsx index 8497a4945..852e5325d 100644 --- a/components/MyPages/Blocks/Benefits/NextLevel/index.tsx +++ b/components/MyPages/Blocks/Benefits/NextLevel/index.tsx @@ -24,7 +24,7 @@ export default async function NextLevelBenefitsBlock({ {perks.map((perk) => (
- diff --git a/components/MyPages/Blocks/Stays/ShowMoreButton/index.tsx b/components/MyPages/Blocks/Stays/ShowMoreButton/index.tsx index abf15c216..381e079eb 100644 --- a/components/MyPages/Blocks/Stays/ShowMoreButton/index.tsx +++ b/components/MyPages/Blocks/Stays/ShowMoreButton/index.tsx @@ -13,7 +13,7 @@ export default function ShowMoreButton({