Skip to content

Commit

Permalink
Remove code that overrides the search bar background color
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-jerolimov committed Sep 27, 2024
1 parent 1399e1e commit d9d34b9
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions src/themes/rhdh/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,13 +481,6 @@ export const components = (themeConfig: ThemeConfig): Components => {
styleOverrides: {
root: {
backgroundColor: general.mainSectionBackgroundColor,
"& div:first-child": {
'& > div[class*="-searchBar"]': {
backgroundColor: general.formControlBackgroundColor,
border: `1px solid ${general.searchBarBorderColor}`,
boxShadow: "none",
},
},
},
},
};
Expand Down
1 change: 0 additions & 1 deletion src/themes/rhdh/darkTheme.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ describe("customDarkTheme", () => {
general: {
disabledBackground: "#444548",
disabled: "#AAABAC",
searchBarBorderColor: "#57585a",
formControlBackgroundColor: "#36373A",
mainSectionBackgroundColor: "#0f1214",
headerBottomBorderColor: "#A3A3A3",
Expand Down
1 change: 0 additions & 1 deletion src/themes/rhdh/darkTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export const customDarkTheme = (): ThemeConfigPalette => {
general: {
disabledBackground: "#444548",
disabled: "#AAABAC",
searchBarBorderColor: "#57585a",
formControlBackgroundColor: "#36373A",
mainSectionBackgroundColor: "#0f1214",
headerBottomBorderColor: "#A3A3A3",
Expand Down
1 change: 0 additions & 1 deletion src/themes/rhdh/lightTheme.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ describe("customLightTheme", () => {
general: {
disabledBackground: "#D2D2D2",
disabled: "#6A6E73",
searchBarBorderColor: "#E4E4E4",
formControlBackgroundColor: "#FFF",
mainSectionBackgroundColor: "#FFF",
headerBottomBorderColor: "#C7C7C7",
Expand Down
1 change: 0 additions & 1 deletion src/themes/rhdh/lightTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const customLightTheme = (): ThemeConfigPalette => {
general: {
disabledBackground: "#D2D2D2",
disabled: "#6A6E73",
searchBarBorderColor: "#E4E4E4",
formControlBackgroundColor: "#FFF",
mainSectionBackgroundColor: "#FFF",
headerBottomBorderColor: "#C7C7C7",
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export interface RHDHThemePalette {
general: {
disabledBackground: string;
disabled: string;
searchBarBorderColor: string;
formControlBackgroundColor: string;
mainSectionBackgroundColor: string;
headerBottomBorderColor: string;
Expand Down

0 comments on commit d9d34b9

Please sign in to comment.