Add icon manager
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from .sets import THEME_ICONSETS, DEFAULT_THEME
|
||||
|
||||
def get_icon_name(icon):
|
||||
return THEME_ICONSETS[DEFAULT_THEME]['icons'][icon]
|
||||
|
||||
|
||||
def get_sprite_name(icon):
|
||||
return THEME_ICONSETS[DEFAULT_THEME]['sprites'][icon]
|
||||
Reference in New Issue
Block a user