tailwindcss-border-gradient-radius
Advanced tools
Comparing version 1.0.0 to 1.0.2
{ | ||
"name": "tailwindcss-border-gradient-radius", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"description": "Tailwind CSS plugin for generating border gradients with could be used with the rounded utility", | ||
@@ -5,0 +5,0 @@ "author": "Sven Batista Steinbach ", |
@@ -13,7 +13,6 @@ # Border Gradients Plugin for Tailwind CSS based on background-origin and background-image | ||
## Installation | ||
npm install | ||
``` | ||
npm install tailwindcss-border-gradient-radius | ||
yarn add tailwindcss-border-gradient-radius | ||
``` | ||
## Usage | ||
@@ -32,3 +31,3 @@ | ||
plugins: [ | ||
require('tailwindcss-gradients'), | ||
require('tailwindcss-border-gradient-radius'), | ||
], | ||
@@ -39,3 +38,4 @@ } | ||
With colors you can specify your border gradients. | ||
With background you can specify your background within your button for example | ||
With background you can specify your background within your button for example. | ||
Please note that at the moment it's not working to use variants.extend.linearBorderGradients to extend the generated variants, but you can replace the generated variants as you can see in the example below. | ||
@@ -74,3 +74,3 @@ ```js | ||
plugins: [ | ||
require('tailwindcss-border-gradients-radius')(), | ||
require('tailwindcss-border-gradient-radius'), | ||
], | ||
@@ -77,0 +77,0 @@ } |
38655