KBD_VARIANT_PRESETS
const
Kbd
TypeScript
Définition
La définition TypeScript telle qu'elle apparaît dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Entrées
Valeurs
Toutes les entrées de cette constante. Cliquez sur une valeur pour la copier dans le presse-papiers.
- outlined: { bgColor: 'var(--origam-kbd--outlined---background-color, var(--origam-color__surface---raised, #fff))', elevation: '0 1px 0 0 color-mix(in srgb, currentColor 12%, transparent), inset 0 1px 0 0 color-mix(in srgb, white 50%, transparent)' }
- filled: { bgColor: 'var(--origam-kbd__filled---background-color, var(--origam-color__surface---overlay, #f5f5f5))', elevation: '0 1px 2px 0 color-mix(in srgb, currentColor 18%, transparent), inset 0 1px 0 0 color-mix(in srgb, white 60%, transparent)' }
- tonal: { bgColor: 'var(--origam-kbd__tonal---background-color, color-mix(in srgb, currentColor 8%, transparent))', border: 'none', borderColor: 'transparent', elevation: 'none' }