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
|
@ -23,7 +23,7 @@ function mail.show_settings(name)
|
|||
tablecolumns[text]
|
||||
table[0,0.775;3,4.5;groups;]] .. groups_str .. [[;]] .. group_index .. [[]
|
||||
|
||||
box[3.5,0.8;3,0.45;]] .. mail.colors.highlighted .. [[]
|
||||
box[3.5,0.8;3,0.45;]] .. mail.get_color("H") .. [[]
|
||||
label[3.7,0.8;]] .. mail.settings_groups[group_index].label .. [[]
|
||||
|
||||
button[0,5.65;2.5,0.5;reset;]] .. S("Reset") .. [[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue