Closed danicahelb closed 1 year ago
Please change all caps on SAM to sentence case to match EDA. Note that the variable label should start with a capital letter (and any other capitalization in the variable label should be maintained)
FYI, this is currently handled by using an mui <ThemeProvider>
: https://github.com/VEuPathDB/web-eda/blob/cba2c65d46c01b69533c7f5793a2b56468df0815/src/lib/workspace/WorkspaceRouter.tsx#L153.
We need the same thing for the map. Perhaps we should have a common container component for both apps that incorporates this, and any other top-level components.
I was trying to figure out what was going on and also found this:
Commenting it out brings back the all-caps.
However, I figured out to do it as part of the theme, in workspaceTheme.ts
, woo hoo!
export const workspaceTheme: ThemeOptions = {
typography: {
fontSize: 13,
fontFamily:
'Roboto, "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif',
button: {
textTransform: 'none',
},
},
Is that preferable/more consistent?
This sounds good!
Is this related to https://github.com/VEuPathDB/web-monorepo/issues/28 ?
All-caps appeared in the SAM...
In clinepi it looks like this: