# Kakoune-mysticaltutor, a flat low-contrast colorscheme

**URL:** <https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135>\
**Category:** Plugins\
**Tags:** color\
**Created:** [July 10, 2020, 11:00pm UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135 "2020-07-10T23:00:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bravekarma](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/b/3ec8ea/32.png) [@bravekarma](https://discuss.kakoune.com/u/bravekarma)\
**Post date:** [July 10, 2020, 11:00pm UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/1 "2020-07-10T23:00:28Z")

</div>

Hi all, I finally put together a repo for a kakoune port of my not-super-popular colorscheme [Mystical Tutor](https://github.com/caksoylar/vim-mysticaltutor). It is available at [GitHub - caksoylar/kakoune-mysticaltutor: Low-contrast flat colorscheme for Kakoune](https://github.com/caksoylar/kakoune-mysticaltutor).

 ![](https://discuss.kakoune.com/uploads/default/original/1X/724aa1ef65b35fc9e413e66123e5b9065517a695.png)

Its main “innovation” is using alpha-blended colors for selections, thus syntax highlighting is still preserved inside selections, as in the above screenshot. I also made sure that all primary and secondary selections are distinct both for main selection content, cursors and cursors at end-of-line.

Thanks to @ftonneau for the compilation of themes in the “see also” section and @mawww for `rgba` colors and making it easy and intuitive to define colorschemes.

Edit: Added more terminal themes [in the main repo](https://github.com/caksoylar/vim-mysticaltutor/tree/master/terminal) for Windows Terminal (thanks @jordan-yee), Alacritty and Kitty.

---

<div class="post-metadata">

**Author:** ![useredsa](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/useredsa/32/419_2.png) [@useredsa](https://discuss.kakoune.com/u/useredsa)\
**Post date:** [July 10, 2020, 11:33pm UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/2 "2020-07-10T23:33:27Z")

</div>

> [@bravekarma](#):
>
> Its main “innovation” is using alpha-blended colors for selections, thus syntax highlighting is still preserved inside selections, as in the above screenshot. I also made sure that all primary and secondary selections are distinct both for main selection content, cursors and cursors at end-of-lin

This 😍

---

<div class="post-metadata">

**Author:** ![himi](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/h/848f3c/32.png) [@himi](https://discuss.kakoune.com/u/himi)\
**Post date:** [July 11, 2020, 2:10pm UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/3 "2020-07-11T14:10:34Z")

</div>

Dang, this is really nice - lovely and calming while still being very readable.

---

<div class="post-metadata">

**Author:** ![jordan-yee](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/jordan-yee/32/592_2.png) [@jordan-yee](https://discuss.kakoune.com/u/jordan-yee)\
**Post date:** [July 17, 2020, 3:20am UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/4 "2020-07-17T03:20:22Z")

</div>

I put together a powerline theme to match, and was going to make a pull request to add it to your theme’s repo, but as far as I can tell that isn’t possible when using the theme keyword with plug.kak. Maybe @andreyorst could say otherwise.

Since I couldn’t get that to work, I put it in a new repo to be installed as a separate plugin:  
[https://github.com/jordan-yee/kakoune-mysticaltutor-powerline](https://github.com/jordan-yee/kakoune-mysticaltutor-powerline)

Feel free to steal that and make an official version if you’d like.

At first I thought your colors might be bit flat for my taste, but after using it a few days your theme is growing on me, so I’ll be keeping it for a while at least. Thanks for putting it together!

---

<div class="post-metadata">

**Author:** ![bravekarma](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/b/3ec8ea/32.png) [@bravekarma](https://discuss.kakoune.com/u/bravekarma)\
**Post date:** [July 17, 2020, 6:15am UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/5 "2020-07-17T06:15:01Z")

</div>

Thanks for the nice words (and the other commenters too)! I had been using it for some time but I am happy that I released it since people seem to like it.

> [@jordan-yee](#):
>
> Since I couldn’t get that to work, I put it in a new repo to be installed as a separate plugin:  
> [https://github.com/jordan-yee/kakoune-mysticaltutor-powerline](https://github.com/jordan-yee/kakoune-mysticaltutor-powerline)

I think it’s fine to keep this a separate repo, I’ll put a pointer to it in the kakoune-mysticaltutor README. It looks good, thanks for your work!

PS. All your powerline.kak links actually go to plug.kak in the README.

PPS. I saw in your screenshot that the session name in `status-left` in the tmux statusline is brightred instead of red, since WT doesn’t support bold and tmux doesn’t seem to disambiguate bold and bright as WT understands it right now. You might want to change it to remove the bold, i.e.

```tmux
set-option -g status-left '#[fg=red] @#{session_name} '

```

---

<div class="post-metadata">

**Author:** ![jordan-yee](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/jordan-yee/32/592_2.png) [@jordan-yee](https://discuss.kakoune.com/u/jordan-yee)\
**Post date:** [July 17, 2020, 7:20pm UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/6 "2020-07-17T19:20:50Z")

</div>

Thanks for catching the links–they’re fixed now.

I also changed the tmux colors according to your recommendation, and do like that better. Even though that’s not part of the powerline theme, I updated the screenshot there as well.

---

<div class="post-metadata">

**Author:** ![alexherbo2](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/alexherbo2/32/1140_2.png) [@alexherbo2](https://discuss.kakoune.com/u/alexherbo2)\
**Post date:** [July 17, 2020, 9:08pm UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/7 "2020-07-17T21:08:45Z")

</div>

@bravekarma You can use variables, like in [dracula.kak](https://github.com/dracula/kakoune/blob/master/colors/dracula.kak).

---

<div class="post-metadata">

**Author:** ![bravekarma](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/b/3ec8ea/32.png) [@bravekarma](https://discuss.kakoune.com/u/bravekarma)\
**Post date:** [July 17, 2020, 10:22pm UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/8 "2020-07-17T22:22:03Z")

</div>

That’s a good idea! I didn’t like that most colorschemes shell out to use variables for something that is (mostly) write once and run many times, but using options shouldn’t introduce much overhead. It does pollute the options space, but using `-hidden` would help a bit.

---

<div class="post-metadata">

**Author:** ![alexherbo2](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/alexherbo2/32/1140_2.png) [@alexherbo2](https://discuss.kakoune.com/u/alexherbo2)\
**Post date:** [July 17, 2020, 11:18pm UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/9 "2020-07-17T23:18:49Z")

</div>

Color scheme options are useful to access the color values from your kakrc.

---

<div class="post-metadata">

**Author:** ![duncan](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/duncan/32/95_2.png) [@duncan](https://discuss.kakoune.com/u/duncan)\
**Post date:** [July 18, 2020, 6:10pm UTC](https://discuss.kakoune.com/t/kakoune-mysticaltutor-a-flat-low-contrast-colorscheme/1135/10 "2020-07-18T18:10:02Z")

</div>

It’s 4am and the colour scheme is holding up nicely on my tired eyes. Appreciate the work @bravekarma and thanks for going the extra mile @jordan-yee.

 ![mytesticles](https://discuss.kakoune.com/uploads/default/original/1X/f0ef7cdc1f7ca17e37b60d1fc08b825a08aad9c7.png)
