From dc19b0fbb454fdad893eadd1454ca526edc9c80e Mon Sep 17 00:00:00 2001 From: Yashita Date: Wed, 26 Apr 2023 12:27:01 +0530 Subject: [PATCH] retained the previously made change for common components --- src/OnboardingSPA/styles/_interface.scss | 32 ++++++++++-------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/src/OnboardingSPA/styles/_interface.scss b/src/OnboardingSPA/styles/_interface.scss index 078af0be1..fa941cc12 100644 --- a/src/OnboardingSPA/styles/_interface.scss +++ b/src/OnboardingSPA/styles/_interface.scss @@ -6,25 +6,6 @@ html.wp-toolbar { } body { - --nfd-onboarding-icon: url(../../Brands/newfold/icon.svg); - --nfd-onboarding-logo: url(../../Brands/newfold/logo.svg); - --nfd-onboarding-primary: #dd5228; - --nfd-onboarding-light: #f2f2f2; - --nfd-onboarding-dark: #1e2223; - --nfd-onboarding-white: #fff; - --nfd-onboarding-white-rgb: 255, 255, 255; - --nfd-onboarding-black: #000; - --nfd-onboarding-header-bg: var(--nfd-onboarding-light); - --nfd-onboarding-header-fg: var(--nfd-onboarding-dark); - --nfd-onboarding-content-bg: var(--nfd-onboarding-light); - --nfd-onboarding-content-fg: var(--nfd-onboarding-dark); - --nfd-onboarding-drawer-bg: var(--nfd-onboarding-dark); - --nfd-onboarding-drawer-fg: var(--nfd-onboarding-light); - --nfd-onboarding-drawer-icon-fill: var(--nfd-onboarding-dark); - --nfd-onboarding-drawer-icon-active-fill: var(--nfd-onboarding-light); - --nfd-onboarding-footer-fg: var(--nfd-onboarding-dark); - --nfd-onboarding-footer-bg: var(--nfd-onboarding-light); - --nfd-onboarding-light-gray-5: #eee; &:not(.is-fullscreen-mode) { opacity: 0; @@ -39,4 +20,17 @@ body { @include wp-admin-reset(".nfd-onboarding-container"); } + + // Common Components across Brands + --nfd-onboarding-white: #fff; + --nfd-onboarding-white-rgb: 255, 255, 255; + --nfd-onboarding-black: #000; + --nfd-onboarding-header-bg: var(--nfd-onboarding-light); + --nfd-onboarding-header-fg: var(--nfd-onboarding-dark); + --nfd-onboarding-content-bg: var(--nfd-onboarding-light); + --nfd-onboarding-content-fg: var(--nfd-onboarding-dark); + --nfd-onboarding-drawer-bg: var(--nfd-onboarding-dark); + --nfd-onboarding-drawer-fg: var(--nfd-onboarding-light); + --nfd-onboarding-footer-fg: var(--nfd-onboarding-dark); + --nfd-onboarding-footer-bg: var(--nfd-onboarding-light); }