1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-28 01:00:28 +03:00
kakoune/colors/lucius.kak
Frank LENORMAND 37706d7a95 colors: Retire the bold and italic faces
This commit removes declarations and mentions to the built-in `bold`
and `italic` faces.

While they could be a user-friendly way of customising how tokens
are emphasised in Markdown documents (similarly to the
`$LESS_TERMCAP_*` environment variables for `man` pagers), most other
markup languages do not have the concept of "strong" and "emphasis"
but refer directly to the font style/weight.

The faces were also not even set by default to highlight as their
names implied, so having markup language support scripts directly
use the +b and +i face attributes is more consistent.
2020-05-15 11:56:38 +03:00

76 lines
3.2 KiB
Plaintext

# lucius theme
evaluate-commands %sh{
# first we define the lucius colors as named colors
lucius_darker_grey="rgb:303030"
lucius_dark_grey="rgb:444444"
lucius_grey="rgb:808080"
lucius_light_grey="rgb:b2b2b2"
lucius_lighter_grey="rgb:d7d7d7"
lucius_dark_red="rgb:870000"
lucius_light_red="rgb:ff8787"
lucius_orange="rgb:d78700"
lucius_purple="rgb:d7afd7"
lucius_dark_green="rgb:5f875f"
lucius_bright_green="rgb:87af00"
lucius_green="rgb:afd787"
lucius_light_green="rgb:d7d7af"
lucius_dark_blue="rgb:005f87"
lucius_blue="rgb:87afd7"
lucius_light_blue="rgb:87d7ff"
echo "
# then we map them to code
face global value ${lucius_light_green}
face global type ${lucius_blue}
face global variable ${lucius_green}
face global module ${lucius_green}
face global function ${lucius_light_blue}
face global string ${lucius_light_green}
face global keyword ${lucius_light_blue}
face global operator ${lucius_green}
face global attribute ${lucius_light_blue}
face global comment ${lucius_grey}
face global documentation comment
face global meta ${lucius_purple}
face global builtin default+b
# and markup
face global title ${lucius_light_blue}
face global header ${lucius_light_green}
face global mono ${lucius_light_green}
face global block ${lucius_light_blue}
face global link ${lucius_light_green}
face global bullet ${lucius_green}
face global list ${lucius_blue}
# and built in faces
face global Default ${lucius_lighter_grey},${lucius_darker_grey}
face global PrimarySelection ${lucius_darker_grey},${lucius_orange}+fg
face global SecondarySelection ${lucius_lighter_grey},${lucius_dark_blue}+fg
face global PrimaryCursor ${lucius_darker_grey},${lucius_lighter_grey}+fg
face global SecondaryCursor ${lucius_darker_grey},${lucius_lighter_grey}+fg
face global PrimaryCursorEol ${lucius_darker_grey},${lucius_dark_green}+fg
face global SecondaryCursorEol ${lucius_darker_grey},${lucius_dark_green}+fg
face global LineNumbers ${lucius_grey},${lucius_dark_grey}
face global LineNumberCursor ${lucius_grey},${lucius_dark_grey}+b
face global MenuForeground ${lucius_blue},${lucius_dark_blue}
face global MenuBackground ${lucius_darker_grey},${lucius_light_grey}
face global MenuInfo ${lucius_grey}
face global Information ${lucius_lighter_grey},${lucius_dark_green}
face global Error ${lucius_light_red},${lucius_dark_red}
face global StatusLine ${lucius_lighter_grey},${lucius_dark_grey}
face global StatusLineMode ${lucius_lighter_grey},${lucius_dark_green}+b
face global StatusLineInfo ${lucius_dark_grey},${lucius_lighter_grey}
face global StatusLineValue ${lucius_lighter_grey}
face global StatusCursor default,${lucius_blue}
face global Prompt ${lucius_lighter_grey}
face global MatchingChar ${lucius_lighter_grey},${lucius_bright_green}
face global BufferPadding ${lucius_green},${lucius_darker_grey}
face global Whitespace ${lucius_grey}+f
"
}