Rework colorschemes so that they properly redefine all builtin faces

This commit is contained in:
Maxime Coste 2015-11-12 13:33:23 +00:00
parent d6168a90fc
commit 2026aac26b
4 changed files with 79 additions and 61 deletions

View File

@ -61,6 +61,5 @@
face StatusCursor ${black_lighterer},${cyan_light} face StatusCursor ${black_lighterer},${cyan_light}
face Prompt ${black_light},${cyan_light} face Prompt ${black_light},${cyan_light}
face MatchingChar ${cyan_light},${black_light}+b face MatchingChar ${cyan_light},${black_light}+b
face Search default,default+u
" "
} }

View File

@ -40,4 +40,3 @@ face StatusLine cyan,default
face StatusCursor black,cyan face StatusCursor black,cyan
face Prompt yellow,default face Prompt yellow,default
face MatchingChar default,default+b face MatchingChar default,default+b
face Search default,default+u

View File

@ -46,13 +46,20 @@
# and built in faces # and built in faces
face Default ${base0},${base03} face Default ${base0},${base03}
face PrimarySelection white,blue
face SecondarySelection black,blue
face PrimaryCursor black,white
face SecondaryCursor black,white
face LineNumbers ${base0},${base03} face LineNumbers ${base0},${base03}
face LineNumberCursor default,${base03}+b face LineNumberCursor default,${base03}+b
face MenuForeground ${cyan},${base01}
face MenuBackground ${base02},${base01}
face MenuInfo ${base03}
face Information ${base02},${base1}
face Error default,red
face StatusLine default,${base02} face StatusLine default,${base02}
face StatusCursor ${base00},${base3} face StatusCursor ${base00},${base3}
face Information ${base02},${base1} face Prompt yellow
face MenuBackground ${base02},${base01} face MatchingChar default+b
face MenuForeground ${cyan},${base01}
face MenuInfo ${base03}
" "
} }

View File

@ -1,55 +1,68 @@
# zenburn theme # zenburn theme
# first we define the zenburn colors as faces %sh{
face zenbackground default,rgb:3f3f3f # define some named colors
face zenstatus rgb:efdcbc,rgb:2a2a2a zenbackground="default,rgb:3f3f3f"
face zencursor default,rgb:7f9f7f zenstatus="rgb:efdcbc,rgb:2a2a2a"
face zeninfo rgb:cc9393,rgb:2a2a2a zencursor="default,rgb:7f9f7f"
face zenmenubg rgb:7f9f7f,rgb:4a4a4a zeninfo="rgb:cc9393,rgb:2a2a2a"
face zenmenufg rgb:8cd0d3,rgb:5b5b5b zenmenubg="rgb:7f9f7f,rgb:4a4a4a"
face zentext rgb:efefef zenmenufg="rgb:8cd0d3,rgb:5b5b5b"
face zenkeyword rgb:f0dfaf+b zentext="rgb:efefef"
face zenstorageClass rgb:c3bf9f+b zenkeyword="rgb:f0dfaf+b"
face zennumber rgb:8cd0d3 zenstorageClass="rgb:c3bf9f+b"
face zencomment rgb:7f9f7f zennumber="rgb:8cd0d3"
face zenconstant rgb:dca3a3+b zencomment="rgb:7f9f7f"
face zenspecial rgb:cfbfaf zenconstant="rgb:dca3a3+b"
face zenfunction rgb:efef8f zenspecial="rgb:cfbfaf"
face zenstatement rgb:e3ceab zenfunction="rgb:efef8f"
face zenidentifier rgb:efdcbc zenstatement="rgb:e3ceab"
face zentype rgb:dfdfbf zenidentifier="rgb:efdcbc"
face zenstring rgb:cc9393 zentype="rgb:dfdfbf"
face zenexception rgb:c3bf9f+b zenstring="rgb:cc9393"
face zenmatching rgb:3f3f3f,rgb:8cd0d3 zenexception="rgb:c3bf9f+b"
zenmatching="rgb:3f3f3f,rgb:8cd0d3"
# then we map them to code echo "
face value zenconstant # then we map them to code
face type zentype face value ${zenconstant}
face identifier zenidentifier face type ${zentype}
face string zenstring face identifier ${zenidentifier}
face error zenexception face string ${zenstring}
face keyword zenkeyword face error ${zenexception}
face operator zenfunction face keyword ${zenkeyword}
face attribute zenstatement face operator ${zenfunction}
face comment zencomment face attribute ${zenstatement}
face meta zenspecial face comment ${zencomment}
face meta ${zenspecial}
# and markup # and markup
face title zenkeyword face title ${zenkeyword}
face header zenconstant face header ${zenconstant}
face bold zenstorageClass face bold ${zenstorageClass}
face italic zenfunction face italic ${zenfunction}
face mono zennumber face mono ${zennumber}
face block zenstatement face block ${zenstatement}
face link zenstring face link ${zenstring}
face bullet zenidentifier face bullet ${zenidentifier}
face list zentype face list ${zentype}
# and built in faces # and built in faces
face Default zenbackground face Default ${zenbackground}
face StatusLine zenstatus face PrimarySelection white,blue
face StatusCursor zencursor face SecondarySelection black,blue
face Information zeninfo face PrimaryCursor black,white
face MenuBackground zenmenubg face SecondaryCursor black,white
face MenuForeground zenmenufg face LineNumbers default
face MenuInfo rgb:cc9393 face LineNumberCursor ${zenstatus}
face MenuForeground ${zenmenufg}
face MenuBackground ${zenmenubg}
face MenuInfo rgb:cc9393
face Information ${zeninfo}
face Error default,red
face StatusLine ${zenstatus}
face StatusCursor ${zencursor}
face Prompt yellow
face MatchingChar default+b
"
}