mirror of
https://github.com/opdavies/tailwindcss-plugin-hocus-state.git
synced 2025-01-22 12:07:32 +00:00
chore: add test index.html
This commit is contained in:
parent
b1f15a2a1f
commit
bb4948c8ef
9
index.html
Normal file
9
index.html
Normal 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>
|
|
@ -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
9
tailwind.config.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
module.exports = {
|
||||
content: ['./index.html'],
|
||||
theme: {
|
||||
extend: {
|
||||
//
|
||||
},
|
||||
},
|
||||
plugins: [require('./src')],
|
||||
}
|
Loading…
Reference in a new issue