Fixed the issue related to the privilege checkbox color in disabled mode.

This commit is contained in:
Nikhil Mohite
2021-10-05 14:38:00 +05:30
committed by Akshay Joshi
parent 400896c563
commit ea706be7fc
4 changed files with 10 additions and 2 deletions

View File

@@ -61,6 +61,9 @@ export default function(basicSettings) {
primary: '#d4d4d4', primary: '#d4d4d4',
muted: '#8A8A8A', muted: '#8A8A8A',
}, },
checkbox: {
disabled: '#6b6b6b'
},
background: { background: {
paper: '#212121', paper: '#212121',
default: '#212121', default: '#212121',

View File

@@ -59,6 +59,9 @@ export default function(basicSettings) {
primary: '#fff', primary: '#fff',
muted: '#8b9cac', muted: '#8b9cac',
}, },
checkbox: {
disabled: '#6b6b6b'
},
background: { background: {
paper: '#010B15', paper: '#010B15',
default: '#010B15', default: '#010B15',

View File

@@ -368,10 +368,9 @@ function getFinalTheme(baseTheme) {
colorPrimary: { colorPrimary: {
'&.Mui-disabled': { '&.Mui-disabled': {
color: baseTheme.palette.text.muted color: baseTheme.palette.checkbox.disabled
} }
} }
}, },
MuiToggleButton: { MuiToggleButton: {
root: { root: {

View File

@@ -60,6 +60,9 @@ export default function(basicSettings) {
primary: '#222', primary: '#222',
muted: '#646B82', muted: '#646B82',
}, },
checkbox: {
disabled: '#ebeef3'
},
background: { background: {
paper: '#fff', paper: '#fff',
default: '#fff', default: '#fff',