mariohmol / ang-jsoneditor

Angular Jsoneditor that works with angular 4 to angular 15
https://stackblitz.com/edit/angular-json-editor
MIT License
155 stars 89 forks source link

How does one set the theme? #131

Closed matthew-g-austin closed 8 months ago

matthew-g-austin commented 9 months ago

How do you set the theme? The theme option in the editoroptions is a number type. What are the possible values? I get a blank editor if I set it to anything other than 0. Is there a way to set the theme to one of the Ace supported themes?

mariohmol commented 8 months ago

Hi there, thats a good question. I've never used the teme option, and this warpper basically pass the theme to the root component

Maybe for the custom styling try to get some example for the jsoneditor component?

https://github.com/josdejong/jsoneditor/blob/develop/examples/06_custom_styling.html

if u have some working example with themes and native jsoneditor, and it doesnt work in this wrapper.. please reopen the ticket