feat: Updates tailwind to 4.*

This commit is contained in:
2025-02-25 12:10:09 -05:00
parent ff4c2476d6
commit 9ba5d5e7e4
7 changed files with 30 additions and 808 deletions

View File

@@ -1,10 +1,9 @@
import typography from "@tailwindcss/typography";
import defaultTheme from "tailwindcss/defaultTheme";
const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./Sources/ViewControllerLive/Views/*.swift"],
content: ["./Sources/ViewControllerLive/Views/*.swift", "./Sources/ViewControllerLive/*.swift"],
theme: {
container: {
center: true,
@@ -81,7 +80,6 @@ module.exports = {
textOpacity: false,
},
plugins: [
typography({ target: "legacy" }),
function ({ addBase, theme }) {
function extractColorVars(colorObj, colorGroup = "") {