sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.62k stars 1.33k forks source link

feat: add input-background css variable #1650

Closed KareemDa closed 2 years ago

KareemDa commented 2 years ago

The goal for this PR is to be able to change the input background color.

Material Design has an option: filled which changes background color from white to light one,

currently, the background is hardcoded. This PR adds new variable: --vs-input-background to override default background color

Example of filled applied by customizing --vs-input-background:

image

netlify[bot] commented 2 years ago

Deploy request for vueselect pending review.

Visit the deploys page to approve it

Name Link
Latest commit 7c01a0d785a6eb6c18bdb64f58120bafddcb8dac
sagalbot commented 2 years ago

@KareemDa thanks for the contribution! Merged with a slight adjustment, the name of the variable was updated to vs-search-input-bg to match the pattern of the others.

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 3.20.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

KareemDa commented 2 years ago

Thank you so much!

JoA-MoS commented 1 year ago

@sagalbot - could this functionality be merged into the beta channel for vue3 support?