Class: Flowbite::Button::Outline
- Inherits:
-
Flowbite::Button
- Object
- ViewComponent::Base
- Flowbite::Button
- Flowbite::Button::Outline
- Defined in:
- app/components/flowbite/button/outline.rb
Constant Summary
Constants inherited from Flowbite::Button
Instance Attribute Summary
Attributes inherited from Flowbite::Button
#button_attributes, #size, #style
Class Method Summary collapse
-
.styles ⇒ Object
rubocop:disable Layout/LineLength.
Methods inherited from Flowbite::Button
#call, classes, #initialize, sizes
Constructor Details
This class inherits a constructor from Flowbite::Button
Class Method Details
.styles ⇒ Object
rubocop:disable Layout/LineLength
8 9 10 11 12 13 14 15 16 17 |
# File 'app/components/flowbite/button/outline.rb', line 8 def styles { default: Flowbite::Style.new( default: ["text-blue-700", "hover:text-white", "border", "border-blue-700", "hover:bg-blue-800", "focus:ring-4", "focus:outline-none", "focus:ring-blue-300", "font-medium", "rounded-lg", "text-center", "me-2", "mb-2", "dark:border-blue-500", "dark:text-blue-500", "dark:hover:text-white", "dark:hover:bg-blue-500", "dark:focus:ring-blue-800"] ), green: Flowbite::Style.new( default: ["text-green-700", "hover:text-white", "border", "border-green-700", "hover:bg-green-800", "focus:ring-4", "focus:outline-none", "focus:ring-green-300", "font-medium", "rounded-lg", "text-center", "me-2", "mb-2", "dark:border-green-500", "dark:text-green-500", "dark:hover:text-white", "dark:hover:bg-green-600", "dark:focus:ring-green-800"] ) } end |