Skip to content

Small tweaks to color scheme#61

Merged
egrace479 merged 9 commits intoImageomics:feat/color-schemefrom
annavik:feat/color-scheme
Mar 24, 2026
Merged

Small tweaks to color scheme#61
egrace479 merged 9 commits intoImageomics:feat/color-schemefrom
annavik:feat/color-scheme

Conversation

@annavik
Copy link
Contributor

@annavik annavik commented Mar 23, 2026

Summary of changes

  • Adjust colors for admonition tip and note
  • Make links more distinguishable (using both color and font weight)
  • Adjust colors for small screen navigation

Screenshots

Before:
Screenshot 2026-03-23 at 14 07 31
Screenshot 2026-03-23 at 14 07 42

After:
Screenshot 2026-03-23 at 15 38 15
Screenshot 2026-03-23 at 15 39 18

Copy link
Member

@egrace479 egrace479 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you! I just think the info should match notes as they're conceptually more similar and tips should stand out a bit more as distinct (FAIR Guide being one example page).

Image

Copy link
Member

@egrace479 egrace479 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matching the accent color for active navigation URLs messes up the hover, so let's keep them matching the URLs in-text. I also noticed the outer level wasn't bolded, so that's included in the suggestion.

annavik and others added 2 commits March 24, 2026 16:22
Co-authored-by: Elizabeth Campolongo <38985481+egrace479@users.noreply.github.com>
@annavik
Copy link
Contributor Author

annavik commented Mar 24, 2026

Matching the accent color for active navigation URLs messes up the hover, so let's keep them matching the URLs in-text. I also noticed the outer level wasn't bolded, so that's included in the suggestion.

Makes sense, thank you! I applied your suggestions for the links. There is currently no visual difference between an active navigation item and a regular link, which is perhaps not great, but when working with themes like this sometimes you have to compromise.

For the admonition colors, some problem with applying the suggestions (maybe conflicting code?), but I think I got the intention, so I made a separate commit. Now notes and info are using the primary style and questions and tips are using the accent style. I think that logic is making more sense, thank you!

@egrace479
Copy link
Member

Matching the accent color for active navigation URLs messes up the hover, so let's keep them matching the URLs in-text. I also noticed the outer level wasn't bolded, so that's included in the suggestion.

Makes sense, thank you! I applied your suggestions for the links. There is currently no visual difference between an active navigation item and a regular link, which is perhaps not great, but when working with themes like this sometimes you have to compromise.

It is only the selected one that's highlighted (by the different color) and we have the ones that are scrolled past in a different shade of grey, so I think it's alright based on the site's structure.

@gwtaylor
Copy link
Collaborator

🙌 I think this is an improvement to the existing scheme proposed in #60!

from main theme, not overridden
Copy link
Member

@egrace479 egrace479 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!

@egrace479 egrace479 merged commit 9f5cccb into Imageomics:feat/color-scheme Mar 24, 2026
egrace479 added a commit that referenced this pull request Mar 24, 2026
* Set color scheme to match ABC Colors

Pull from ABC-Guide [PR 7](ABC-Center/ABC-guide#7)

---------

Co-authored-by: Anna Viklund <annamariaviklund@gmail.com>

* fix 18: set GitHub panel color to match on mobile/small screens

Pull from ABC Guide [PR 19](ABC-Center/ABC-guide#19)

---------

Co-authored-by: Anna Viklund <annamariaviklund@gmail.com>

* Set colors to be more modular with some added instructions
Use Imageomics Guide colors for light mode and ABC for dark mode

* Add color-specification instructions

* Try green-teal color scheme with purple accents

* Implement suggested color scheme from #59

Co-authored-by: Anna Viklund <annamariaviklund@gmail.com>

* Revise default color note to point to palette definition

* Small tweaks to color scheme (#61)

* Adjust colors for admonition tip

* Adjust colors for small screen navigation

* Make links more distinguishable

* Adjust colors for admonition info

* Tweak link appearance

* Apply link tweak suggestions from code review

Co-authored-by: Elizabeth Campolongo <38985481+egrace479@users.noreply.github.com>

* Tweak logic for admonition colors

* Set colors for summary component

* Add background color definition clarification

from main theme, not overridden

---------

Co-authored-by: Elizabeth Campolongo <38985481+egrace479@users.noreply.github.com>

* Add acknowledgment for Anna's help with color scheme

---------

Co-authored-by: Anna Viklund <annamariaviklund@gmail.com>
egrace479 added a commit to Imageomics/Imageomics-guide that referenced this pull request Mar 24, 2026
[PR 60](Imageomics/Collaborative-distributed-science-guide#60) Implement new color scheme

* Set colors to be more modular with some added instructions

* Small tweaks to color scheme [PR 61](Imageomics/Collaborative-distributed-science-guide#61)

* Adjust colors for admonition tip

* Adjust colors for small screen navigation

* Make links more distinguishable

* Adjust colors for admonition info

* Tweak link appearance

* Apply link tweak suggestions from code review

Co-authored-by: Elizabeth Campolongo <38985481+egrace479@users.noreply.github.com>

* Tweak logic for admonition colors

* Set colors for summary component

* Add background color definition clarification

from main theme, not overridden

---------

Co-authored-by: Elizabeth Campolongo <38985481+egrace479@users.noreply.github.com>
Co-authored-by: Anna Viklund <annamariaviklund@gmail.com>
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

Successfully merging this pull request may close these issues.

3 participants