Hi everyone,
I'm trying to apply a custom stylesheet to a form built in the Modern Form Designer. The goal is maintainability. Keep one branded CSS file as the single source of truth (hosted on our Forms server) and want several forms to reference it, instead of pasting the full stylesheet into each form's Theme/Styles panel.
What I've tried
- @import url("...") inside the CSS/Styles panel
- A Javascript snippet that creates a <link rel="stylesheet"> and appends it to <head>
- A Custom HTML element containing the script to inject the <link>
My questions
- Is there any supported way to reference an extrenal CSS files in the Modern Designer, or is inline CSS in Theme/Styles panel genuinely the only option?
- For Teams that fully adopted the Modern Designer: how do you maintain shared branding CSS across many forms without manually copy-pasting the same stylesheet everywhere?
- Has anyone found a workable pattern to keep stylesheet centralized?
Any guidance is appreciated,
Thanks!