func ReloadTheme(name string) {
	if name == defaultTheme {
		// default theme cannot be reloaded
		return
	}

	thememtx.Lock()
	if _, ok := themeManager.themes[name]; ok {
		delete(themeManager.themes, name)
	}
	thememtx.Unlock()

	themeManager.loadTheme(name)
}
func ReloadTheme(name string) {
	if name == defaultTheme {
		
		return
	}

	thememtx.Lock()
	if _, ok := themeManager.themes[name]; ok {
		delete(themeManager.themes, name)
	}
	thememtx.Unlock()

	themeManager.loadTheme(name)
}
func ReloadTheme ( name string ) { if name == defaultTheme { // default theme cannot be reloaded return } thememtx . Lock ( ) if _ , ok := themeManager . themes [ name ] ; ok { delete ( themeManager . themes , name ) } thememtx . Unlock ( ) themeManager . loadTheme ( name ) }
// ReloadTheme refresh cache entry for the theme with new
// data loaded from file. Use it to apply theme changes on
// the fly without resetting manager or restarting application
ReloadTheme refresh cache entry for the theme with new data loaded from file . Use it to apply theme changes on the fly without resetting manager or restarting application