fix: update image export colors to match ChatGPT UI

This commit is contained in:
Michael Skyba
2024-03-30 11:59:41 -04:00
committed by Pionxzh
parent 646b3f5a91
commit dbb70228e4

View File

@@ -31,8 +31,8 @@ export async function exportToPng(fileNameFormat: string) {
style.textContent = `
main [class^=\'react-scroll-to-bottom\'] > div > div,
[data-testid^="conversation-turn-"] {
color: ${isDarkMode ? '#ececf1' : '#0f0f0f'};
background-color: ${isDarkMode ? 'rgb(52,53,65)' : '#fff'};
color: ${isDarkMode ? '#ececec' : '#0d0d0d'};
background-color: ${isDarkMode ? '#212121' : '#fff'};
}
pre {