-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color specification not backwards incompatible? #31
Comments
Hey, these are the PRs that merged the changes that include discussions around it:
I think the first and third have the most discussion around it. I'm happy to continue discussing and change anything if it makes sense, so let me know what you think once you've read through them. |
Hey, I looked at the screenshot in your PR but I don't quite see what you mean. In here, I grayscaled your screenshot: As you can see above, Another issue is with terminal theming. Some terminals only supports 8 baseline colors, while more advanced terminals supports 8 additional brighter colors (see here). The previous specification neatly fits this paradigm: base16 can provide the first 8 baseline colors, while base24 can extend them with 8 brighter colors. Side case: it also makes the spec a bit semantically awkward. base24 is supposed to be an extension of base16, so it feels natural for base16 to provide the baseline colors and base24 extending them with brighter variants. In the new spec, the roles feels mixed up. |
I'm personally happy to agree on whatever we decide is "bright" and therefore "dim" or "muted" even though we don't use those terms (yet). https://primer.style/primitives/storybook/?path=/story/color-datavis--highcharts-accent-colors Here the github colors "muted" colors are closer to "white" than the "emphasied" or "brighter" variants. I'm inferring brightness in this specific scenario since they don't explicitly say that, but you usually have "muted" or "dull" as apposed to something "bright". It's important that bas16 and base24 can be used interchangeably. While it's not how we're using it in the In the screenshot you provided, while the closer-to-white colors are on the right, I, at least, interpretted them as dull or muted and saw base08-0F as the vibrant/brighter colors. In summary yeah you're right that brightness here is a semantic thing and I think we just need to get a definition that works with our needs. I think people would be ok with switching the current bright (08-0E) with the standard variants (12-17), but we just need to document it well with the reasons for it being that way. |
Thanks for the link. Here the "muted" variants have higher luminosity levels, which matches with the current But I think the most important takeaway here is that the This is especially true for terminals, where the baseline 8 colors are used almost everywhere. While the other 8 brighter colors are considered secondary and used rarely. This means that in the new spec, the primary baseline colors will change when you port a base16 theme to base24. For example, let's create a fictional base16 theme: Now let's extend it for base24 according to the new spec: Most of the colors are now taken over by As you can see here, the original baseline colors ( If we're unsatisfied with the colors introduced by the base24 themes, we should improve on that instead of changing the spec in a backwards-incompatible way. We could also come up with better adjectives to describe |
In the base16 spec we define Bright colors before standard colors, so we aren't changing standard to base12-17 since bright is defined first But I do understand that it's not intuitive and would make more sense for standard to be defined first. If we do that then we need to redefine (in base24 styling spec) what "brightness" means and be generous with that meaning to mean brightness in any way, intensity, luminosity, etc. to be explicit. We also need to reorder Do you want to create a draft PR switching up the base24 spec and we can adjust things and merge when it makes sense? |
I'll try to draft something up! |
In the past,
base16
providesbase08
-base0E
for the "base" pastel colors, allowingbase24
to extend the pallette withbase10
-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
home/styling.md
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?
The text was updated successfully, but these errors were encountered: