Unlike spacemacs/helm-themes, counsel-load-theme, and consult-theme, load-theme does not disable other themes when enabling one. It also does not provide previews. Hence we should use consult-theme from the theme-transient-state when the compleseus layer is used; this also makes the binding consistent with SPC T s.
Because consult uses the value of this-command to determine the :preview-key property, we need to customize the wrapper spacemacs/theme-loader too in order to enable previews.
Unlike
spacemacs/helm-themes
,counsel-load-theme
, andconsult-theme
,load-theme
does not disable other themes when enabling one. It also does not provide previews. Hence we should useconsult-theme
from thetheme-transient-state
when the compleseus layer is used; this also makes the binding consistent with SPC T s.Because consult uses the value of
this-command
to determine the:preview-key
property, we need to customize the wrapperspacemacs/theme-loader
too in order to enable previews.