Adding tailwindcss build
parent
2a1bf7a0ff
commit
bb2fb26181
@ -0,0 +1 @@
|
|||||||
|
node_modules/
|
@ -1,2 +1,2 @@
|
|||||||
FROM nginx
|
FROM nginx
|
||||||
COPY . /usr/share/nginx/html
|
COPY ./src /usr/share/nginx/html
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"tailwindcss": "^3.4.9"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
port.onconnect = async () => {
|
||||||
|
console.log("connected to port")
|
||||||
|
connectButton.classList.remove('bg-emerald-500', 'hover:bg-emerald-600', 'focus:ring-emerald-500');
|
||||||
|
connectButton.classList.add('bg-red-500', 'hover:bg-red-600', 'focus:ring-red-500');
|
||||||
|
connectButton.textContent = 'Disconnect';
|
||||||
|
};
|
||||||
|
|
||||||
|
port.ondisconnect = async () => {
|
||||||
|
connectButton.classList.remove('bg-red-500', 'hover:bg-red-600', 'focus:ring-red-500');
|
||||||
|
connectButton.classList.add('bg-emerald-500', 'hover:bg-emerald-600', 'focus:ring-emerald-500');
|
||||||
|
connectButton.textContent = 'Connect';
|
||||||
|
};
|
@ -0,0 +1,3 @@
|
|||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 318 B |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
|||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
module.exports = {
|
||||||
|
content: ["./src/**/*.{html,js}"],
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
}
|
||||||
|
|
Reference in New Issue