feat: differentiate between header and footer colors
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.store-layout__footer {
|
||||
background-color: var(--tenant-header-footer-bg);
|
||||
background-color: var(--tenant-footer-bg);
|
||||
}
|
||||
|
||||
.store-layout__brand-slot {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.store-layout__header {
|
||||
color: #ffffff;
|
||||
background-color: var(--tenant-header-footer-bg);
|
||||
background-color: var(--tenant-header-bg);
|
||||
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
@@ -58,14 +58,14 @@
|
||||
.store-layout__search-button {
|
||||
color: #ffffff;
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
background-color: color-mix(in srgb, white 10%, var(--tenant-header-footer-bg));
|
||||
background-color: color-mix(in srgb, white 10%, var(--tenant-header-bg));
|
||||
}
|
||||
|
||||
.store-layout__search-button:hover,
|
||||
.store-layout__search-button:focus-visible {
|
||||
color: #ffffff;
|
||||
border-color: rgba(255, 255, 255, 0.28);
|
||||
background-color: color-mix(in srgb, white 16%, var(--tenant-header-footer-bg));
|
||||
background-color: color-mix(in srgb, white 16%, var(--tenant-header-bg));
|
||||
}
|
||||
|
||||
.store-layout__action-button {
|
||||
|
||||
@@ -15,7 +15,8 @@ const tenant: Tenant = {
|
||||
secondary_color: '#A0A0A0',
|
||||
danger_color: '#FF8888',
|
||||
success_color: '#198754',
|
||||
header_footer_bg_color: '#313131',
|
||||
header_bg_color: '#313131',
|
||||
footer_bg_color: '#313131',
|
||||
header_logo: 'https://example.com/header.png',
|
||||
footer_logo: 'https://example.com/footer.png'
|
||||
};
|
||||
|
||||
@@ -18,7 +18,8 @@ export const DEFAULT_TENANT_BRANDING = {
|
||||
secondaryColor: '#9e9e9e',
|
||||
dangerColor: '#fd4c4c',
|
||||
successColor: '#198754',
|
||||
headerFooterBgColor: '#313131'
|
||||
headerBgColor: '#313131',
|
||||
footerBgColor: '#313131'
|
||||
} as const;
|
||||
|
||||
export const TENANT_SSR_STATE_KEY = makeStateKey<TenantSsrState | null>('tenant-ssr-state');
|
||||
|
||||
@@ -9,7 +9,8 @@ export interface Tenant {
|
||||
secondary_color: string;
|
||||
danger_color: string;
|
||||
success_color: string;
|
||||
header_footer_bg_color: string;
|
||||
header_bg_color: string;
|
||||
footer_bg_color: string;
|
||||
header_logo: string;
|
||||
footer_logo: string;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,8 @@ const tenant: Tenant = {
|
||||
secondary_color: '#A0A0A0',
|
||||
danger_color: '#FF8888',
|
||||
success_color: '#198754',
|
||||
header_footer_bg_color: '#313131',
|
||||
header_bg_color: '#313131',
|
||||
footer_bg_color: '#313131',
|
||||
header_logo: 'https://example.com/header.png',
|
||||
footer_logo: 'https://example.com/footer.png'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user