Skip to content

Is there a way to choose a default look&feel #203

Discussion options

You must be logged in to vote

You could do this via accessing window.LIA.settings. All settings there mirror the user settings and can be inspected and modified ... however the user can change them back ;-)

<!--
dark: true

@onload
window.LIA.settings.editor = "dreamweaver"
window.LIA.settings.theme = "red"
@end
-->

# My Custom Settings

```javascript
// all settings are also accessable via the LIA object
console.log(window.LIA.settings)

// change the editor theme
window.LIA.settings.editor = "ambiance"
```
<script>@input</script>

Live Example

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tilman-schieber
Comment options

Answer selected by tilman-schieber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants