Commit Graph

98 Commits

Author SHA1 Message Date
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
Alex 033647422d Add doom-monokai-spectrum and doom-zenburn themes 2020-08-17 20:12:46 +02:00
duianto 4b7273cd09 [themes] Sort supported themes alphabetically 2020-07-21 23:29:13 +02:00
Kirill Chernyshov 9e6cfbb83e Add almost-mono-themes into core-themes-support list of aliases 2020-07-20 22:33:29 +02:00
Kunal Bhalla cdc189f33d
[RFC] Add poet's variant themes
Someone requested adding poet's variants to the theme -> package mapping in spacemacs at https://github.com/kunalb/poet/issues/20.
2020-06-07 18:40:49 +02:00
John Practicalli Stevenson 4349485cc7 Add doom-gruvbox-light theme
Add doom-gruvbox-light theme to prevent Spacemacs from trying to download a
package with the same name from elpa (and failing because there is no such
package).

doom-gruvbox-theme can now be included in dotspacemacs-themes configuration
without generating an error or trying to download a non-existent package.
2020-06-05 13:43:17 +02:00
Wieland Hoffmann ed8fc556da
Make spacemacs/cycle-spacemacs-theme work with themes with keywords
Themes can now contain keywords in addition to just the theme name like

   dotspacemacs-themes '((name :location (recipe :fetcher github
                                                    :repo "user/repo"))
                         solarized-light
                         solarized-dark)

However, for theme cycling, we first try to detect whether the current
theme (spacemacs--cur-theme) is in the list of cycleable themes and go on from
there. Since spacemacs--cur-theme is just a name, this fails when
spacemacs--cur-theme is the name of a theme that's specified with additional
keywords in dotspacemacs-themes.

To fix this, check if spacemacs--cur-theme is in the list of theme names.
2020-04-16 22:35:36 +02:00
Muneeb Shaikh bb8ec23ec1 [themes][keybindings] Use apt completion framework for loading theme
Theme transient state key-binding `t` is broken if `ivy` completion framework is
used. The binding unconditionally invokes `helm-themes`.

This change adds a new function which takes care of invoking correct
theme-loader function based on completion framework currently in use.

The old binding used `helm-themes` but the new function uses already defined
`spacemacs/helm-themes` which removes the number of candidates limit.
2020-03-19 10:48:59 +01:00
Muneeb Shaikh b7fd2fab6e [core-themes] Add support for doom-monokai-pro 2020-03-14 09:02:35 +01:00
Bruno Morais d4cc5cf916 Add doom-molokai back to supported themes 2020-03-13 18:19:18 +01:00
Bruno Morais 4186ebb658 Replaced doom-molokai with doom-monokai-classic 2020-03-13 08:16:49 +01:00
Muneeb Shaikh 3f526479e3
[themes] add highly accessible themes - modus-{operandi, vivendi}
Modus themes are highly accessible themes for GNU Emacs, conforming with the
highest accessibility standard for colour contrast between background and
foreground values (WCAG AAA standard).

Screenshots: https://gitlab.com/protesilaos/modus-themes/-/wikis/Screenshots
2020-03-12 21:25:44 +01:00
Muneeb Shaikh bb0a118344
[core-themes] Add support for doom-ephemeral 2020-03-05 00:00:38 +01:00
Muneeb Shaikh 0d7d8ce0ed
[themes][doom] Sync with updated list of doom themes
Added following themes:

