-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Dark theme #18
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
Comments
Definitely, if there's a dark version of the CSS GitHub is using for styling Markdown notes this should be easy to implement. |
Take a look at https://github.com/StylishThemes/GitHub-Dark. |
Darkmode Alpha is here: RomanKornev/notable/tree/darkmode What would be the best way to merge it? |
@RomanKornev Thanks but this should probably be implemented by compiling 2 separate versions of Svelto's CSS, we also need to properly reorganize the |
@fabiospampinato, I have implemented new version of dark mode according to @RomanKornev 's implementation. Thank @RomanKornev for your first idea. Features:
You guys can check it here https://github.com/duynguyenhoang/notable/tree/feature/add_dark_mode It is still under early phase, I am fixing all styles to make sure it work correctly with both themes Please give me your idea or feedback. |
Check out the new dark theme PR in #333 😄 . |
Refactoring all that UI-related code (7713012) took longer than expected, but now a dark theme, and eventually third-party themes, are much easier to implement: Light theme: Dark theme: It isn't quite ready yet, as I still have to integrate into the code and properly theme a few more things (rendered Markdown theme, codemirror/monaco, syntax highlighting, katex formulas, mermaid diagrams), but I think it's a good start, what do you guys think? PS. I've modeled the dark theme around my Monokai Night theme for vscode, perhaps you might want to take a look at that too. PS2. A complete dark theme might land in about 2 releases, as there are some pressing bugs that I'd like to get fixed for the next release. |
What is the status after v1.4? Is there some way I can activate it on my install? |
@mikaelmello Hopefully this should land in v1.5. If you want to try it today (but keep in mind that it's very much not complete yet) you'll have to execute the following in the devtools: |
Thanks! I'll let you know about any issues I might encounter (hopefully I can fix them too!) Also, if you have other "beta" features that are functional but need more robustness, feel free to ask me, I'm using notable a lot so my usecase can be useful |
@raggs yeah the editor & preview components are very much unthemed yet. |
Famous last words, pretty much everything except theming the rendered Markdown was difficult to do in some way. I went all the way with the darkness, I'd be interested in hearing your feedback about this theme, here there are some screenshots: |
Just tried the new dark theme and I really like it. The menu bar at the top is not themed yet. Not sure how much of an effort it is to do this. As far as I know it also took the Visual Studio Code devs quite a while until they got this working. Now the next step obviously would be user defined themes 😉 |
nb4 solarized dark :). User defined would be great, too. Thanks so much for yalls work, looking forward to any incarnation of this! |
Yeah that's basically unthemeable, it would have to be reimplemented entirely, that's way it took a while for the vscode team to get there too.
Definitely, we'll to wait a while for that though, as that's a quite complicate thing to put up properly, and there are still lots of pressing issues to address, let's track that here #104 |
No description provided.
The text was updated successfully, but these errors were encountered: