fix: unhardcode background color in non-default themes (#729)
This commit is contained in:
@@ -197,7 +197,7 @@ const getLayoutStyles = (
|
||||
background: var(--background-set, none);
|
||||
}
|
||||
body *:not(a):not(#b1):not(#b1 *):not(#b2):not(#b2 *):not(img):not(.bg):not(.bg *):not(.vol):not(.vol *):not(.background):not(.background *) {
|
||||
${isDarkMode ? `background-color: ${bg} !important;` : ''}
|
||||
${bg === '#ffffff' ? '' : `background-color: ${bg} !important;`}
|
||||
}
|
||||
body {
|
||||
overflow: unset;
|
||||
|
||||
Reference in New Issue
Block a user