fix: Update Dropdown (react-select) style #1422

Closed
opened 2026-04-05 16:27:12 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @soknaly on 11/25/2023

Update dropdown (react-select) style to match the primary color

For the dropdown component, when the component is focused the border color is the default color of react-select which is inconsistent with our primary color. Also the option of the dropdown selected background color and option hover (focus) background color don't match the primary color.

Pull Request Checklist:

  • Please make sure all jobs pass before requesting a review.
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
  • Have you lint your code locally before submission?
  • Did you write tests where appropriate?

Screenshots (if appropriate):

Before

Screenshot 2023-11-25 at 11 22 00 at night

After

Screenshot 2023-11-25 at 11 25 36 at night

*Originally created by @soknaly on 11/25/2023* ### Update dropdown (react-select) style to match the primary color For the dropdown component, when the component is focused the border color is the default color of react-select which is inconsistent with our primary color. Also the option of the dropdown selected background color and option hover (focus) background color don't match the primary color. ### Pull Request Checklist: - [ ] Please make sure all jobs pass before requesting a review. - [ ] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). - [x] Have you lint your code locally before submission? - [ ] Did you write tests where appropriate? ### Related Issue? ### Screenshots (if appropriate): #### Before ![Screenshot 2023-11-25 at 11 22 00 at night](https://github.com/OneUptime/oneuptime/assets/20983608/7bcc9697-b7cf-4186-8957-66d0b16b98e0) #### After ![Screenshot 2023-11-25 at 11 25 36 at night](https://github.com/OneUptime/oneuptime/assets/20983608/455e6517-e358-4ed7-b6b6-3402d94bb457)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1422