mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Add notification popups (#540)
* Add notifications prototype * Add timeout * Improve function name * Faster timeouts and fully clickable * Update remove padding from old X button * Only auto-dismiss when viewport is open * Start auto dismiss once viewed * Avoid redundantly displaying widget text as notifs * Add sound effect * Add setting for notifications * Remove duplicate PluginSettings.StudioProvider * Use short pop sound effect * Fix broken audio, thanks Roblox * Use e instead of createElement
This commit is contained in:
parent
f1cdf2fe79
commit
ca0759a011
9 changed files with 293 additions and 10 deletions
|
|
@ -103,6 +103,10 @@ local lightTheme = strict("LightTheme", {
|
|||
LogoColor = BRAND_COLOR,
|
||||
VersionColor = hexColor(0x727272),
|
||||
},
|
||||
Notification = {
|
||||
InfoColor = hexColor(0x00000),
|
||||
CloseColor = BRAND_COLOR,
|
||||
},
|
||||
ErrorColor = hexColor(0x000000),
|
||||
ScrollBarColor = hexColor(0x000000),
|
||||
})
|
||||
|
|
@ -177,6 +181,10 @@ local darkTheme = strict("DarkTheme", {
|
|||
LogoColor = BRAND_COLOR,
|
||||
VersionColor = hexColor(0xD3D3D3)
|
||||
},
|
||||
Notification = {
|
||||
InfoColor = hexColor(0xFFFFFF),
|
||||
CloseColor = hexColor(0xFFFFFF),
|
||||
},
|
||||
ErrorColor = hexColor(0xFFFFFF),
|
||||
ScrollBarColor = hexColor(0xFFFFFF),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue