Skip to content

Commit

Permalink
fix body styles
Browse files Browse the repository at this point in the history
  • Loading branch information
bnussman committed Sep 6, 2023
1 parent 76fc65e commit c31dfed
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const useStyles = makeStyles<void, 'linkItem'>()(
color: '#fff',
display: 'flex',
fontFamily: 'LatoWebBold', // we keep this bold at all times
fontSize: '1rem',
opacity: 1,
position: 'relative',
transition: theme.transitions.create(['color']),
Expand Down
1 change: 1 addition & 0 deletions packages/manager/src/features/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ interface Props {
const useStyles = makeStyles()((theme: Theme) => ({
container: {
backgroundColor: theme.bg.main,
fontSize: '1rem',
margin: 0,
padding: '4px 0px',
[theme.breakpoints.down('sm')]: {
Expand Down
1 change: 1 addition & 0 deletions packages/manager/src/foundations/themes/dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ export const darkTheme: ThemeOptions = {
name: 'dark',
palette: {
background: {
default: customDarkModeOptions.bg.app,
paper: '#2e3238',
},
divider: primaryColors.divider,
Expand Down
3 changes: 3 additions & 0 deletions packages/manager/src/foundations/themes/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,9 @@ export const lightTheme: ThemeOptions = {
},
name: 'light', // @todo remove this because we leverage pallete.mode now
palette: {
background: {
default: bg.app,
},
divider: primaryColors.divider,
error: {
dark: '#cd2227',
Expand Down
2 changes: 2 additions & 0 deletions packages/manager/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import LinodeThemeWrapper from './LinodeThemeWrapper';
import { loadDevTools, shouldEnableDevTools } from './dev-tools/load';
import './index.css';
import { queryClientFactory } from './queries/base';
import CssBaseline from '@mui/material/CssBaseline';

const queryClient = queryClientFactory();
const store = storeFactory(queryClient);
Expand Down Expand Up @@ -58,6 +59,7 @@ const ContextWrapper = () => (
<ReduxStoreProvider store={store}>
<QueryClientProvider client={queryClient}>
<LinodeThemeWrapper>
<CssBaseline />
<React.Suspense fallback={<SplashScreen />}>
<Switch>
<Route component={OAuthCallbackPage} exact path="/oauth/callback" />
Expand Down

0 comments on commit c31dfed

Please sign in to comment.