Skip to content

Commit

Permalink
chore(react): add variables
Browse files Browse the repository at this point in the history
  • Loading branch information
brionmario committed Nov 2, 2023
1 parent 3c3928d commit 1c4c562
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react/src/models/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ declare module '@mui/material/styles' {
background: string;
};
};
Code: {
background: string;
};
Footer: {
background: string;
};
Expand Down
6 changes: 6 additions & 0 deletions packages/react/src/theme/default-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export const generateDefaultThemeOptions = (baseTheme: Theme): RecursivePartial<
background: 'var(--oxygen-palette-background-paper)',
},
},
Code: {
background: '#2c2e33',
},
Footer: {
background: '#000000',
},
Expand Down Expand Up @@ -64,6 +67,9 @@ export const generateDefaultThemeOptions = (baseTheme: Theme): RecursivePartial<
background: 'var(--oxygen-palette-background-paper)',
},
},
Code: {
background: '#eef0f1',
},
Footer: {
background: '#f7f8fb',
},
Expand Down

0 comments on commit 1c4c562

Please sign in to comment.