html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/4024#issuecomment-624438211,https://api.github.com/repos/pydata/xarray/issues/4024,624438211,MDEyOklzc3VlQ29tbWVudDYyNDQzODIxMQ==,6815844,2020-05-06T04:42:08Z,2020-05-06T04:42:08Z,MEMBER,"Thanks, @shoyer and @DocOtak for the suggestions. > It looks like there may be some standard ways to detect dark vs light mode in CSS? > https://medium.com/js-dojo/how-to-enable-dark-mode-on-your-website-with-pure-css-32640335474 It looks not working in vscode... > VS Code will tell you if it is in ""dark"" ""light"" or ""high contrast"" modes https://code.visualstudio.com/api/extension-guides/webview#theming-webview-content In #4036 I used ```css body.vscode-dark { } ``` code block, but maybe more general solution would be better if available...","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,611643130 https://github.com/pydata/xarray/issues/4024#issuecomment-624359804,https://api.github.com/repos/pydata/xarray/issues/4024,624359804,MDEyOklzc3VlQ29tbWVudDYyNDM1OTgwNA==,6815844,2020-05-05T23:31:26Z,2020-05-05T23:31:26Z,MEMBER,"It looks that Pandas is taking a very different approach and codebase and I don't think it is easy to adapt their approach... I am not familiar with the css staff in jupyter but the simplest approach may be just to disable the text- and background-coloring but use the default color only. Then, our html repr becomes less pretty but maybe more robust. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,611643130 https://github.com/pydata/xarray/issues/4024#issuecomment-624350348,https://api.github.com/repos/pydata/xarray/issues/4024,624350348,MDEyOklzc3VlQ29tbWVudDYyNDM1MDM0OA==,6815844,2020-05-05T23:00:30Z,2020-05-05T23:00:30Z,MEMBER,"![image](https://user-images.githubusercontent.com/6815844/81124120-9a3c3400-8f6f-11ea-8912-fa2b7a77b6ce.png) pandas has a good style. We may be able to take it.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,611643130 https://github.com/pydata/xarray/issues/4024#issuecomment-624338446,https://api.github.com/repos/pydata/xarray/issues/4024,624338446,MDEyOklzc3VlQ29tbWVudDYyNDMzODQ0Ng==,6815844,2020-05-05T22:24:04Z,2020-05-05T22:24:04Z,MEMBER,"It is how it looks like in Light mode ![image](https://user-images.githubusercontent.com/6815844/81121524-e71d0c00-8f69-11ea-9ad3-6576ddcdedfc.png) Here is the css definition https://github.com/pydata/xarray/blob/59b470f5d1464366dc55b082618ea87da8fbc9af/xarray/static/css/style.css#L5-L14 It looks like that `--jp-content-font-color0` and `--jp-layout-color0` come from the theme but the others come from our default values. I have no idea yet how we can manage this...","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,611643130