Skip to content
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

Improve display of IG color variables #33

Open
ElliotSilver opened this issue Oct 3, 2023 · 0 comments
Open

Improve display of IG color variables #33

ElliotSilver opened this issue Oct 3, 2023 · 0 comments

Comments

@ElliotSilver
Copy link

ElliotSilver commented Oct 3, 2023

The current approach with numbers for each color leads to a messy diagram, and makes adding new variables in an organized manner difficult since they would be added at the end of the list, not with the other variables for the visual element.

Rather than the unordered list of color variables currently presented, consider tables:

Area Text Background Border Link Hover
1. IG Title --ig-status-text-color --ig-header-container-color
2. Breadcrumb --breadcrumb-text-color --breadcrumb-bg-color
3. Table of Contents --toc-text-color --toc-box-bg-color --toc-box-border --toc-link-color --toc-link-hover-color
etc.

We probably need 3 tables:

  • content (sample above)
    • columns: text, background, border, link and hover
    • rows: IG title, breadcrumb, publication box, body, table of contents, stu note (and stu headline), dragon, footer nave footer container
  • side stripe colors
  • menu
    • columns: text, background
    • rows: menu, hover, active, dropdown, dropdown hover

Also separator text color (and any other "1 offs")

Number the rows in the tables. Replace the diagram with one that shows only the areas. That is, replace current numbers 1 and 22 with the number for the new "IG title" area; replace current number 17 and 18 with the new number for the TOC area.

The page source, or at least the included diagram (perhaps diagrams) should show all defined styles, which should be listed in the tables.

Since the variables will be listed in the table, reduce the existing "CSS color definitions" section to only an example of overriding a couple of colors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant