Comments (9)
I've been able to implement dark-mode in tailwind with the typography plugin with just prose dark:prose-invert
.
from novel.
Yeah, I fixed all the issues you mentioned in the above commits already. 😁
Why cookies: it's hard to manage global state in server components, local storage could be done but this was a very straightforward approach, so I went with it
from novel.
Yeah I tried adding that before, unfortunately we're blocked by Tailwind Typography not supporting dark mode with prose-invert
: tailwindlabs/tailwindcss-typography#228
cc: @adamwathan
from novel.
@notjustinshaw 👀 that's awesome! Feel free to make a PR to add dark mode to Novel! 😄
from novel.
I could get darkmode to work, I'm using cookies to store current mode
from novel.
I could get darkmode to work, I'm using cookies to store current mode
this dark mode ui looks in consistent , that toggle button size is large , continue writing icon missing etc also y store in cookie ? i think it is better to store the theme state in local storage than cookies
from novel.
Yeah, I fixed all the issues you mentioned in the above commits already. 😁
Why cookies: it's hard to manage global state in server components, local storage could be done but this was a very straightforward approach, so I went with it
from novel.
Ne olduğunu anlamayan yine ben
from novel.
Dark mode is now live!! #80
from novel.
Related Issues (20)
- feat: Easy way to reference the editor outside the EditorContent HOT 2
- Error after typing any character after '/' HOT 4
- feat: Support for custom Open AI API URL HOT 1
- bug: codeblock-lowlight doesn't render in html output HOT 1
- Cannot find module 'novel/extensions' or its corresponding type declarations. HOT 2
- Cannot set text color when the text is bold HOT 1
- Cannot import Editor from novel bug: HOT 1
- feat: For novel-vue, is there a way to integrate image upload to display as base64?
- feat: add a EditorCommandSeparator
- feat: Allow Markdown and Html in InitialContent HOT 4
- bug: Text selection marks disappear when using the AI Extension w/ Collaboration + HocupocusProvider
- bug: Can't close bubble menu
- feat: Can you create a full guide on integration in NextJS because there is so much error with using your documentation HOT 1
- bug: Usage of `editor.chain().focus()` removes focus from tippy popover HOT 2
- feat: Pasting Markdown Support
- bug: image blue box selection doesn't change
- feat: docs / custom extension idea
- Global CSS cannot be imported from within node_modules.bug: HOT 3
- RangeError: Schema is missing its top node type ('doc')bug: HOT 2
- feat: Bubble Menu to be on top of the document, like options. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from novel.