Skip to content

Fix: Opaque, instead of translucent, sticky version banner#1035

Merged
melissawm merged 1 commit into
napari:mainfrom
TimMonko:fix/banner-color
Jun 4, 2026
Merged

Fix: Opaque, instead of translucent, sticky version banner#1035
melissawm merged 1 commit into
napari:mainfrom
TimMonko:fix/banner-color

Conversation

@TimMonko
Copy link
Copy Markdown
Contributor

@TimMonko TimMonko commented Jun 2, 2026

References and relevant issues

Follow-up to napari/napari-sphinx-theme#228

Description

The version banner had some transparency (see screenshots), likely as a hack to make the button more prominent. This modifies the css to blend with a theme-appropriate color (namely napari-gray for light, and napari-dark-gray for dark) so that there is no longer transparency. This mostly matches what we saw before.

Top is current, bottom is this PR:
image

image

Note: I actually like the transparent banner because I feel like it makes it more noticeable, but for it to look intentional we would also want transparency on the navbar.

Note 2: We should also consider having our own theme color set in napari-sphinx-theme for the banner, because this is inheriting from pydata-sphinx-theme colors. I just wanted to mention. It's also potentially a good thing that it's quite noticeably a different color from the theme, but still vaguely matches the palette -- I think that makes it stand out more.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 2, 2026
@TimMonko TimMonko added this to the 0.7.1 milestone Jun 2, 2026
@melissawm
Copy link
Copy Markdown
Member

Merging as an urgent usability fix.

@melissawm melissawm merged commit db33cc9 into napari:main Jun 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants