mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-08 07:30:34 -04:00
Add colors utilities
Local function get_base_color(), conversions hex <=> rgb, rgb color mixer, and global function get_color()
This commit is contained in:
parent
2111db2ff9
commit
0b3497eb2f
15 changed files with 80 additions and 39 deletions
|
@ -15,7 +15,7 @@ function mail.show_message(name, id)
|
|||
local formspec = [[
|
||||
size[8,9]
|
||||
|
||||
box[0,0;7,1.9;]] .. mail.colors.highlighted .. [[]
|
||||
box[0,0;7,1.9;]] .. mail.get_color("H") .. [[]
|
||||
|
||||
button[7.25,0.15;0.75,0.5;back;X]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue