Skip to content

Commit

Permalink
added live demo to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
christhofer committed Apr 10, 2021
1 parent 2a6ebd3 commit d06482b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Tailwindcss plugin to customize browser scrollbar.
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@gradin/tailwindcss-scrollbar)
![npm](https://img.shields.io/npm/dw/@gradin/tailwindcss-scrollbar)

[Live Demo](https://play.tailwindcss.com/SeDSnfsxrR)

## Installation

```sh
Expand All @@ -25,14 +27,13 @@ module.exports = {
},
plugins: [
require('@gradin/tailwindcss-scrollbar')({
size: '5px',
size: '5px', // width or height, default '5px'
colors: {
track: 'lightgray', // default '#f1f1f1'
thumb: 'gray', // default '#c1c1c1'
thumbHover: 'darkgray', // default '#a8a8a8'
}
}),
// ...
],
}
```
Expand Down

0 comments on commit d06482b

Please sign in to comment.