mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Add warning theming and reject confirmation dialog to ConfirmingPage
- Introduced a new 'Warning' style in the theme for buttons, enhancing visual feedback for destructive actions. - Updated the ConfirmingPage to include a reject confirmation dialog, allowing users to confirm their decision before rejecting changes. - Adjusted button styles in the confirmation dialog to reflect the new warning theming, improving consistency and user experience.
This commit is contained in:
parent
a1cba88b94
commit
06d5ff4d80
3 changed files with 99 additions and 15 deletions
|
|
@ -95,7 +95,7 @@ function TextButton:render()
|
|||
BackgroundTransparency = 1,
|
||||
}),
|
||||
|
||||
Border = style == "Bordered" and e(SlicedImage, {
|
||||
Border = (style == "Bordered") and e(SlicedImage, {
|
||||
slice = Assets.Slices.RoundedBorder,
|
||||
color = bindingUtil.mapLerp(
|
||||
bindingEnabled,
|
||||
|
|
@ -130,7 +130,7 @@ function TextButton:render()
|
|||
zIndex = -1,
|
||||
}),
|
||||
|
||||
Background = style == "Solid" and e(SlicedImage, {
|
||||
Background = (style == "Solid" or style == "Warning") and e(SlicedImage, {
|
||||
slice = Assets.Slices.RoundedBackground,
|
||||
color = bindingUtil.mapLerp(
|
||||
bindingEnabled,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue