crashmoney / obsidian-typewriter

Typewriter is an Obsidian theme designed for a focused writing experience.
GNU General Public License v3.0
93 stars 18 forks source link

[FEATURE REQUEST] Make code blocks distinguishable from surroundings #43

Open RyotaUshio opened 6 months ago

RyotaUshio commented 6 months ago

Describe your feature request

Is it related to a problem, or an enhancement? Please describe clearly and concisely.

I really like this theme, but one thing that I'm having trouble figuring out the intention is that the background color of code blocks is the same as normal text. It makes it difficult to distinguish them from their surroundings.

image

Proposed Solution

A clear and concise description of what you want to happen.

It would be great if this theme used a different background color for code blocks as in any other themes, or at least provided an option in Style Settings.

This is how it looks in the Solarized theme.

image
crashmoney commented 6 months ago

Hey, thank you for filing a bug report!

I don't remember this being an intentional design decision, or around in previous versions. It's likely that either an update by me or Obsidian changed the background color.

Unfortunately, I'm quite busy at the moment, but once things free up I'll be taking a closer look at code blocks (see #44).