mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Update theme: testing and dangerous buttons now have slight gradient
This commit is contained in:
22
lib/theme.rb
22
lib/theme.rb
@@ -7,12 +7,28 @@ class W3DHub
|
||||
MAX_PAGE_WIDTH = 1200
|
||||
|
||||
TESTING_BUTTON = {
|
||||
background: 0xff_ff8800,
|
||||
background: 0xff_ff8800..0xff_dd6600,
|
||||
border_color: Gosu::Color::NONE,
|
||||
hover: {
|
||||
background: 0xff_ffaa00
|
||||
background: 0xff_dd6600..0xff_bb4400,
|
||||
border_color: 0xff_ff8800,
|
||||
},
|
||||
active: {
|
||||
background: 0xff_ffec00
|
||||
background: 0xff_bb4400..0xff_dd6600,
|
||||
border_color: 0xff_ff8800
|
||||
}
|
||||
}
|
||||
|
||||
DANGEROUS_BUTTON = {
|
||||
background: 0xff_800000..0xff_600000,
|
||||
border_color: Gosu::Color::NONE,
|
||||
hover: {
|
||||
background: 0xff_600000..0xff_400000,
|
||||
border_color: 0xff_800000,
|
||||
},
|
||||
active: {
|
||||
background: 0xff_400000..0xff_600000,
|
||||
border_color: 0xff_800000
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user