MrBartusek / gif-picker-react

Tenor GIF Picker component for React ⚛️
http://dokurno.dev/gif-picker-react/
MIT License
38 stars 12 forks source link

Changing default border color #30

Closed nickmaio closed 5 months ago

nickmaio commented 5 months ago

Would be nice to have a prop to easily replace default highlighting border color - the default blue one is great but, certainly, not suitable for all UI cases...

MrBartusek commented 5 months ago

You can change this using CSS varables like so:

Add this to your main CSS file (App.css, index.css or similar)

.GifPickerReact {
  --gpr-highlight-color: red;
}