obsidian-plugin-abcjs icon indicating copy to clipboard operation
obsidian-plugin-abcjs copied to clipboard

Default behaviour does not render the background

Open dotkiddo opened this issue 4 years ago • 1 comments

Here is an example of what the render looks like when using obsidians translucent effects:

image

The notes are rendered, but the background is left as ~whitespace~ alphaspace

Solution options:

  1. Allow the user to specify plugin preferences. I see there was a previously opened issue re. font colours, perhaps plugin settings could be developed to allow the user to select the colours & opacity/translucency for font and background (2 birds 1 stone) More effort, gives user more control.

  2. or Render white instead of alpha. Quick fix, user has no say.

dotkiddo avatar Dec 17 '20 10:12 dotkiddo

Hi there!

I'm currently pretty busy with my Thesis so if you are up for the challenge I'd appreciate a PR. Rendering a solid background might visually collide with users defining their own backgrounds (no idea if anybody uses patterns or pictures) and would have to take dark mode into account.

The best option is probably to add some settings which apply dynamic styles with sensible defaults (e.g. choose between: no background, automatic background as in white/black, fixed color & opacity background).

If you don't have the time I'll probably have some time early next month. Just let me know 🙂

TilBlechschmidt avatar Jan 03 '21 23:01 TilBlechschmidt

Hi, @dotkiddo, have you tried customizing the background using some of the ways recommended for Obsidian, i.e. https://forum.obsidian.md/t/way-to-change-background-color-while-keeping-a-theme/20856 ?

I agree that having a setting for the background color would be highly convenient.

alensiljak avatar Nov 10 '22 09:11 alensiljak