From 18cad8a98b3ffdf9a045209276bf287cd3b928fc Mon Sep 17 00:00:00 2001 From: JingMatrix Date: Sun, 26 Jan 2025 11:24:24 +0100 Subject: [PATCH 1/3] [WIP] Migrate to tailwindcss v4 Here are two breaking changes: 1. Adding @reference is an obligation See its docs at https://tailwindcss.com/docs/functions-and-directives#reference-directive 2. Config files should be loaded manually JavaScript config files are still supported for backward compatibility, but they are no longer detected automatically in v4. See https://tailwindcss.com/docs/upgrade-guide#using-a-javascript-config-file --- components/ChromeXt/manager.vue | 1 + components/chat/connect.vue | 1 + content/.vitepress/theme/tailwind.postcss | 6 +- content/en/writing/2019-12-21-Workflow.md | 6 +- package.json | 4 +- pnpm-lock.yaml | 853 +++++++--------------- postcss.config.cjs | 4 +- 7 files changed, 289 insertions(+), 586 deletions(-) diff --git a/components/ChromeXt/manager.vue b/components/ChromeXt/manager.vue index 421f985cb..040005243 100644 --- a/components/ChromeXt/manager.vue +++ b/components/ChromeXt/manager.vue @@ -80,6 +80,7 @@ onMounted(() => { diff --git a/components/chat/connect.vue b/components/chat/connect.vue index 02e5f827a..e79b6f0d2 100644 --- a/components/chat/connect.vue +++ b/components/chat/connect.vue @@ -59,23 +59,20 @@ function savename() { diff --git a/components/layouts/header.vue b/components/layouts/header.vue index 334b9868f..8c1a5ed23 100644 --- a/components/layouts/header.vue +++ b/components/layouts/header.vue @@ -1,6 +1,6 @@