This does not check the system at all, but merely swaps between the specified
dark and light theme. If the editor theme has been set to a theme other than
the ones specified by the DARKLY_LIGHT_THEME
and DARKLY_DARK_THEME
environment variables, darkly_toggle() will change the appearance to the
light theme.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.