refactor(client): centralise monospace font through the theme
Add a fontFamilyMonospace token to theme.typography (ui-monospace stack with sensible fallbacks) and route the four ad-hoc fontFamily="monospace" call sites through it so the project has one source of truth.
This commit is contained in:
1 parent
82ad40ac82
commit
c6db7e6479
4 files changed
+12
-6
No files matched your search
@@ -579,7 +579,7 @@ export const SettingsPage = () => {
|
||||
<Box
|
||||
component="pre"
|
||||
sx={{
|
||||
fontFamily: "monospace",
|
||||
fontFamily: theme.typography.fontFamilyMonospace,
|
||||
p: 2,
|
||||
borderRadius: 1,
|
||||
overflow: "auto",
|
||||
|
||||
Reference in new issue
Block a user