Skip to content

precompute/hyperstitional-themes

Repository files navigation

Hyperstitional Themes

Weird themes for Emacs.

Why?

I happen to like certain colors more than others and figured I’d just skip the painful process of selecting different colors, and instead pick two colors I like and pick colors out of a certain number of stops between them. Make a “dim” variant, a “dark” variant and a “light” variant and you have a color palette from just two colors!

Is it legible?

Mostly. It is completely legible to me, but I don’t mind weird / bad contrast ratios.

Digitalsear
I did tweak the two primary colors with the ACPA Contrast Calculator to get a half-satisfactory score on most of the color stops and between the different variants.

Motivation?

Digitalsear
The theme I use the most is Sculpture-themes-dark. The light variant is undermaintained, because I know I’ll have to modify a lot of colors and will end up maintaining two very different versions of the same theme. The dark version is what I really set out to make. So, I decided to make a theme that’s primarily a light theme, but can be inverted to be a dark theme.

Themes

Digitalsear

Digitalsear has two versions: Digitalsear and Digitalsear Inverted.

Digitalsear works between #0000FF and #FF4000. The background is off-white and dim enough to be gentle (for a light theme).

From top to bottom:

  • Background / Foreground
  • “Light” variant
  • “Dim” variant
  • Base variant
  • “Dark” variant

Because we only have 7 distinguishable colors, many faces utilize both :foreground and :background properties to ensure distinguishability.

Distinguishability was important, because I was going to invert the theme.

Digitalsear Inverted uses an inverted palette. I’ve only duplicated the primary theme, inverted all the colors and changed the name.

Planned themes

  • Something forest-green
  • Something sun-yellow

Screenshots

AKA What you’re really here for.

Digitalsear

images/digitalsear-ss-0.jpg images/digitalsear-ss-1.jpg images/digitalsear-ss-2.jpg images/digitalsear-ss-3.jpg

Digitalsear Inverted

images/digitalsear-inverted-ss-0.jpg images/digitalsear-inverted-ss-1.jpg images/digitalsear-inverted-ss-2.jpg images/digitalsear-inverted-ss-3.jpg

Supported Modes

Base facesPopupFont-lock
Header lineMode lineInfo mode
EldocEvilDiredfl
Dired-subtreeIvySwiper
Rainbow-delimiterline NumbersIsearch, occur
XrefImenu-listoutline
MarkdownOrgOrg-agenda
Org-blockOrg-checkboxOrg-level
ParenShrGit-gutter
Diff-hlWhich-keyCompany
MessageElfeedTransient
MagitDiffOrderless
EdiffVerticoOlivetti
FlycheckFlymakeHighlight-indent-guides
Tree-sitterTabsHighlight-indentation
WritegoodEglotLsp-mode
RjsxWeb-modeCorfu
Evil-gogglesVundoEldoc-box
TuaregMerlin

Resources

If you’re trying to make your own theme, these resources might be helpful. They were very helpful for me.

hexrgb.el by Drew Adams - useful color manipulation functions

Colorkit - Generate Stepped Gradients, Shades and Tints

Canva Color Wheel - Generate Complementary / Monochromatic / Analogous colors

Hueplot - Color Spaces in 3D

Huetone - APCA / WCAG explorer for popular color palettes

About

Weird themes for Emacs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published