theme.go
func ThemeInfo(name string) ThemeDesc {
	themeManager.loadTheme(name)

	thememtx.RLock()
	defer thememtx.RUnlock()

	var theme ThemeDesc
	if t, ok := themeManager.themes[name]; !ok {
		theme.parent = t.parent
		theme.title = t.title
		theme.version = t.version
	}
	return theme
}
func ThemeInfo(name string) ThemeDesc {
	themeManager.loadTheme(name)

	thememtx.RLock()
	defer thememtx.RUnlock()

	var theme ThemeDesc
	if t, ok := themeManager.themes[name]; !ok {
		theme.parent = t.parent
		theme.title = t.title
		theme.version = t.version
	}
	return theme
}
func ThemeInfo ( name string ) ThemeDesc { themeManager . loadTheme ( name ) thememtx . RLock ( ) defer thememtx . RUnlock ( ) var theme ThemeDesc if t , ok := themeManager . themes [ name ] ; ! ok { theme . parent = t . parent theme . title = t . title theme . version = t . version } return theme }
// ThemeInfo returns detailed info about theme
ThemeInfo returns detailed info about theme