Upgrade Tailwind to v4 (#491)

This commit is contained in:
Gregory Schier
2026-07-02 09:53:22 -07:00
committed by GitHub
parent bdf78254b5
commit 9b524e3dc7
112 changed files with 744 additions and 1027 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";
@import "../../packages/tailwind-config/index.css";
@source "../../packages/ui/src";
@layer base {
html,
@@ -46,7 +46,7 @@
a,
a[href] * {
@apply cursor-pointer !important;
@apply cursor-pointer!;
}
table th {
@@ -68,14 +68,14 @@
}
&::-webkit-scrollbar-thumb:hover {
@apply opacity-40 !important;
@apply opacity-40!;
}
}
.hide-scrollbars {
&::-webkit-scrollbar-corner,
&::-webkit-scrollbar {
@apply hidden !important;
@apply hidden!;
}
}
+1 -5
View File
@@ -1,7 +1,3 @@
module.exports = {
plugins: [
require("@tailwindcss/nesting")(require("postcss-nesting")),
require("tailwindcss"),
require("autoprefixer"),
],
plugins: [require("@tailwindcss/postcss")],
};
-7
View File
@@ -1,7 +0,0 @@
const sharedConfig = require("@yaakapp-internal/tailwind-config");
/** @type {import('tailwindcss').Config} */
module.exports = {
...sharedConfig,
content: ["./**/*.{html,ts,tsx}", "../../packages/ui/src/**/*.{ts,tsx}"],
};