跳到主要内容

Variable: ThemeBootResponseSchema

const ThemeBootResponseSchema: TObject<{ cssUrls: TArray<TString>; dark: TRecord<TString, TString>; light: TRecord<TString, TString>; themeId: TUnion<[TString, TNull]>; }>

Defined in: packages/contracts/src/theme.ts:68

Pre-hydration theme bootstrap (anti-FOUC): everything a plain inline script needs to apply the active theme before React mounts — resolved token variables for both modes and the package stylesheet URLs.