Skip to content

Commit 34fc20b

Browse files
fix: align font-size tokens with actual CSS values (inline vs block code)
Agent-Logs-Url: https://github.com/SebastienDegodez/SebastienDegodez.github.io/sessions/d13ac360-a37b-450c-9530-9723817b5999 Co-authored-by: SebastienDegodez <2349146+SebastienDegodez@users.noreply.github.com>
1 parent d70c4ee commit 34fc20b

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

DESIGN.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ background-image: linear-gradient(
103103
| `h4` | 1.1 em | ~38 px |
104104
| `h5` | 1.0 em | ~35 px |
105105
| `h6` | 0.9 em | ~31 px |
106-
| Code inline | 0.8 em | ~28 px |
107-
| Bloc de code | 0.6 em | ~21 px |
106+
| Code inline | 0.8 em | ~28 px | Gaia natif |
107+
| Bloc de code (`pre`) | 0.6 em | ~21 px | Surcharge MCP.Pack |
108108
| Footer / header | 66 % | ~23 px |
109109

110110
### Espacement texte
@@ -169,7 +169,8 @@ Fond (code inline) : #dad8c8 (--color-dimmed)
169169
Texte code inline : #455a64 (--color-dark)
170170
Fond pre : #fff8e1 (--color-foreground)
171171
Police : Fira Code, monospace
172-
Font-size pre : 0.6 em
172+
Font-size inline : 0.8 em (Gaia natif)
173+
Font-size pre : 0.6 em (surcharge MCP.Pack)
173174
Padding pre : 0.5 em
174175
border-radius : aucun défini
175176
```

design-tokens.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
--color-highlight: var(--color-secondary); /* #81d4fa */
2828
--color-code-bg: var(--color-dimmed); /* #dad8c8 */
2929
--color-code-text: var(--color-dark); /* #455a64 */
30-
--color-pre-bg: var(--color-foreground);/* #fff8e1 */
31-
--color-link: var(--color-secondary); /* #81d4fa */
30+
--color-pre-bg: var(--color-foreground);/* #fff8e1 */ --color-link: var(--color-secondary); /* #81d4fa */
3231
--color-heading-strong: var(--color-secondary); /* #81d4fa */
3332
--color-muted: var(--color-dimmed); /* #dad8c8 */
3433

@@ -74,8 +73,9 @@
7473
--font-size-h4: 1.1em; /* ~38px */
7574
--font-size-h5: 1em; /* ~35px */
7675
--font-size-h6: 0.9em; /* ~31px */
77-
--font-size-code: 0.6em; /* ~21px — valeur MCP.Pack */
78-
--font-size-pre: 0.7em; /* ~24px */
76+
--font-size-code-inline: 0.8em; /* ~28px — valeur Gaia native (inline `code`) */
77+
--font-size-code-block: 0.6em; /* ~21px — surcharge MCP.Pack (code dans pre) */
78+
--font-size-pre: 0.6em; /* ~21px — même surcharge custom-default MCP.Pack */
7979
--font-size-footer: 66%; /* ~23px */
8080

8181
/* Espacement texte */

0 commit comments

Comments
 (0)