Skip to content

Commit 0e2942d

Browse files
committed
0.3.0
Drop support for Tailwind v3. Add support for Tailwind v4.
1 parent eab21f9 commit 0e2942d

File tree

5 files changed

+60
-10509
lines changed

5 files changed

+60
-10509
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,12 @@ npm install -D tailwind-scrollbar-utilities
1818
yarn add -D tailwind-scrollbar-utilities
1919
```
2020

21-
Add it to the plugins array of your Tailwind config. Call the functions for the utilities you want to use.
21+
### When using CSS config
2222

23-
```js
24-
const { scrollbarGutter, scrollbarWidth, scrollbarColor } = require('tailwind-scrollbar-utilities');
23+
Add an import for the plugin in your CSS file. You cannot currently import only specific groups of utilities.
2524

26-
plugins: [
27-
scrollbarGutter(), // no options to configure
28-
scrollbarWidth(), // no options to configure
29-
scrollbarColor(), // no options to configure
30-
]
25+
```css
26+
@import "tailwind-scrollbar-utilities";
3127
```
3228

3329
## Usage

0 commit comments

Comments
 (0)