Add business dashboard dark mode from Super Admin theme setting.
Login and in-app surfaces follow tenant themeMode, matching customer dark tokens, with themed switches and tighter card/table chrome. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
65012717d0
commit
e9400c2281
@@ -1,6 +1,7 @@
|
||||
import { apiRequest } from '../lib/api'
|
||||
import type { DashboardLocale } from '@meshkee/dashboard-core'
|
||||
import type { BusinessPrimaryColorId } from '../utils/businessPrimaryColors'
|
||||
import type { DashboardThemeMode } from '../utils/applyBusinessTheme'
|
||||
import type { BusinessModuleId, HomeChartId } from '../utils/businessModules'
|
||||
|
||||
export interface ResolvedTenant {
|
||||
@@ -11,10 +12,12 @@ export interface ResolvedTenant {
|
||||
domain: string
|
||||
primaryColor: BusinessPrimaryColorId
|
||||
defaultLocale?: DashboardLocale
|
||||
themeMode?: DashboardThemeMode
|
||||
enabledModules?: BusinessModuleId[]
|
||||
homeCharts?: [HomeChartId, HomeChartId]
|
||||
specialProductsSource?: 'product' | 'store_item'
|
||||
logoUrl?: string | null
|
||||
logoDarkUrl?: string | null
|
||||
faviconUrl?: string | null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user