fix tailwindcss in interface not loading

This commit is contained in:
SethBurkart123
2023-09-25 13:10:55 +10:00
parent f2fe151c42
commit 3745653c0d
6 changed files with 33 additions and 9 deletions
File diff suppressed because one or more lines are too long
+9
View File
@@ -0,0 +1,9 @@
import tailwindcss from "tailwindcss";
import autoprefixer from "autoprefixer";
export default {
plugins: [
tailwindcss,
autoprefixer,
],
};
+21
View File
@@ -0,0 +1,21 @@
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
fontSize: {
"xs": ".65rem",
"sm": ".775rem",
"base": "0.65rem",
"md": "0.65rem",
"lg": "1rem",
"xl": "1.25rem",
"2xl": "1.5rem",
"3xl": "1.875rem",
}
},
plugins: [],
};
-6
View File
@@ -1,6 +0,0 @@
module.exports = {
plugins: [
require("tailwindcss"),
require("autoprefixer"),
],
};
-1
View File
@@ -4,7 +4,6 @@ export default {
"./index.html", "./index.html",
"./src/**/*.{js,ts,jsx,tsx}", "./src/**/*.{js,ts,jsx,tsx}",
], ],
important: true,
darkMode: "class", darkMode: "class",
theme: { theme: {
fontSize: { fontSize: {
+2 -1
View File
@@ -64,7 +64,8 @@ export default {
{ from: "public", to: "." }, { from: "public", to: "." },
{ from: "src/inject/preview", to: "inject/preview" }, { from: "src/inject/preview", to: "inject/preview" },
{ from: "node_modules/webextension-polyfill/dist/browser-polyfill.js", to: "."}, { from: "node_modules/webextension-polyfill/dist/browser-polyfill.js", to: "."},
{ from: "interface/dist/client", to: "client" } { from: "interface/dist/client", to: "client" },
{ from: "interface/dist/index.html", to: "interface/index.html" }
], ],
}), }),
], ],