Are there any possible ways to customize the styling of RunKit (https://runkit.com)? Like make the background of the editor to dark theme.
I tried injecting styles to the RunKit iframe but it does not work. Looking for any suggestions or any solutions.
1. Summary
Use RunKit theme maker.
It not documented for June 2019.
2. Demonstration
Gutter line numbers in left side has a bad visible.
I edit
Textparameter in theme-maker.(But besides line numbers RunKit also change text color of my notebook.)
3. Disclaimer
Data of this answer were relevant in June 2019 and may be obsolete in the future.
Method of this answer is uncomfortable, and I very hope that in the future there will be another.
4. Note
You can't overwrite embed RunKit and any another iframe styles of another domain via CSS:
5. Sources
5.1. Without styles
I attach RunKit to existing element.
5.2. With styles
I programmaticaly create a notebook. Options:
element— HTML element, for which you will apply RunKit.source— full source of your RunKit notebook; use\nfor line breaking.syntaxTheme— theme, that you create.JavaScript code you find in your theme-maker page.
6. Problems
You can have these problems, when you edit your theme via theme-maker:
7. Extra links
themeandgutterStyleproperties