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.
Utilização
Fail builds on a fallback
Este tipo é usado por 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;Declaração do tipo
export interface KuitoSplash extends SplashLookConfig {
/** Looks the app can pick for its next launch, where the platform allows it. */
variants?: Record<string, SplashLookConfig>;
}Membros 6
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
variants | Record<string, SplashLookConfig> | Não | Looks the app can pick for its next launch, where the platform allows it. |
logo | string | Não | A PNG drawn logoWidth wide in the middle of the screen. |
logoWidth | number | Não | In points (iOS) and dp (Android); 100 by default, at most 288. |
background | string | Não | A color like #1E88E5; white by default. |
brand | string | Não | A PNG fitted into a 200×80 box, 60 from the bottom. |
dark | { logo?: string; background?: string; brand?: string;} | Não | Replacements in dark mode. |
dark — campos aninhados
dark campos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
logo | string | Não | — |
background | string | Não | — |
brand | string | Não | — |
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.