tinted-theming / base16-emacs

Base16 themes for Emacs
MIT License
382 stars 76 forks source link

Fix incorrect nil values for background and foreground colors #137

Closed Ninjananas closed 9 months ago

Ninjananas commented 10 months ago

Emacs (29.1) issues warnings when loading a theme, such as: Warning: setting attribute ‘:background’ of face ‘header-line’: nil value is invalid, use ‘unspecified’ instead. or Warning: setting attribute ‘:foreground’ of face ‘message-header-cc’: nil value is invalid, use ‘unspecified’ instead.

I replaced all occurrences of nil with unspecified for :background and :foreground attributes of faces.

Everything works as expected, and the warnings are gone.

belak commented 9 months ago

Interesting - thanks for submitting this!