Closed transitive-bullshit closed 3 years ago
Had a quick browse on my phone, looking good 😍 One thing I noticed is that the page emojis are translucent, probably due to the text color .
@timolins good call -- just fixed so the icons & emoji will not be transparent in dark mode.
For anyone ending up here, this functionality as well as a lot more improvements are available via https://github.com/NotionX/react-notion-x
Hey @tobiaslins, would love to touch base with you guys at some point 😄
Check it out live here: https://test16.saas-journey.com 💯
I added a commented-out example under
examples/pages/index.tsx
that shows how to enabledarkMode
.Here's a test page for all the different Notion colors: https://test16.saas-journey.com/Color-Rainbow-54bf56611797480c951e5c1f96cb06f2
I'm using CSS variables to keep things DRY and so it'll be easier to add theming support in the future.