Files
persona-lenz/apps/web/src/index.css
T
2026-07-02 22:00:01 -07:00

98 lines
1.5 KiB
CSS

:root {
--accent: #4cc9a7;
--background: #0d1110;
--border: #2d3834;
--border-strong: #46554f;
--danger: #d86666;
--danger-strong: #f2a3a3;
--surface: #151a18;
--surface-soft: #1c2420;
--text: #d9e1dc;
--text-muted: #a6b1ab;
--text-strong: #f4f7f5;
--text-subtle: #808b85;
--warning: #d4a944;
--warning-strong: #efd18a;
color: var(--text);
background: var(--background);
font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', sans-serif;
font-synthesis: none;
letter-spacing: 0;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
}
body {
min-width: 320px;
min-height: 100svh;
margin: 0;
}
button,
input {
font: inherit;
}
button,
a {
-webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent);
outline-offset: 3px;
}
h1,
h2,
h3,
p {
overflow-wrap: anywhere;
}
h1,
h2,
h3 {
margin: 0;
color: var(--text-strong);
font-weight: 800;
letter-spacing: 0;
}
h1 {
max-width: 860px;
font-size: 56px;
line-height: 1.02;
}
h2 {
font-size: 20px;
line-height: 1.25;
}
img,
svg {
display: block;
}
::selection {
background: color-mix(in srgb, var(--accent) 38%, transparent);
color: var(--text-strong);
}
@media (max-width: 640px) {
h1 {
font-size: 34px;
line-height: 1.08;
}
}