React to print doesnt use current color theme of the app for printing
I am using react to print library to export the reports from my app. To manage the color theme in the app i have 2 css files with color variables with the same names. By default light theme is applied to :root, but when user switches to dark theme .app_dark class is applied to app and overrides the variable values in root.