Skip to content

fix(ui): improve light-theme component rendering#5526

Open
ashmod wants to merge 1 commit into
google:masterfrom
ashmod:fix/light-ui-stuff
Open

fix(ui): improve light-theme component rendering#5526
ashmod wants to merge 1 commit into
google:masterfrom
ashmod:fix/light-ui-stuff

Conversation

@ashmod

@ashmod ashmod commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Fixes some light-theme specific quirks:

On chromium-based browsers, scrollbar always rendered in dark styling, because the color-scheme property was missing, additionally the $osv-background was not visible.

Before/After:
home_before
home_after


The "Load More" spinner on the list page had a white color making it invisible on light mode so that was fixed too by setting it to $osv-text-color instead:

spinner_light

Finally, non-CVSS severity chips had poor contrast on light mode, showing white text on a very light gray background (osv-grey-800):
ubuntu_before

Fixed by updating the text color:
ubuntu_after

@Ly-Joey Ly-Joey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! Thank you! :D

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.

2 participants