* doom-acario-dark
* doom-acario-light
* doom-horizon
* doom-laserwave
* doom-manegarm
* doom-material
* doom-oceanic-next
2020-02-09 19:10:38 +00:00
Ivan Yonchovski 06cb81e90a [themes] Add doom-dark+ 2020-01-23 11:05:45 +01:00
Muneeb Shaikh f3f2db8315 Update the list of solarized themes
Upstream has added a blend of solaized themes with different color palettes.
2019-12-02 18:41:23 +01:00
smile13241324 48ffd37594 Revert "[themes-megapack] Add `ewal-spacemacs-themes` to `themes-megapack` layer."
This reverts commit 883cf97308.
2019-08-26 19:58:34 +02:00
Dominic Pearson 5d01efbb6d doom-themes: correct theme entries.
Add/remove missing themes from core/core-themes-support.el.
2019-08-21 16:14:50 +02:00
duianto ae51fd7a77 Revert "Improve theme handling to support themes using `spacemacs-theme` custom api"
This reverts commit 5f308b0306.

This message is shown on startup:
spacemacs/startup-hook: Symbol’s value as variable is void: spacemacs-theme-custom-colors
and it broke several things.
2019-08-17 11:07:48 +02:00
smile13241324 5f308b0306 Improve theme handling to support themes using `spacemacs-theme` custom api 2019-08-16 23:05:42 +02:00
Uros Perisic 883cf97308 [themes-megapack] Add `ewal-spacemacs-themes` to `themes-megapack` layer.
Currently, the theme also modifies `spacemacs-dark` if also loaded in
`dotspacemacs-themes`. A
[fix](https://github.com/nashamri/spacemacs-theme/pull/144) for this is on it's
way upstream to `spacemacs-theme`, but the maintainer already gave their
[blessing](https://github.com/nashamri/spacemacs-theme/issues/139).
2019-08-14 22:33:25 +02:00
kenranunderscore a69323fb3c Update list of base16 themes 2019-07-18 14:57:51 +02:00
ogdenwebb 9bc5679d89 Add more Kaolin themes to spacemacs-theme-name-to-package. 2019-05-29 20:05:08 +02:00
Parker Johnson 0b7d350af9 add startup support for doom-sourcerer theme 2019-04-23 23:13:44 +02:00
syl20bnr 474f945709 defaults: add SPC T N key binding to cycle theme backward 2019-02-10 10:10:51 -05:00
DonHugo69 e2b2266028 update doom-themes
* doom-challenger-deep
* doom-opera
* doom-opera-light
* doom-solarized-light
2018-07-10 00:12:11 +03:00
Igor Kupczyński d726ee750a Add new doom-themes
- doom-city-lights
- doom-dracula
- doom-nord
- doom-nord-light
2018-05-15 01:37:55 +03:00
Benno Fünfstück d0833bc8a2 core-themes-support.el: add eziam theme names 2018-05-09 23:40:17 +03:00
William Roe 4acf1cd6d6 Add kaolin themes to spacemacs-theme-name-to-package
This helps with using kaolin themes, so that spacemacs doesn't try to install
the specific theme name from ELPA.
2018-05-09 23:02:05 +03:00
Philippos Boon Alexaki 20270dd848 Fix base16-theme mapping for all themes in core-themes-support.el 2018-01-19 22:58:00 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
bmag 615ed388a5 cycle themes: handle backward argument better and cleanup
Change meaningful values of BACKWARD argument to just nil and non-nil.

Get rid of spacemacs--cycle-themes, it was unnecessary.

Create a defvar for spacemacs--cur-theme.
2017-10-21 15:33:12 +03:00
AdrieanKhisbe 9eab3bb6aa Enable backward theme cycling and add dedicated transient-state
Original Commit List
- update cycle-spacemacs-theme function to work backward with universal arg
- add a transient-state hydra to cycle through the modes
- move the transient-state definition in the +distribution spacemacs-base
- refactor using hydra syntax for expression as command
- modified cycle-theme to handle negative command argument
- add keybing for helm-themes in the transient-state
2017-10-15 11:29:21 -04:00
Dean Todevski 4a5ecb2a17 Add support for gruvbox theme variants
Adds support for setting the following gruvbox theme variants
as dotspacemacs-theme:

  - gruvbox-dark-soft

  - gruvbox-dark-medium

  - gruvbox-dark-hard

  - gruvbox-light-soft

  - gruvbox-light-medium

  - gruvbox-light-hard
2017-10-15 11:08:01 -04:00
Sebastian Nagel 5bca990d8f Fix the base16-solarflare mapping in core-themes-support.el 2017-07-06 08:48:39 +02:00
syl20bnr cc0d8cafb2 core: rename configuration-layer/sync to configuration-layer/load
Replace the optional argument `no-install` by a global variable named
`spacemacs-sync-packages`.
Rename the hooks to reflect the renaming of the function.
Rename the flag `--no-sync` to the more explicit `--no-package-sync`
2017-07-01 10:54:37 -04:00
Eivind Fonn ef12c6073a theming: robustness
Disable all applied themes in all cases, when a theme is applied
2017-06-18 12:38:01 +02:00
Eivind Fonn c3d344cb8c Allow “default” theme to load properly 2017-06-16 09:30:32 +02:00
Dela Anthonio 484a99dad0 core: Add support for more doom themes
This commit address #9084.
2017-06-14 10:49:45 +02:00
Benno Fünfstück abcad3bab0 themes: use package-activate to support dependencies 2017-05-30 10:05:22 +02:00
syl20bnr c5fd3dac04 core: fix theme application
Force theme do be disabled when applying them at the end of loading.
Fix computation of theme package directory when theme is a symbol.

Fixes #8319
2017-02-11 17:23:14 -05:00
syl20bnr 252547aa81 core: add support for :location keyword in dotspacemacs-themes
New functions:
- configuration-layer/get-location-directory which return the location on disk
given a location
- spacemacs//get-theme-directory which returns the location on disk of the
theme

Add note in documentation to warn about the directory name when :location local
is used, the directory name is the package name not the theme name.
2017-02-05 23:47:17 -05:00
syl20bnr 5b9d368a5f core: fix loading of some themes
Fix loading of some themes like sanityinc-tomorrow-night
2017-02-02 18:28:51 -05:00
syl20bnr 747bd7c6fb core: fix broken theme application in terminal
Fixes #8252
2017-02-01 23:26:22 -05:00
syl20bnr 415b29b140 core: dotspacemacs-themes entries now accept package properties
It is now possible to use package properties like :location in
dotspacemacs-themes.

Added hooks ran at the beginning and end of configuration-layer/sync:
- configuration-layer-pre-sync-hook
- configuration-layer-post-sync-hook

configuration-layer-pre-sync-hook is used to hook the new function
spacemacs//add-theme-packages-to-additional-packages. This new function updates
dotspacemacs--additional-theme-packages variables.

Update documentation to mention the new feature.
2017-02-01 22:59:03 -05:00
syl20bnr b3c8ebc816 core: improve theme application
Add all theme packages defined in dotspacemacs-themes to the variable
dotspacemacs-additional-packages and delay the application of user theme at the
end of startup (only when user theme cannot be applied at the very beginning
of Emacs startup).

This has nice properties:
- we leverage the layer system to handle the theme packages installation and
  cleanup.
- theme packages are automatically owned by the dotfile preventing them from
being garbage collected.
- the protected package mechanism is now obsolete since themes were the last
packages using it. This mechanism may be removed in a near future.

Thanks to TheBB for the initial idea.
2017-01-25 23:37:57 -05:00
syl20bnr 9ac779a2e4 core: import spacemacs-theme into libs
Distribute spacemacs-theme with Spacemacs so we don't need to download the
package of the theme at startup. It was delaying the display of the home buffer.

Now Spacemacs fallback to spacemacs-dark theme if the user theme cannot be
applied. Spacemacs then tries to install and reapply the user theme. If
successful, at the subsequent startups the user theme is applied right away
instead of spacemacs-dark. If the installation failed then we display a warning
informing the user and suggesting some actions.

There is now no package left to be installed manually at the start of Spacemacs.
2017-01-25 00:30:31 -05:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
d12frosted e87a251138
align list of supported themes 2017-01-04 22:12:14 +02:00