alphapapa / alphapapa/prism.el

Samples of Modus themes with prism.el

Ouverte
#8 17 commentaires 0 réactions 1 personne assignée Réclamée par @alphapapa Voir sur GitHub
documentation
Langage dominant
Emacs Lisp
Étoiles
334
Forks
5
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hello again! This is in response to [this reddit thread](https://old.reddit.com/r/emacs/comments/kl58or/protesilaos_stavrou_modus_themes_review/gh6vw4k/).

I have been experimenting with various styles and settled on what I feel is a good starting point. Screenshots below. I only have Elisp code here, so this has influenced my decision. Here is the configuration I used:

```elisp
(use-package prism
:straight (:host github :repo "alphapapa/prism.el" :branch "master")
:config
(setq prism-comments nil) ; non-nil distorts colours

(prism-set-colors
:desaturations '(0) ; may lower the contrast ratio
:lightens '(0) ; same
:colors (list ; NOTE: I plan to add a "with-color-variables"
(modus-themes-color 'fg-main)
(modus-themes-color 'blue-faint)
(modus-themes-color 'magenta)
(modus-themes-color 'magenta-alt-other)
(modus-themes-color 'cyan-alt-other)
(modus-themes-color 'fg-special-cold)
(modus-themes-color 'blue-alt)
(modus-themes-color 'magenta-faint)
(modus-themes-color 'cyan)
(modus-themes-color 'fg-main)
(modus-themes-color 'green-faint)
(modus-themes-color 'red-alt-faint)
(modus-themes-color 'blue-alt-faint)
(modus-themes-color 'fg-special-warm)
(modus-themes-color 'cyan-alt)
(modus-themes-color 'blue))))
```

## Screenshots

The sequence is the default theme followed by its prism-styled variant. Note that I do have some options for the themes turned on as I think they work well in this case (just some bold and italics).

Click to enlarge.

### Modus Operandi

![modus-operandi-default-1](https://user-images.githubusercontent.com/12828033/103231269-1391f800-4940-11eb-9f89-bde0d7285748.png)

![modus-operandi-prism-1](https://user-images.githubusercontent.com/12828033/103231280-15f45200-4940-11eb-9304-e15af4c4b1fa.png)

![modus-operandi-default-2](https://user-images.githubusercontent.com/12828033/103231274-14c32500-4940-11eb-9a82-e1eace56ffe8.png)

![modus-operandi-prism-2](https://user-images.githubusercontent.com/12828033/103231281-168ce880-4940-11eb-9082-5d4f59056401.png)

![modus-operandi-default-3](https://user-images.githubusercontent.com/12828033/103231276-155bbb80-4940-11eb-9735-911c5140cefa.png)

![modus-operandi-prism-3](https://user-images.githubusercontent.com/12828033/103231283-17be1580-4940-11eb-89b9-2089d902e063.png)

### Modus Vivendi

![modus-vivendi-default-1](https://user-images.githubusercontent.com/12828033/103231314-2ad0e580-4940-11eb-9f05-e2289c120bd7.png)

![modus-vivendi-prism-1](https://user-images.githubusercontent.com/12828033/103231322-2d333f80-4940-11eb-9ef8-a089891338de.png)

![modus-vivendi-default-2](https://user-images.githubusercontent.com/12828033/103231317-2c021280-4940-11eb-8fa3-4ebeb3be9d11.png)

![modus-vivendi-prism-2](https://user-images.githubusercontent.com/12828033/103231324-2e646c80-4940-11eb-9e72-7d436e72056a.png)

![modus-vivendi-default-3](https://user-images.githubusercontent.com/12828033/103231321-2c9aa900-4940-11eb-8de2-3db9c84407ed.png)

![modus-vivendi-prism-3](https://user-images.githubusercontent.com/12828033/103231325-2efd0300-4940-11eb-8e14-dc0f2b549da8.png)

## Your thoughts?

What do you think? If something is amiss, how would you like to review it?

My plan is to first come up with some elegant way for users to get colours from the themes and then I would like to add a section in the manual for users who would like to set up prism.el with the themes.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.