Skip to content

Commit

Permalink
feat(components): add a pressed button style effect
Browse files Browse the repository at this point in the history
  • Loading branch information
desmondinho committed Jun 1, 2024
1 parent 1221c31 commit f1a6b43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/LumexUI/Styles/Button.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ internal readonly record struct Button
.Add( "min-w-max" )
.Add( "subpixel-antialiased" )
.Add( "overflow-hidden" )
.Add( "hover:opacity-80" )
.Add( "active:scale-[0.98]" )
.Add( "transition-transform-colors-opacity" )
.Add( "motion-reduce:transition-none" )
.ToString();

private readonly static string _disabled = ElementClass.Empty()
Expand Down

0 comments on commit f1a6b43

Please sign in to comment.