Repository navigation
Commit 1067ac4
authored
Type on Tailwind's whole-pixel scale: text-sm 14px, text-xs 12px, titles 24px (#2698)
* Type on Tailwind's whole-pixel scale: text-sm 14px, text-xs 12px, titles 24px
theme.css set every --text-* step to Tailwind's default times 15/16, so each size was a fraction of
a pixel: text-sm 13.125px, text-xs 11.25px, a page title 22.5px. The steps are now Tailwind's own:
text-xs 12px, text-sm 14px, text-base 16px, text-2xl 24px. --text-conversation stays as it is.
The line under a row's name (ItemDescription) is text-sm in muted-foreground, the name's size, as
in shadcn. Three screens that forced it back to text-xs no longer do. Rows with a description are
71px, 6px taller than before.
The look's type rule, the layout skill and the comments that stated the old sizes say the new
ones. The artifacts kit test reads text-sm from Tailwind's own --text-sm.
* Skins test: the update banner's line sits 1px higher on the 14px scale
The banner's line is text-sm, centred in its 28px row. At 14px on a 20px line (was 13.125px on
18.75px) its top lands at 10px instead of 11px in OpenDuet and OpenFuse. The banner and its row
are where they were, so only the measured baseline changes.
* Type scale only; Desktop's setup window on the same scale; docs on how sizes change
The line under a row's name (ItemDescription) and the three screens that set it moved to their
own pull request, so this one is the type scale alone. A title over a one-line description is
67px on the new scale (was 65px).
OpenBot Desktop's setup window had its own copy of the 15/16 scale. It now uses Tailwind's
whole-pixel steps too, so setup and the app match. At 16px the Docker Desktop hand-off needs a
fifth line at the smallest window (720x560), so the page holds five lines there instead of four.
"Sizes stay" in the look and in design-system.md now says how a size changes: only with its
scale, for every screen at once, agreed first.
* Take main's CHANGELOG.md: the release note moves to the pull request's description
* Desktop's first paint draws the setup page's heading at 24px and its line at 16px
The cover Windows draws before the setup page loads copies the page's first card, and its test
checks styles.css still has the sizes it copied. On the whole-pixel scale the h1 is 24px (was
22.5px) at 1.3 and the lede 16px (was 15px), so the cover now draws them at those sizes.1 parent cc87bc9 commit 1067ac4
15 files changed
Lines changed: 55 additions & 57 deletions
File tree
- .claude/skills/openbot-screen-layout
- app
- src
- components
- channels/composer
- layout
- ui
- tests
- desktop
- src-tauri/src
- src
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 207 | + | |
| 208 | + | |
211 | 209 | | |
212 | 210 | | |
213 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
| 176 | + | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 152 | | |
154 | 153 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | 154 | | |
161 | 155 | | |
162 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2254 | 2254 | | |
2255 | 2255 | | |
2256 | 2256 | | |
2257 | | - | |
| 2257 | + | |
2258 | 2258 | | |
2259 | 2259 | | |
2260 | 2260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
496 | 499 | | |
497 | | - | |
| 500 | + | |
498 | 501 | | |
499 | 502 | | |
500 | 503 | | |
| |||
514 | 517 | | |
515 | 518 | | |
516 | 519 | | |
517 | | - | |
| 520 | + | |
518 | 521 | | |
519 | 522 | | |
520 | 523 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
223 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments