Skip to content

Commit d939ec6

Browse files
committed
init
0 parents  commit d939ec6

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

index.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
}

package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
}

0 commit comments

Comments
 (0)