ichernyshovvv / org-timeblock

Schedule your day visually, using timeblocking technique inside Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apperance: background is white with dark themes

mskorzhinskiy opened this issue · comments

Possibly I have not found the correct way to configure the appearance, but when I try to use this package with modus-vivendi theme (i.e. dark background themes), package draws background in white:

Screenshot from 2023-09-19 22-12-19

Configuration:

  • emacs 29.1 from opensuse tumbleweed
  • doom emacs
  • a lot of personal customization
  • used version of org-timeblock: 43239ca

OK. Just took a look into the code:

(defvar ot-background-color (face-attribute 'default :background))

And for some reason it is #000000! I will investigate further.

I see now that the implementation tries to determine correct theme background and it seems that it correctly determines that background is pitch-black. However, for some reason, the background is still white and my debugging session didn't yet yield any interesting results.

The displayed SVG image in *org-timeblock* buffer does not have any background. It's transparent =). Do you have this issue with emacs -q?

The displayed SVG image in org-timeblock buffer does not have any background. It's transparent =).

I see.

Do you have this issue with emacs -q?

Have not yet tried, but seems to be working fine on my other emacs installation. It is either my emacs configuration issue or emacs installation issue.

I will close the issue, as seems clear that it is not the package issue and will post my findings if I will be able to understand what was wrong for the record.