Inline <style> elements violates style-src Content Security Policy
See https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives#style-src
In order to address this, there would need to be build-time tooling to let people generate their own theme css outputs.
Would be nice if there was also a gulp plugin for this
@Emeegeemee fixed the <style> element issue in #6691, but there are still inline style attributes that are potentially a problem in: slider, tabs, and two in util.js here and here
I found a few more violations with using *.setAttribute('style', *) in MenuBarController and util.js.
I believe I've fixed all the unsafe-inline violations in this commit, but will do another check and update any tests before sending a pull request next week.
In case anyone wants to test out the doc site with CSP enabled, I created this commit for reference.
This should now be resolved by the two commits from @Emeegeemee