In the Barrio Color Scheme Settings form we have a number of confusing options.

We can choose the Primary base color and the Secondary base color. Fine, no problem.

When we want to choose the H1 color or the H2 color or the H3 color we are given choices between “Base color”, “Primary color”, or “Secondary color”.

Does “Base color” refer to the color value of the previously set “Primary base color” or something else? I have a feeling it is something else because otherwise there would not be an option to choose “Primary color” separately.

Either some form labels need to be rewritten or the select options need to clearly match a form field where we can know which value we are selecting.

screenshot of the Barrio Color Scheme Settings form with the H1 color select options open revealing choices of Base color, Primary color, and Secondary color

CommentFileSizeAuthor
barrio-color-scheme-settings.png257.38 KBtommyk
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

TommyK created an issue. See original summary.

hatuhay’s picture

Category: Bug report » Support request
Status: Active » Closed (works as designed)

Barrio colors are based on Material Design color managent, using Bootstrap framework.
The theme generates site colors based on 2 colors
Please refer to https://m1.material.io/style/color.html#color-color-system

tommyk’s picture

Status: Closed (works as designed) » Active

I read the page you linked to. It does not have the word "base" on it anywhere.

Let me reiterate my question: What does "Base color" refer to? We don't have the option to set a "Base color" in the UI, so where does the value come from?

hatuhay’s picture

Primary color

tommyk’s picture

Why is there a different choice for "Base color" and "Primary color" in the select list if they are the same? It's very confusing.

makbay’s picture

I'd like to propose a small but important change to improve clarity in the color scheme settings UI.

Currently, the form uses the labels for the color fields:

  • Primary base color
  • Secondary base color

Meanwhile, when choosing colors for headings (H1, H2, etc.), we are presented with options like:

  • Base color
  • Primary color
  • Secondary color

This inconsistency causes confusion. Users are left unsure whether Primary base color corresponds to Primary color, and what Base color refers to at all.

Suggested fix:

  • Rename "Primary base color" to "Primary color"
  • Rename "Secondary base color" to "Secondary color"

This change would align the labels with the options in the dropdowns and provide a more intuitive experience.

makbay’s picture

Category: Support request » Task

makbay’s picture

Status: Active » Needs review
tommyk’s picture

Status: Needs review » Needs work

This wouldn't fix it. There will still be an option for "Base color" in the heading color select lists. We will still have no idea what color "Base color" refers to unless we are familiar with the explanation in this issue. The select lists probably need to be changed along with the corresponding labels for the Primary and Secondary color selection.

makbay’s picture

Base color equals to body color. It makes the heading colors equal to the body color, in another words, does not change the heading colors.

Maybe we can also change the “Base color” option to “Body color” or “Inherit” or “Default” etc.

There is another bigger problem that I have just discovered and resolved here:
https://www.drupal.org/project/bootstrap_barrio/issues/3522986

tommyk’s picture

Agree with the suggestion to change the option string to something that makes more sense "Body text color" or "Default text color" each would make sense to me. Including the word "text" would remove any ambiguity as to whether it refers to text color or background color.

makbay’s picture

Status: Needs work » Needs review

  • hatuhay committed f3591db5 on 5.5.x authored by makbay
    Issue #3455817 by tommyk, makbay: Confusing Barrio Color Scheme Settings...
makbay’s picture

@hatuhay, please do not forget to give credit.

hatuhay’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.