The Base16 and Base24 specifications have been reevaluated to address certain shortcomings and enhance overall compatibility and usability.
These adjustments introduce two additional colours and enhance support for an existing colour, offering greater flexibility and consistency within the scheme.
- Lack of a bright variant for the colour Brown, which was presumed deprecated.
- Colours are not arranged in 'ansi order,' complicating the mapping process to ANSI counterparts.
- Transition away from the baseXX naming convention, which can be confusing for scheme and template designers, in favour of a more intuitive naming system.
These changes will break forwards compatibility; existing Base16 schemes will no longer function, and previous versions of Base24 schemes will become incompatible. However, backwards compatibility can be preserved with some effort, although this may require additional work from builders.
name: "Scheme Name"
author: "Scheme Author"
bg_darkest: "21252b"
bg_dark: "282c34"
black_b: "4f5666"
bg: "3f4451"
fg: "e6e6e6"
fg_lightest: "ffffff"
...
Builders should iterate through a series of local templates and schemes to generate outputs. An example file structure for input and output:
input/schemes
/templates
output/[template_name_0]/[scheme_name_0]/data
/[scheme_name_1]/data
/[template_name_1]/[scheme_name_0]/data
/[scheme_name_1]/data
Support variations of the names as listed under styling (in parentheses)
Support variations of the names supporting the following variations:
HEX
RGB
R
G
B
INT
RGB
R
G
B
DEC
RGB
R
G
B
An example of this may be white_b_int_r
Builders may use a config file pointing to a list of schemes and fetch these through git.
Ensure backward compatibility with Base24 0.1.0 and Base16 0.9.1.
Name | Colour | HEX Code | RGB |
---|---|---|---|
orange | d78460 | 215,132,96 | |
orange_b | de9a7c | 222,154,124 | |
brown | 994949 | 153,73,73 | |
brown_b | bf5c5c | 191,92,92 | |
pink | e9969d | 233,150,157 | |
pink_b | eeafb4 | 238,175,180 |
The proposed mappings between Base24, the previous Base24 version, and Base16:
Base24 | Base24 (old) | Base16 |
---|---|---|
bg_darkest | base11 | base00 |
bg_dark | base10 | base00 |
bg (black) | base00 | base00 |
black_b | base01 | base01 |
fg (white) | base06 | base06 |
fg_lightest (white_b) | base07 | base07 |
red | base08 | base08 |
red_b | base12 | base08 |
green | base0B | base0B |
green_b | base14 | base0B |
yellow | base09 | base09 |
yellow_b | base13 | base0A |
blue | base0D | base0D |
blue_bright | base16 | base0D |
magenta(purple) | base0E | base0E |
magenta_b (purple_b) | base17 | base0E |
cyan | base0C | base0C |
cyan_b | base15 | base0C |