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:
Joe 2026-01-24 04:52:59 -06:00
parent a1cba88b94
commit 06d5ff4d80
3 changed files with 99 additions and 15 deletions

View file

@ -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,