]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.theme.switching: adding back light-mode and dark-mode.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 12 May 2016 01:32:33 +0000 (18:32 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 12 May 2016 01:32:33 +0000 (18:32 -0700)
basis/ui/theme/switching/switching.factor

index ef36c58bf378c24de508e387e77469a2e45cd5f9..1b5083a000f280b55e60896d6d541a74da51907a 100644 (file)
@@ -55,3 +55,7 @@ PRIVATE>
 
 : switch-theme ( theme -- )
     theme set-global update-stylesheet ;
+
+: light-mode ( -- ) light-theme switch-theme ;
+
+: dark-mode ( -- ) dark-theme switch-theme ;