Skip to content

Commit

Permalink
Add submit styling
Browse files Browse the repository at this point in the history
  • Loading branch information
joelzwarrington committed Oct 20, 2024
1 parent d829ecd commit 856d3a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/atomic_view/components/submit_component.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module AtomicView
module Components
class SubmitComponent < ViewComponent::Form::SubmitComponent
def html_class
"cursor-pointer rounded-md bg-green-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-green-600/90 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-green-700"
end
end
end
end

0 comments on commit 856d3a9

Please sign in to comment.