Skip to content

Commit

Permalink
Improve visibility of input fields
Browse files Browse the repository at this point in the history
Shows a slightly grey (whitesmoke) background and white input fields in light mode.

This changes should make the input fields better visible, since they are currently displayed in the same background color.

Resolves opencast#932
  • Loading branch information
debenz committed Feb 1, 2023
1 parent 3ed1a19 commit 7e9b2f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cssStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export const subtitleSelectStyle = (theme: Theme) => createTheme({
MuiSelect: {
styleOverrides: {
select: {
background: `${theme.background}`,
background: `${theme.element_bg}`,
color: `${theme.text} !important`,
},
icon: {
Expand Down
2 changes: 1 addition & 1 deletion src/themes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Theme } from "./redux/themeSlice";

export const lightMode: Theme = {
background: 'snow',
background: 'whitesmoke',
text: '#000',
error: '#ed1741',
element_bg: 'snow',
Expand Down

0 comments on commit 7e9b2f7

Please sign in to comment.