A theme for GNU Emacs
README.org
#+title: Peppers Theme
#+author: Joar von Arndt
#+email: joarxpablo@vonarndt.se
#+language: en

* Overview

[[file:screenshot.svg]]

Peppers is a custom Emacs theme built on the [[https://protesilaos.com/emacs/modus-themes][modus-themes]] framework.

It is a a dark theme with a mostly black-and-white aesthetic featuring
stark cyan and magenta highlights. Since it uses Protesilaos
/modus-themes/ as the backend it should be compatible with a large
number of Emacs packages out-of-the-box.

The theme is loosely based on the design by "oppiliappan" AKA Akshay
of ~oppi.li~, and their theme called [[https://github.com/oppiliappan/vim-colors-plain][vim-colors-plain]]. I have chosen to
name name it ~peppers~, after Oppili's former username "NerdyPepper".

* Installation

** package-install

~peppers-theme~ is available on MELPA, and can be installed as such as
long as MELPA is added to ~package-archives~:

#+begin_src
package-install RET peppers-theme RET
#+end_src

** Using package-vc-install

Either install by running ~M-x package-vc-install RETURN
https://codeberg.org/Joar/Peppers-theme~ or install using use-package

#+begin_src elisp
(use-package peppers-theme
  :vc (:url "https://codeberg.org/Joar/peppers-theme"
       :branch "master")
  :ensure t
  :config
  (load-theme 'peppers t))
#+end_src

** Manual Installation

1. Clone the repository to your =~/.emacs.d/themes/= directory:
   #+begin_src bash
   git clone https://codeberg.org/joar/peppers-theme ~/.emacs.d/themes/peppers-theme
   #+end_src

2. Add to your Emacs configuration:
   #+begin_src elisp
   (add-to-list 'custom-theme-load-path "~/.emacs.d/themes/peppers-theme")
   (load-theme 'peppers t)
   #+end_src

* Customization

** Palette User Extensions

Add custom colors to the palette:

#+begin_src elisp
(setq peppers-palette-user
  '((my-custom-color "#FF0000")
    (another-color "#00FF00")))
#+end_src

** Palette Overrides

Override existing palette colors:

#+begin_src elisp
(setq peppers-palette-overrides
  '((magenta "#FF1493")
    (cyan "#00FFFF")))
#+end_src

** Theme Options

Enable or disable bold and italic constructs:

#+begin_src elisp
(setq modus-themes-bold-constructs t)
(setq modus-themes-italic-constructs t)
#+end_src

* Requirements

- Emacs 28.1 or later
- =modus-themes= (available on MELPA and GNU ELPA)

* License

GNU General Public License v3.0 or later. See [[file:LICENSE][LICENSE]] for details.

* Contributing

Contributions are welcome! Please submit issues and pull requests to the [[https://codeberg.org/joar/peppers-theme][repository]].

* See Also

- [[https://protesilaos.com/emacs/modus-themes][Modus Themes]] - The framework this theme is built on
- [[https://github.com/oppiliappan/vim-colors-plain][Original Design]] - The original design inspiration