File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ module . exports = function ( ) {
2+ function ( { addUtilities } ) {
3+ const sketchyBorders = {
4+ '.border-sketchy-sm' : {
5+ borderRadius : '255px 25px 225px 25px/25px 225px 25px 255px' ,
6+ transition : 'all 0.3s ease-in-out'
7+ } ,
8+ '.border-sketchy-md' : {
9+ borderRadius : '25px 55px 10px 45px/85px 20px 55px 20px' ,
10+ transition : 'all 0.3s ease-in-out'
11+ } ,
12+ '.border-sketchy-lg' : {
13+ borderRadius : '5px 55px 25px 25px/85px 20px 55px 20px' ,
14+ transition : 'all 0.3s ease-in-out'
15+ } ,
16+ }
17+
18+ addUtilities ( sketchyBorders , {
19+ variants : [ 'responsive' , 'hover' ] ,
20+ } )
21+ }
22+ }
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " tailwindcss-border-sketch" ,
3+ "version" : " 0.0.1" ,
4+ "description" : " add border Border Sketch Style to tailwindcss" ,
5+ "main" : " index.js" ,
6+ "scripts" : {
7+ "test" : " echo \" Error: no test specified\" && exit 1"
8+ },
9+ "repository" : {
10+ "type" : " git" ,
11+ "url" : " https://github.com/atm-code/tailwindcss-border-sketch"
12+ },
13+ "keywords" : [
14+ " tailwindcss" ,
15+ " border" ,
16+ " style" ,
17+ " sketch"
18+ ],
19+ "author" : " atmonshi" ,
20+ "license" : " MIT"
21+ }
You can’t perform that action at this time.
0 commit comments