Skip to content

Commit a7c40e7

Browse files
committed
fix: remove placeholder favicon SVG, complete typography coverage
Remove the "FL" placeholder SVG favicon — use only the real Flexion brand mark PNGs from flexion.us. Drop the SVG icon link from <head>. Add missing prose typography for markdown content: - blockquote: left border accent, subtle text, padding - code/pre: monospace font stack via --font-mono token, background tint, proper sizing (0.9em inline, --step--1 for blocks) - hr: clean single-line rule with vertical margin - small: maps to --step--1 - Last-child margin prevention to avoid double-spacing in containers Extract font stacks into tokens (--font-sans, --font-mono) so base.css and components reference a single definition.
1 parent dc56e67 commit a7c40e7

4 files changed

Lines changed: 49 additions & 7 deletions

File tree

src/design/assets/favicon.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/design/base.css

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
color-scheme: light;
44
}
55
body {
6-
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
6+
font-family: var(--font-sans);
77
font-size: var(--step-0);
88
color: var(--color-ink);
99
background: var(--color-surface);
1010
}
1111
h1, h2, h3, h4 {
1212
line-height: 1.2;
1313
font-weight: 700;
14-
font-family: ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
14+
font-family: var(--font-sans);
1515
margin-block-end: 0.5em;
1616
}
1717
h1 { font-size: var(--step-4); line-height: 1.15; }
@@ -44,6 +44,49 @@
4444
dd {
4545
margin-block-end: 0.5em;
4646
}
47+
blockquote {
48+
border-inline-start: 4px solid var(--color-surface-alt);
49+
padding-inline-start: var(--space-5);
50+
padding-block: var(--space-3);
51+
margin-block-end: 1em;
52+
color: var(--color-ink-subtle);
53+
max-inline-size: var(--measure-prose);
54+
}
55+
code {
56+
font-family: var(--font-mono);
57+
font-size: 0.9em;
58+
background: var(--color-surface-alt);
59+
padding: 0.1em 0.3em;
60+
border-radius: var(--radius-sm);
61+
}
62+
pre {
63+
font-family: var(--font-mono);
64+
font-size: var(--step--1);
65+
line-height: 1.6;
66+
background: var(--color-surface-alt);
67+
padding: var(--space-4);
68+
border-radius: var(--radius-md);
69+
overflow-x: auto;
70+
margin-block-end: 1em;
71+
max-inline-size: var(--measure-wide);
72+
}
73+
pre code {
74+
background: none;
75+
padding: 0;
76+
font-size: inherit;
77+
}
78+
hr {
79+
border: none;
80+
border-block-start: 1px solid var(--color-surface-alt);
81+
margin-block: var(--space-6);
82+
}
83+
small {
84+
font-size: var(--step--1);
85+
}
86+
/* Prevent trailing margin on the last flow element in a container */
87+
:where(h1, h2, h3, h4, p, ul, ol, dl, blockquote, pre):last-child {
88+
margin-block-end: 0;
89+
}
4790
a {
4891
color: var(--color-link);
4992
text-decoration-thickness: 0.08em;

src/design/common/layout.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export function Layout({
2323
<link rel="stylesheet" href="design/index.css" />
2424
<link rel="icon" href="assets/favicon-32x32.png" sizes="32x32" type="image/png" />
2525
<link rel="icon" href="assets/favicon-192x192.png" sizes="192x192" type="image/png" />
26-
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml" />
2726
<link rel="apple-touch-icon" href="assets/apple-touch-icon.png" />
2827
<meta name="msapplication-TileImage" content="assets/mstile-270x270.png" />
2928
<script type="module" src="enhancements/register.js" defer></script>

src/design/tokens.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@
6868
--radius-lg: 1rem;
6969
--shadow-card: 0 1px 2px rgb(0 0 0 / 0.04), 0 4px 12px rgb(0 0 0 / 0.06);
7070

71+
/* ---------- Font stacks ---------- */
72+
--font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
73+
--font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
74+
7175
/* ---------- Measure ---------- */
7276
--measure-prose: 65ch;
7377
--measure-wide: min(96rem, 100%);

0 commit comments

Comments
 (0)