ui.theme.switching: adding some docs.

locals-and-roots
John Benediktsson 2016-05-11 18:06:47 -07:00
parent 26e26599bd
commit 8a09779e3e
1 changed files with 12 additions and 0 deletions

View File

@ -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" }
} ;