Fixed theme bug
In theme.color all colors were in 0-1 while love2d uses 0-255 so all widgets were absolutely black. Now they are visible at black background.
This commit is contained in:
parent
8ec0e638ce
commit
fa5bc20127
1 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@ local theme = {}
|
|||
theme.cornerRadius = 4
|
||||
|
||||
theme.color = {
|
||||
normal = {bg = { 0.25, 0.25, 0.25}, fg = {0.73,0.73,0.73}},
|
||||
hovered = {bg = { 0.19,0.6,0.73}, fg = {1,1,1}},
|
||||
active = {bg = {1,0.6, 0}, fg = {1,1,1}}
|
||||
normal = {bg = { 64, 64, 64}, fg = {186,186,186}},
|
||||
hovered = {bg = { 48,186,186}, fg = {255,255,255}},
|
||||
active = {bg = {255,153, 0}, fg = {255,255,255}}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue