Saltar al contenido
DS

Componentes · Texto

Manuscrita <Script>

La letra manuscrita Morning Memories: una firma o una nota, nunca un párrafo.

import Script from '@vivla-cms/ds/primitives/Script.astro'

Ejemplos

Tonos

Morning Memories, la letra manuscrita de la marca. accent (terracota, por defecto), muted o inherit. Hereda el tamaño: dale uno con una clase de texto.

Ibiza Menorca Baqueira

Una firma, nunca un párrafo

Una o dos palabras: el nombre de un destino, un «hola», una firma bajo una cita. Nunca texto corrido ni navegación: se lee mal y no se puede traducir con naturalidad.

«Pasamos el agosto entero en la casa y nadie tuvo que preocuparse de nada.»
Marta propietaria de 1/8 en Casa Tarida

Junto a un titular

El acento manuscrito puede entrar en un titular serif para una sola palabra. El resto del titular sigue en PP Right Serif.

Tu verano en Menorca

Props

Props de Script
Prop Valores Por defecto Para qué
as keyof HTMLElementTagNameMap — —
tone accentinheritmuted 'accent' —
[string] unknown — Se pasan tal cual al elemento.

Slots: contenido

Notas del código

El comentario de cabecera de Script.astro, tal cual (en inglés, como el código): si cambia el código, cambia esto.

the Morning Memories handwritten accent (one or two words: a destination name, "hola", a signature). Decorative by nature: keep it to short phrases and never for body copy or navigation.

One design-mandated exception to «never for navigation»: the «VIVLA Studio» lockup of the main menu (final hand-off 1486:1979 / 1578:2543, 30/10) writes «Studio» by hand after the serif «VIVLA», at the link's own size (apps/web/src/layouts/chrome/menu/MenuPrimary.astro, the CMS field navigation.primary[].script). The word is real text inside the link, so the link is still named «VIVLA Studio».

The slot hugs the tag on purpose: whitespace around it would render as a space inside the span and let a following comma wrap to the next line.

Dónde se usa

5 veces en 5 archivos de la web y los bloques del CMS.

Ver los archivos
esc