Skip to content

Commit 6177592

Browse files
committed
docs: add root option explanation
1 parent ecbe512 commit 6177592

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ Then add the plugin to your `tailwind.config.js` file:
2222
// tailwind.config.js
2323
module.exports = {
2424
plugins: [
25-
// ...
2625
require('tailwindcss-accent')({
2726
colors: ['violet', 'blue'], // (OPTIONAL) Only include specific color(s).
27+
root: 'blue', // (OPTIONAL) Set selected color as :root accent color.
2828
}),
29-
// ...
3029
],
3130
};
3231
```

0 commit comments

Comments
 (0)