added toggleTheme(...), still need to write the CSS for the themes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-05-17 17:58:23 +04:00
parent 5267e018ad
commit 3861f5ff89
3 changed files with 12 additions and 0 deletions

View File

@ -46,6 +46,9 @@ var MARKED = []
var IMAGE_CACHE = []
var SETTINGS = {
}
/**********************************************************************

View File

@ -300,6 +300,8 @@ DEBUG = true
// setup...
$(function(){
toggleTheme('light')
//setElementOrigin($('.ribbon-set'), 'top', 'left')
if('DATA' in localStorage){

View File

@ -24,6 +24,13 @@ var toggleSingleImageMode = createCSSClassToggler('.viewer',
})
var toggleTheme = createCSSClassToggler('.viewer',
[
'dark',
'gray',
'light'
])
/**********************************************************************