protesilaos / modus-themes

Highly accessible themes for GNU Emacs, conforming with the highest standard for colour contrast between background and foreground values (WCAG AAA).
https://protesilaos.com/emacs/modus-themes
GNU General Public License v3.0
553 stars 30 forks source link

Update use-package configurations #66

Closed zoliky closed 1 year ago

zoliky commented 1 year ago

:bind defers the loading of the package (see https://github.com/jwiegley/use-package#modes-and-interpreters) preventing load-theme to load the theme (even if load-theme is before :bind). I updated the code to use :init instead.

:ensure nil tells Emacs to configure the built-in package and do not look for it in the online repositories.

Also, I use :custom instead of :config because C-h v categorizes all those variables in the "customization" category.

Alt text

As far as I know only those that do not have "Customize" listed should be added to :config. At least, that's what I do in all my configs.

Variables listed in the :custom don't require setq.

I tested the configurations.