mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 13:04:06 +00:00
Clearer button UX
This commit is contained in:
parent
cf5e13f5a0
commit
3b1aca2958
2 changed files with 4 additions and 4 deletions
|
|
@ -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),
|
||||||
|
|
|
||||||
|
|
@ -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),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue