feat(native): set the welcome headline in lowercase MuseoModerno, full-width demo button

This commit is contained in:
Maurice
2026-11-05 22:43:52 +01:00
parent 70cfe9bfb0
commit 61a7b5bceb
3 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ function showWelcome(opts: { back?: boolean } = {}): void {
'div',
{},
hero,
el('h1', { className: 'title' }, t('native.welcome.headline')),
el('h1', { className: 'title brand-title' }, t('native.welcome.headline')),
el('p', { className: 'sub' }, t('native.welcome.sub')),
connect,
cloud,
+22 -8
View File
@@ -31,6 +31,13 @@
font-display: swap;
src: url('./fonts/poppins-latin-700.woff2') format('woff2');
}
@font-face {
font-family: 'MuseoModerno';
font-style: normal;
font-weight: 600 700;
font-display: swap;
src: url('./fonts/museomoderno-latin-600.woff2') format('woff2');
}
:root {
--bg: #09090b;
@@ -346,6 +353,14 @@ body::after {
/* Honour the newline in the headline string (e.g. "Deine Reisen.\nDein Plan."). */
white-space: pre-line;
}
/* The welcome headline as the brand says it: MuseoModerno, lower case. */
.brand-title {
font-family: 'MuseoModerno', 'Poppins', sans-serif;
font-weight: 700;
text-transform: lowercase;
letter-spacing: -0.01em;
line-height: 1.08;
}
.title-sm {
font-size: 1.5rem;
line-height: 1.18;
@@ -439,19 +454,18 @@ body::after {
.demo-link {
font: inherit;
font-weight: 600;
font-size: 0.9rem;
align-self: center;
font-size: 0.95rem;
align-self: stretch;
width: 100%;
margin-top: 2px;
padding: 11px 20px;
border-radius: 999px;
padding: 14px 18px;
min-height: 48px;
border-radius: var(--radius);
border: 1px solid var(--edge);
background: var(--surface);
background: transparent;
color: var(--muted);
cursor: pointer;
white-space: nowrap;
box-shadow:
0 1px 2px rgba(0, 0, 0, 0.2),
inset 0 0 0 1px color-mix(in srgb, var(--ink) 3%, transparent);
transition:
color 0.2s,
background 0.2s,