Skip to content

Commit fc4ad08

Browse files
fix: MUI Theme Base CSS Styles (#9636)
* fix body styles * fix font size in tables @abailly-akamai --------- Co-authored-by: Banks Nussman <banks@nussman.us>
1 parent 8681e38 commit fc4ad08

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

packages/manager/src/components/PrimaryNav/PrimaryNav.styles.ts

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const useStyles = makeStyles<void, 'linkItem'>()(
4242
color: '#fff',
4343
display: 'flex',
4444
fontFamily: 'LatoWebBold', // we keep this bold at all times
45+
fontSize: '1rem',
4546
opacity: 1,
4647
position: 'relative',
4748
transition: theme.transitions.create(['color']),

packages/manager/src/features/Footer/Footer.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ interface Props {
1414
const useStyles = makeStyles()((theme: Theme) => ({
1515
container: {
1616
backgroundColor: theme.bg.main,
17+
fontSize: '1rem',
1718
margin: 0,
1819
padding: '4px 0px',
1920
[theme.breakpoints.down('sm')]: {

packages/manager/src/foundations/themes/dark.ts

+1
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ export const darkTheme: ThemeOptions = {
552552
name: 'dark',
553553
palette: {
554554
background: {
555+
default: customDarkModeOptions.bg.app,
555556
paper: '#2e3238',
556557
},
557558
divider: primaryColors.divider,

packages/manager/src/foundations/themes/light.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,9 @@ export const lightTheme: ThemeOptions = {
14051405
},
14061406
name: 'light', // @todo remove this because we leverage pallete.mode now
14071407
palette: {
1408+
background: {
1409+
default: bg.app,
1410+
},
14081411
divider: primaryColors.divider,
14091412
error: {
14101413
dark: '#cd2227',

packages/manager/src/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import LinodeThemeWrapper from './LinodeThemeWrapper';
2020
import { loadDevTools, shouldEnableDevTools } from './dev-tools/load';
2121
import './index.css';
2222
import { queryClientFactory } from './queries/base';
23+
import CssBaseline from '@mui/material/CssBaseline';
2324

2425
const queryClient = queryClientFactory();
2526
const store = storeFactory(queryClient);
@@ -58,6 +59,7 @@ const ContextWrapper = () => (
5859
<ReduxStoreProvider store={store}>
5960
<QueryClientProvider client={queryClient}>
6061
<LinodeThemeWrapper>
62+
<CssBaseline />
6163
<React.Suspense fallback={<SplashScreen />}>
6264
<Switch>
6365
<Route component={OAuthCallbackPage} exact path="/oauth/callback" />

0 commit comments

Comments
 (0)