Khaleel Al-Adhami 3 mesi fa
parent
commit
6d4b4bc17c
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      reflex/compiler/compiler.py
  2. 1 1
      tests/integration/test_tailwind.py

+ 1 - 1
reflex/compiler/compiler.py

@@ -526,7 +526,7 @@ def remove_tailwind_from_postcss() -> tuple[str, str]:
     code = [
         line
         for line in Path(output_path).read_text().splitlines(keepends=True)
-        if "tailwindcss: " not in line
+        if "@tailwindcss" not in line
     ]
 
     # Compile the config.

+ 1 - 1
tests/integration/test_tailwind.py

@@ -10,7 +10,7 @@ from reflex.testing import AppHarness
 
 PARAGRAPH_TEXT = "Tailwind Is Cool"
 PARAGRAPH_CLASS_NAME = "text-red-500"
-TEXT_RED_500_COLOR = ["rgba(239, 68, 68, 1)", "rgb(239, 68, 68)"]
+TEXT_RED_500_COLOR = ["oklch(0.637 0.237 25.331)"]
 
 
 def TailwindApp(