Fix file preview text color in dark mode (#10748)
This PR fixes an issue where the file preview text was unreadable due to white text on a white background in dark mode. Dark mode ->  Light mode ->  Fixes #10743 --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
@ -105,7 +105,11 @@ export const DocumentViewer = ({
|
|||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
pluginRenderers={DocViewerRenderers}
|
pluginRenderers={DocViewerRenderers}
|
||||||
style={{ height: '100%' }}
|
style={{
|
||||||
|
height: '100%',
|
||||||
|
color: theme.font.color.primary,
|
||||||
|
backgroundColor: theme.background.primary,
|
||||||
|
}}
|
||||||
config={{
|
config={{
|
||||||
header: {
|
header: {
|
||||||
disableHeader: true,
|
disableHeader: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user