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.
Utilisation
Fail builds on a fallback
Ce type est utilisé par 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;Déclaration du type
export interface KuitoSplash extends SplashLookConfig {
/** Looks the app can pick for its next launch, where the platform allows it. */
variants?: Record<string, SplashLookConfig>;
}Membres 6
| Nom | Type | Requis | Description |
|---|---|---|---|
variants | Record<string, SplashLookConfig> | Non | Looks the app can pick for its next launch, where the platform allows it. |
logo | string | Non | A PNG drawn logoWidth wide in the middle of the screen. |
logoWidth | number | Non | In points (iOS) and dp (Android); 100 by default, at most 288. |
background | string | Non | A color like #1E88E5; white by default. |
brand | string | Non | A PNG fitted into a 200×80 box, 60 from the bottom. |
dark | { logo?: string; background?: string; brand?: string;} | Non | Replacements in dark mode. |
dark — champs imbriqués
dark champs
| Nom | Type | Requis | Description |
|---|---|---|---|
logo | string | Non | — |
background | string | Non | — |
brand | string | Non | — |
Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.