From 6d4b4bc17c822f45d32fb91e7d2a18a62021c06e Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Thu, 6 Feb 2025 13:36:53 -0800 Subject: [PATCH] fix tests --- reflex/compiler/compiler.py | 2 +- tests/integration/test_tailwind.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reflex/compiler/compiler.py b/reflex/compiler/compiler.py index c2a76aad3..11726535d 100644 --- a/reflex/compiler/compiler.py +++ b/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. diff --git a/tests/integration/test_tailwind.py b/tests/integration/test_tailwind.py index eb0fde759..819a5349a 100644 --- a/tests/integration/test_tailwind.py +++ b/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(