Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove default white background #1489

Merged
merged 4 commits into from
Oct 27, 2023
Merged

remove default white background #1489

merged 4 commits into from
Oct 27, 2023

Conversation

mbostock
Copy link
Member

@mbostock mbostock commented Apr 26, 2023

Fixes #1434. When upgrading Observable, we can either restore the white background with an external stylesheet, or by changing the download PNG functionality.

Also fixes #1463.

@mbostock mbostock requested a review from Fil April 26, 2023 16:53
@mbostock mbostock force-pushed the mbostock/transparent branch from a6edc7d to 359cf32 Compare April 30, 2023 18:08
@mbostock
Copy link
Member Author

mbostock commented May 2, 2023

I’m not sure I want to merge this. I feel like you can already override the styles if you want to. Maybe this gives better default results, but maybe it just causes churn? 🤔 The shadow DOM approach seems attractive but that seems more disruptive too. Hmm.

@Fil
Copy link
Contributor

Fil commented May 15, 2023

Can we then close these PRs (or move them to draft status)?

@mbostock mbostock marked this pull request as draft May 15, 2023 16:22
@mbostock mbostock force-pushed the mbostock/transparent branch from f42db68 to dbfadd9 Compare October 27, 2023 22:40
@mbostock mbostock force-pushed the mbostock/transparent branch from dbfadd9 to 9ca08e0 Compare October 27, 2023 22:43
@mbostock mbostock marked this pull request as ready for review October 27, 2023 22:43
@mbostock mbostock enabled auto-merge (squash) October 27, 2023 23:04
@mbostock mbostock merged commit 4baad4d into main Oct 27, 2023
@mbostock mbostock deleted the mbostock/transparent branch October 27, 2023 23:05
chaichontat pushed a commit to chaichontat/plot that referenced this pull request Jan 14, 2024
* remove default white background

* var(--plot-background) (observablehq#1513)

* dark mode for dev

* dev dark mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants