chore: add test index.html

This commit is contained in:
Oliver Davies 2023-08-24 19:52:27 +01:00
parent b1f15a2a1f
commit bb4948c8ef
3 changed files with 23 additions and 1 deletions

9
index.html Normal file
View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/dist/tailwind.css" />
</head>
<body class="antialiased p-4">
<a class="hocus:bg-black hocus:text-white hocus:underline" href="#0">This is a link</a>
</body>
</html>

View file

@ -4,8 +4,12 @@
"description": "Adds a hocus state for Tailwind CSS for easily adding styles for hover and focus states.",
"main": "src/index.js",
"scripts": {
"build": "tailwindcss --output dist/tailwind.css",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Oliver Davies",
"license": "MIT"
"license": "MIT",
"devDependencies": {
"tailwindcss": "^3.3.3"
}
}

9
tailwind.config.js Normal file
View file

@ -0,0 +1,9 @@
module.exports = {
content: ['./index.html'],
theme: {
extend: {
//
},
},
plugins: [require('./src')],
}