Refactor stylsheets code a bit to load the global stylsheet
for all modules. Implement the links sidebar per discussion with Eben.master
parent
e098bdf8eb
commit
fafa1ae35e
@ -0,0 +1,4 @@
|
||||
from sugar.graphics import style
|
||||
from sugar.graphics import stylesheet
|
||||
|
||||
style.load_stylesheet(stylesheet)
|
@ -0,0 +1,21 @@
|
||||
from sugar.graphics import style
|
||||
|
||||
menu = {
|
||||
'background_color' : 0x000000FF,
|
||||
'spacing' : style.space_unit,
|
||||
'padding' : style.space_unit
|
||||
}
|
||||
|
||||
menu_Title = {
|
||||
'color' : 0xFFFFFFFF,
|
||||
'font' : style.get_font_description('Bold', 1.2)
|
||||
}
|
||||
|
||||
menu_Separator = {
|
||||
'background_color' : 0xFFFFFFFF,
|
||||
'box_height' : style.separator_thickness
|
||||
}
|
||||
|
||||
menu_ActionIcon = {
|
||||
'size' : style.standard_icon_size
|
||||
}
|
Loading…
Reference in New Issue