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
|
|
@ -75,6 +75,19 @@ function StudioProvider:updateTheme()
|
|||
BackgroundColor = BRAND_COLOR,
|
||||
},
|
||||
},
|
||||
Warning = {
|
||||
-- Warning uses orange theming for destructive actions.
|
||||
ActionFillColor = Color3.fromHex("FFFFFF"),
|
||||
ActionFillTransparency = 0.8,
|
||||
Enabled = {
|
||||
TextColor = Color3.fromHex("FFFFFF"),
|
||||
BackgroundColor = Color3.fromHex("E67E22"),
|
||||
},
|
||||
Disabled = {
|
||||
TextColor = Color3.fromHex("FFFFFF"),
|
||||
BackgroundColor = Color3.fromHex("B5651D"),
|
||||
},
|
||||
},
|
||||
Bordered = {
|
||||
ActionFillColor = studioTheme:GetColor(
|
||||
Enum.StudioStyleGuideColor.ButtonText,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue