Skip to content
This repository was archived by the owner on Aug 3, 2020. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add new options to readme.md
  • Loading branch information
hacknug committed Jul 1, 2018
commit a2e8ce12f5de31d5585e5f185f47fabd70d183c0
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ To get started using the plugin, you can require it into your Tailwind CSS confi

```js
plugins: [
// Other plugins...

// Other plugins…
require('tailwindcss-spinner')(),
],
```
Expand All @@ -27,11 +26,12 @@ If you want to customize the spinner, you can pass any combination of the follow

```js
plugins: [
// Other plugins...

// Other plugins…
require('tailwindcss-spinner')({
name: 'spinner', // change class name
color: 'grey-light', // color from config to make it
size: '1em', // size of the spinner (used for both width and height)
border: '2px', // border-width of the spinner (shouldn't be bigger than half the spinner's size)
}),
],
```
Expand Down