Skip to content

Change link colour in unified theme - #58

Merged
astrofrog merged 2 commits into
astropy:mainfrom
Cadair:paint_the_shed
May 16, 2026
Merged

astrofrog merged 2 commits into
astropy:mainfrom
Cadair:paint_the_shed

Conversation

@Cadair

@Cadair Cadair commented May 12, 2026 •

Copy link
Copy Markdown
Member

@Cadair Cadair changed the title Change link colour Change link colour in unified theme May 12, 2026

@astrofrog astrofrog left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me, and more standard so hopefully less controversial 👍

.navbar-nav .concertina-toggle:hover,
.bd-header .dropdown-item:hover,
.bd-header .concertina-toggle:hover {
color: var(--sst-accent-color-muted); /* Override the header link color back to sunpy */

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I've made the links in the header bright as the default pst colours do not make the required contrast against the lighter background colour of the nav bar.

@Cadair

Cadair commented May 12, 2026

Copy link
Copy Markdown
Member Author

@taldcroft would you like to review this?

@taldcroft taldcroft left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Assuming that the theme colors apply to the preview artifacts, then looks good. Thanks!

Unrelated, but the section title "New astropy theme colors" should probably be changed to "Astropy theme colors" since they are now (or will soon be) not "new". But that is out of scope here.

@astrofrog
astrofrog merged commit 11544f3 into astropy:main May 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants