Skip to content

Commit

Permalink
Merge pull request #4409 from marmelab/fix-rich-text-color
Browse files Browse the repository at this point in the history
Fich rich text colors
  • Loading branch information
djhi authored Feb 11, 2020
2 parents 53aac9b + 15280e0 commit e86f998
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/ra-input-rich-text/src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,24 +79,24 @@ export default theme => ({
},
},
'& .standard .ql-editor': {
backgroundColor: theme.palette.text.primary,
backgroundColor: theme.palette.background.paper,
},
'& .outlined .ql-editor': {
backgroundColor: theme.palette.text.primary,
backgroundColor: theme.palette.background.paper,
},
'& .ql-toolbar.ql-snow': {
margin: '0.5rem 0',
border: 0,
padding: 0,

'& .ql-picker-item': {
color: theme.palette.text.secondary,
color: theme.palette.text.primary,
},
'& .ql-stroke': {
stroke: theme.palette.text.secondary,
stroke: theme.palette.text.primary,
},
'& .ql-fill': {
fill: theme.palette.text.secondary,
fill: theme.palette.text.primary,
},
'& .ql-picker-item.ql-active': {
color: theme.palette.primary.main,
Expand Down Expand Up @@ -146,7 +146,7 @@ export default theme => ({

'& .ql-picker-label': {
paddingLeft: 0,
color: theme.palette.text.secondary,
color: theme.palette.text.primary,
},

'& + .ql-container.ql-snow': {
Expand Down

0 comments on commit e86f998

Please sign in to comment.