We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f282e2 commit 33067d3Copy full SHA for 33067d3
test/integration/user_journey_test.sh
@@ -61,4 +61,11 @@ grep -q "Show this post" app/views/posts/index.html.erb
61
bin/rails tailwindcss:build[verbose]
62
grep -q "py-2" app/assets/builds/tailwind.css
63
64
+# TEST: edit the css file by adding a custom property to the @theme block
65
+tailwind_application_css_file_path="app/assets/stylesheets/application.tailwind.css"
66
+echo -e "\n@theme { --color-tomato: #fafafa; }" >> "$tailwind_application_css_file_path"
67
+
68
+bin/rails tailwindcss:build[verbose]
69
+grep -q "fafafa" app/assets/builds/tailwind.css
70
71
echo "OK"
0 commit comments