def __setitem__(self, key: str, value: Any):
        """Set an item in the style.

        Args:
            key: The key to set.
            value: The value to set.
        """
        # Create a Var to collapse VarData encoded in f-string.
        _var = LiteralVar.create(value)
        if _var is not None:
            # Carry the imports/hooks when setting a Var as a value.
            self._var_data = VarData.merge(
                getattr(self, "_var_data", None), _var._get_all_var_data()
            )
        super().__setitem__(key, value)
Set an item in the style.

        Args:
            key: The key to set.
            value: The value to set.
        
reflex/style.py