ui.theme.switching: adding some docs.
parent
26e26599bd
commit
8a09779e3e
|
@ -0,0 +1,12 @@
|
||||||
|
USING: help.markup help.syntax ui.theme ;
|
||||||
|
IN: ui.theme.switching
|
||||||
|
|
||||||
|
HELP: switch-theme
|
||||||
|
{ $values { "theme" "theme" } }
|
||||||
|
{ $description "Switch to a new theme." }
|
||||||
|
{ $examples
|
||||||
|
"To switch to a " { $link light-theme } ":"
|
||||||
|
{ $code "USING: ui.theme ui.theme.switching ;" "light-theme switch-theme" }
|
||||||
|
"To switch to a " { $link dark-theme } ":"
|
||||||
|
{ $code "USING: ui.theme ui.theme.switching ;" "dark-theme switch-theme" }
|
||||||
|
} ;
|
Loading…
Reference in New Issue