Support for Custom CSS and JavaScript Injection to Enhance Popup and Interactive Element Styling
h
h wayne hayes
As a user relying on Gamma for creating dynamic presentations and websites, I've encountered limitations in customizing interactive elements like popups. Currently, there's no option to inject custom CSS or JavaScript, which prevents advanced styling such as adjusting opacity, positioning, animations, or triggering custom behaviors for popups.For example, I'd like to create a modal popup with a semi-transparent background (e.g., using CSS like background: rgba(0,0,0,0.5);) and JavaScript to handle open/close events. This feature would greatly benefit developers and designers who need more flexibility beyond the native theme editor, while maintaining Gamma's no-code appeal for others.Key benefits:Enables precise control over UI elements like popups, modals, and embeds without switching platforms.
Aligns with user requests for custom code support (e.g., similar to past asks for HTML widgets or script embeds).
Could be implemented as an optional "Advanced" tab in the editor, with safeguards like code validation to prevent errors.
I'd appreciate if the team could prioritize this, perhaps starting with CSS injection and expanding to JS. Thanks for considering!