[Enhancement] Theme the preview from .Xresources or pywal
See original GitHub issueI have been tinkering with this for some time, but basically the idea is to reference colors generated by pywal, which can be imported with @import url('file:///home/username/.cache/wal/colors.css');
.
These colors would be used as the background, foreground and highlighting, so the markdown preview would look almost like a native application running on the system.
I can’t seem to figure out how to edit these properties though. I can change the background color and stuff when changing the file set as mkdp_markdown_css
, but I don’t want to override any of the other markdown stylings.
There seem to be variables for “background color” and such in all of the CSS files, I just am not sure what to edit to get the correct results.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
**PYWAL CHEATSHEET** - Schotty.com
Pywal is a tool to generate/change theme colors for your terminal and ... Choose either xresources or xresources-reverse (you can check the preview...
Read more >For those of you who use pywal but aren't quite happy ... - Reddit
I just installed it. I was installing ewal and then ewal-spacemacs-themes , which resulted wrong. It was just matter of intall ewal-spacemacs ...
Read more >Blogmap - Perhaps we are asking the wrong questions…
14 May 2021 Enhancing Photorealism Enhancement ... 30 Jul 2020 Windows Terminal Preview 20 Jul 2020 A Logo ... 12 Nov 2019 Xresources...
Read more >updates · fef416d8ff - dotfiles - Gitea - Abhik Jain
gtk-icon-theme-name=Yaru-Purple ... nnoremap <space>ei :edit ~/vimwiki/Improvement list.wiki<CR> ... __requires__ = 'pywal==3.3.0'.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The feature has been completed and rolled into vim.reaper.
I had to trick the plugin into hosting the
colors.css
file thinking it washighlights.css
, because otherwise no browser could see it. I transferred theCSS
for the highlighting into themarkdown.css
file.markdown css file is link after page css file. so you can change any rules that page css defined.