feat: 新增租戶品牌客製化系統(Logo、主色系)、修正 hardcoded 顏色為 CSS 變數
This commit is contained in:
7
resources/js/types/global.d.ts
vendored
7
resources/js/types/global.d.ts
vendored
@@ -11,6 +11,12 @@ export interface AuthUser {
|
||||
permissions: string[];
|
||||
}
|
||||
|
||||
export interface Branding {
|
||||
logo_url?: string | null;
|
||||
primary_color?: string;
|
||||
text_color?: string;
|
||||
}
|
||||
|
||||
export interface PageProps {
|
||||
auth: {
|
||||
user: AuthUser | null;
|
||||
@@ -19,6 +25,7 @@ export interface PageProps {
|
||||
success?: string;
|
||||
error?: string;
|
||||
};
|
||||
branding?: Branding | null;
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
||||
Reference in New Issue
Block a user