We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1829ea commit 2ffba03Copy full SHA for 2ffba03
violetear/presets.py
@@ -541,7 +541,7 @@ def _generate_states(self):
541
for state in self.states:
542
# We create a class name like "hover:bg-red"
543
# In CSS this must be escaped as ".hover\:bg-red"
544
- variant_class = f"{state}\:{original_class}"
+ variant_class = f"{state}\\:{original_class}"
545
546
# Create a new Style manually to handle the escaped class name
547
# 1. The selector matches the class (e.g. .hover:bg-red)
0 commit comments