volca / markdown-preview

Markdown Preview Plus -- Enables Chrome to render markdown files as HTML
https://chrome.google.com/webstore/detail/markdown-preview-plus/febilkbfcbhebfnokafefeacimjdckgl
MIT License
237 stars 73 forks source link

Added theme ClearnessDarkLg #139

Closed Kernix13 closed 1 year ago

Kernix13 commented 1 year ago

The main change I wanted to make was to increase the overall font-size and to make the code blocks easier to read. However, I make a lot of changes:

  1. Changed the font stacks to reflect current system fonts for Windows and Macs wherever font-family was used
  2. Added a transition for a:hover
  3. Added styling for tables
  4. Made changes to the blockquote element
  5. Added styles for the kbd and summary elements
  6. Added !important for .hljs-title.function_ and .hljs-title because the red color was too difficult to read
  7. And finally, I changed px to more responsive units of measure such as em and rem
volca commented 1 year ago

Thanks. The theme works very well. I will publish a new version soon

Kernix13 commented 1 year ago

Got it. I'll delete my branch. By the way, is there an easier way to

  1. make changes to the CSS and preview the changes, and
  2. remove previous custom CSS files uploaded

For #1, what I have to do is upload my CSS again, switch to a different theme, then back to my custom theme.

For #2 I have a custom CSS file I uploaded but don't want it in there anymore but there does not seem to be a way to remove. I even deleted the CSS file it's referencing and did a hard reset, but it is still there. Or at least the file name is still there.

I'm fine with that custom file name being in there, but is there a quicker way to see changes to the styles then I mentioned in point #1? I bothered you enough for this so don't worry about it if you don't have the time.

volca commented 1 year ago
  • make changes to the CSS and preview the changes, and

Did you mean see changes with the extension? I usually load the unpacked extension in chrome://extension. I will click the reload button if I make any changes for the extension. But it's still a little complex.