Understand the Colortemplate syntax
masterColortemplate uses a simple, structured format to define metadata, environments, backgrounds, color palettes, and highlight groups.
Key sections include:
- Metadata:
Full name,Short name, andAuthor. - Configuration:
Environments(e.g.,gui 256) andBackground(e.g.,dark). - Color Palette: Defined using the
Color:keyword followed by a name, a hex code, and an optional approximation (e.g.,Color: myblack #333333 ~). - Highlight Groups: Defined by listing the group name followed by color names from your palette (e.g.,
Normal mywhite myblack). - Term colors: A block used to define terminal color mappings.
Full name: My Gorgeous Theme
Short name: gorgeous
Author: Me <me@somewhere.org>
Environments: gui 256
Background: dark
; Color palette
Color: myblack #333333 ~
Color: mywhite #fafafa ~
; Highlight group definitions
Normal mywhite myblack
Term colors: mywhite mywhite mywhite mywhite mywhite mywhite mywhite mywhite
myblack myblack myblack myblack myblack myblack myblack myblack