kakoune: Default theme's colour constrast is kinda bad.

screenshot_2020-06-14-055217

Am I alone in thinking this is really really hard to read?

Here’s my fix.

--- /usr/share/kak/colors/default.kak	2020-01-16 11:46:42.000000000 +0000
+++ colors/default.kak	2020-06-10 15:12:27.702682333 +0000
@@ -1,4 +1,5 @@
 # Kakoune default color scheme
+# (With fg/bg contrast fixes.)
 
 # For Code
 face global value red
@@ -27,16 +28,16 @@
 
 # builtin faces
 face global Default default,default
-face global PrimarySelection white,blue+fg
-face global SecondarySelection black,blue+fg
+face global PrimarySelection black,blue+fg
+face global SecondarySelection black,green+fg
 face global PrimaryCursor black,white+fg
 face global SecondaryCursor black,white+fg
 face global PrimaryCursorEol black,cyan+fg
 face global SecondaryCursorEol black,cyan+fg
 face global LineNumbers default,default
 face global LineNumberCursor default,default+r
-face global MenuForeground white,blue
-face global MenuBackground blue,white
-face global MenuInfo cyan
+face global MenuForeground black,blue
+face global MenuBackground black,white
+face global MenuInfo black
 face global Information black,yellow
 face global Error black,red

Here’s the result:

screenshot_2020-06-14-055127

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 2
  • Comments: 16 (6 by maintainers)

Most upvoted comments

@happycoder97 can you try the same screenshot with my fix? You can put this

# Kakoune default color scheme
# (With fg/bg contrast fixes.)

# For Code
face global value red
face global type yellow
face global variable green
face global module green
face global function cyan
face global string magenta
face global keyword blue
face global operator yellow
face global attribute green
face global comment cyan
face global meta magenta
face global builtin default+b

# For markup
face global title blue
face global header cyan
face global bold red
face global italic yellow
face global mono green
face global block magenta
face global link cyan
face global bullet cyan
face global list yellow

# builtin faces
face global Default default,default
face global PrimarySelection black,blue+fg
face global SecondarySelection black,green+fg
face global PrimaryCursor black,white+fg
face global SecondaryCursor black,white+fg
face global PrimaryCursorEol black,cyan+fg
face global SecondaryCursorEol black,cyan+fg
face global LineNumbers default,default
face global LineNumberCursor default,default+r
face global MenuForeground black,blue
face global MenuBackground black,white
face global MenuInfo black
face global Information black,yellow
face global Error black,red
face global StatusLine cyan,default
face global StatusLineMode yellow,default
face global StatusLineInfo blue,default
face global StatusLineValue green,default
face global StatusCursor black,cyan
face global Prompt yellow,default
face global MatchingChar default,default+b
face global Whitespace default,default+f
face global BufferPadding blue,default

at ~/.config/kak/colors/default.kak and it will just work without further configuration.

For a new user that opens a new text editor for the first time, the colorscheme plays an essential role in the first impression. I have had really bad xp with helix or vis for instance when trying them for the first time. And if the first thing I have to do is to tweak my configuration to make it look “right”, it is a problem in my opinion. It blocks me in the flow of discovery of the editor and tells me that developers probably don’t care enough about polishing it (this might be wrong in practice, but it is what it feels like at least).

For kakoune, it is not that bad except for this precise issue about the contrast. I would be nice to have it tackled, even if it is kind of hard to have a good enough experience for all terminal emulators.

The above fix given by @ewtoombs works well for xfce terminal at least.

@ewtoombs, Yep. It works 😃 image