transformers.js
style: incorrect background color for LanguageSelector in dark mode
#1092
Open

style: incorrect background color for LanguageSelector in dark mode #1092

nekomeowww
nekomeowww213 days ago

Summary

  • The default background color of <select>will cause the <select> to be bad to see the texts in it which violates the best practice of minimum color contrast of texts in accessibilities guidelines.

Changes

  • Added bg-transparent to omit out the background for <select>.
  • Auto format and added a space line for better EOF handling.

Side by side screenshots of changes

Color Mode Before After
Day (white)
Night (dark)
nekomeowww style: incorrect background color for LanguageSelector in dark mode
8216ee54

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone