config.KuitoSplash
The splash setting: how the native launch screen looks, in light and dark mode, and the named variants the app can pick for its next launch.
Verwendung
Fail builds on a fallback
Dieser Typ wird verwendet von config.KuitoConfig
import type { KuitoConfig } from 'kuito/config';
export default {
name: 'MyApp',
ios: { bundleIdentifier: 'com.example.myapp' },
android: { applicationId: 'com.example.myapp' },
strict: true,
} satisfies KuitoConfig;Typdeklaration
export interface KuitoSplash extends SplashLookConfig {
/** Looks the app can pick for its next launch, where the platform allows it. */
variants?: Record<string, SplashLookConfig>;
}Mitglieder 6
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
variants | Record<string, SplashLookConfig> | Nein | Looks the app can pick for its next launch, where the platform allows it. |
logo | string | Nein | A PNG drawn logoWidth wide in the middle of the screen. |
logoWidth | number | Nein | In points (iOS) and dp (Android); 100 by default, at most 288. |
background | string | Nein | A color like #1E88E5; white by default. |
brand | string | Nein | A PNG fitted into a 200×80 box, 60 from the bottom. |
dark | { logo?: string; background?: string; brand?: string;} | Nein | Replacements in dark mode. |
dark — verschachtelte Felder
dark Felder
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
logo | string | Nein | — |
background | string | Nein | — |
brand | string | Nein | — |
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.