Clearer button UX

This commit is contained in:
boatbomber 2023-01-05 10:58:26 -05:00
parent cf5e13f5a0
commit 3b1aca2958
2 changed files with 4 additions and 4 deletions

View file

@ -72,7 +72,7 @@ function Listing:render()
}, { }, {
Icon = e("ImageLabel", { Icon = e("ImageLabel", {
Image = Assets.Images.Icons.Settings, Image = Assets.Images.Icons.Settings,
ImageColor3 = theme.Inactive.IconColor, ImageColor3 = theme.Active.IconColor,
ImageTransparency = self.props.transparency, ImageTransparency = self.props.transparency,
Size = UDim2.new(0, 16, 0, 16), Size = UDim2.new(0, 16, 0, 16),

View file

@ -115,14 +115,14 @@ function SettingsPage:render()
Button = Theme.with(function(theme) Button = Theme.with(function(theme)
theme = theme.Checkbox theme = theme.Checkbox
return e(SlicedImage, { return e(SlicedImage, {
slice = Assets.Slices.RoundedBorder, slice = Assets.Slices.RoundedBackground,
color = theme.Inactive.BorderColor, color = theme.Active.BackgroundColor,
transparency = self.props.transparency, transparency = self.props.transparency,
size = UDim2.new(1, 0, 1, 0), size = UDim2.new(1, 0, 1, 0),
}, { }, {
Icon = e("ImageLabel", { Icon = e("ImageLabel", {
Image = Assets.Images.Icons.Expand, Image = Assets.Images.Icons.Expand,
ImageColor3 = theme.Inactive.IconColor, ImageColor3 = theme.Active.IconColor,
ImageTransparency = self.props.transparency, ImageTransparency = self.props.transparency,
Size = UDim2.new(0, 16, 0, 16), Size = UDim2.new(0, 16, 0, 16),