Repository navigation
Commit f27a865
committed
refactor(mobile): style appearance code preview with semantic classes
The CodeAppearancePreview read the JS palette for the line-number and
keyword colors of two ordinary Text nodes. Render them with the
text-icon-subtle and text-md-link semantic classes (same tokens, and the
nested-Text conditional class pattern already used by thread search
matches), keep only the dynamic font metrics in style, and drop
AppearancePreviews.tsx from the allowUniwindTheme override so future JS
palette reads in that file are linted. The allowlist now matches the
actual useUniwindTheme importers 1:1.
Model: callstack/Apex via pi1 parent ea3916c commit f27a865
2 files changed
Lines changed: 2 additions & 8 deletions
File tree
- apps/mobile/src/features/settings/appearance/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | 140 | | |
145 | 141 | | |
146 | 142 | | |
147 | | - | |
| 143 | + | |
148 | 144 | | |
149 | 145 | | |
150 | | - | |
151 | 146 | | |
152 | 147 | | |
153 | 148 | | |
| |||
172 | 167 | | |
173 | 168 | | |
174 | 169 | | |
| 170 | + | |
175 | 171 | | |
176 | | - | |
177 | 172 | | |
178 | 173 | | |
179 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | 211 | | |
213 | 212 | | |
214 | 213 | | |
| |||
0 commit comments