Skip to content

Color specification not backwards incompatible? #31

@musjj

Description

@musjj

In the past, base16 provides base08-base0E for the "base" pastel colors, allowing base24 to extend the pallette with base10-base17 to provide brighter variants of those base colors. This matches how terminal theming usually works.

But now, it's reversed:

base24/styling.md

Lines 54 to 60 in 21ac86b

| ![Colour](https://placehold.it/25/e06c75/000000?text=+) | base08 | 9 | Bright Red | Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted |
| ![Colour](https://placehold.it/25/d19a66/000000?text=+) | base09 | ~11 | (Orange) | Integers, Boolean, Constants, XML Attributes, Markup Link Url |
| ![Colour](https://placehold.it/25/e5c07b/000000?text=+) | base0A | 11 | Bright Yellow | Classes, Markup Bold, Search Text Background |
| ![Colour](https://placehold.it/25/98c379/000000?text=+) | base0B | 10 | Bright Green | Strings, Inherited Class, Markup Code, Diff Inserted |
| ![Colour](https://placehold.it/25/56b6c2/000000?text=+) | base0C | 14 | Bright Cyan | Support, Regular Expressions, Escape Characters, Markup Quotes |
| ![Colour](https://placehold.it/25/61afef/000000?text=+) | base0D | 12 | Bright Blue | Functions, Methods, Attribute IDs, Headings |
| ![Colour](https://placehold.it/25/c678dd/000000?text=+) | base0E | 13 | Bright Purple | Keywords, Storage, Selector, Markup Italic, Diff Changed |

home/styling.md

| ![#](https://placehold.it/25/e06c75/000000?text=+) | base08 | 9  and 1 | Bright Red and Red       | Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted |
| ![#](https://placehold.it/25/d19a66/000000?text=+) | base09 | ~3       | (Orange)                 | Integers, Boolean, Constants, XML Attributes, Markup Link Url |
| ![#](https://placehold.it/25/e5c07b/000000?text=+) | base0A | 11 and 3 | Bright Yellow and Yellow | Classes, Markup Bold, Search Text Background |
| ![#](https://placehold.it/25/98c379/000000?text=+) | base0B | 10 and 2 | Bright Green and Green   | Strings, Inherited Class, Markup Code, Diff Inserted |
| ![#](https://placehold.it/25/56b6c2/000000?text=+) | base0C | 14 and 6 | Bright Cyan and Cyan     | Support, Regular Expressions, Escape Characters, Markup Quotes |
| ![#](https://placehold.it/25/61afef/000000?text=+) | base0D | 12 and 4 | Bright Blue and Blue     | Functions, Methods, Attribute IDs, Headings |
| ![#](https://placehold.it/25/c678dd/000000?text=+) | base0E | 13 and 5 | Bright Purple and Purple | Keywords, Storage, Selector, Markup Italic, Diff Changed |

It's also doesn't match with the example color on the left.

Is this intentional? I think the previous specification makes more sense, but was there a reasoning behind the change?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions