railsui 3.1.4 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.claude/settings.local.json +10 -0
- data/Gemfile.lock +29 -27
- data/README.md +1 -1
- data/app/assets/images/tailwind-corgie-thumbnail.jpg +0 -0
- data/app/assets/stylesheets/railsui/railsui.css +18 -0
- data/app/helpers/railsui/application_helper.rb +22 -17
- data/app/helpers/railsui/host_route_fallback_helper.rb +18 -0
- data/app/javascript/controllers/alert_controller.js +0 -0
- data/app/models/railsui/default.rb +28 -109
- data/app/views/railsui/admin/fields/_color.html.erb +6 -1
- data/app/views/railsui/admin/fields/_theme.html.erb +16 -8
- data/app/views/railsui/default/_launchpad.html.erb +1 -1
- data/app/views/railsui/shared/_flash_messages.html.erb +2 -2
- data/app/views/railsui/shared/_full_access_cta.html.erb +27 -0
- data/app/views/railsui/shared/_global_nav.html.erb +2 -2
- data/app/views/railsui/shared/_preview.html.erb +1 -1
- data/app/views/railsui/shared/_rui_email_preview.html.erb +60 -3
- data/app/views/railsui/systems/forms/form_builder.html.erb +171 -0
- data/app/views/railsui/themes/corgie/_components.html.erb +7 -0
- data/app/views/railsui/themes/corgie/_content.html.erb +9 -0
- data/app/views/railsui/themes/corgie/_fonts.html.erb +0 -0
- data/app/views/railsui/themes/corgie/_forms.html.erb +19 -0
- data/app/views/railsui/themes/corgie/_icons.html.erb +125 -0
- data/app/views/railsui/themes/corgie/_nav.html.erb +166 -0
- data/app/views/railsui/themes/corgie/_scaffolds.html.erb +42 -0
- data/app/views/railsui/themes/corgie/authentication/_overview.html.erb +5 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_change_password.html.erb +74 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_confirmation.html.erb +63 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_edit.html.erb +103 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_overview.html.erb +225 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_reset_password.html.erb +60 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_signin.html.erb +93 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_signup.html.erb +98 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_unlocks.html.erb +60 -0
- data/app/views/railsui/themes/corgie/authentication/static/_change_password.html.erb +67 -0
- data/app/views/railsui/themes/corgie/authentication/static/_confirmation.html.erb +58 -0
- data/app/views/railsui/themes/corgie/authentication/static/_overview.html.erb +204 -0
- data/app/views/railsui/themes/corgie/authentication/static/_reset_password.html.erb +59 -0
- data/app/views/railsui/themes/corgie/authentication/static/_signin.html.erb +102 -0
- data/app/views/railsui/themes/corgie/authentication/static/_signup.html.erb +108 -0
- data/app/views/railsui/themes/corgie/authentication/static/_unlocks.html.erb +60 -0
- data/app/views/railsui/themes/corgie/components/_accordion.html.erb +17 -0
- data/app/views/railsui/themes/corgie/components/_alert.html.erb +23 -0
- data/app/views/railsui/themes/corgie/components/_avatar.html.erb +13 -0
- data/app/views/railsui/themes/corgie/components/_badge.html.erb +20 -0
- data/app/views/railsui/themes/corgie/components/_breadcrumb.html.erb +14 -0
- data/app/views/railsui/themes/corgie/components/_button.html.erb +16 -0
- data/app/views/railsui/themes/corgie/components/_card.html.erb +23 -0
- data/app/views/railsui/themes/corgie/components/_combobox.html.erb +11 -0
- data/app/views/railsui/themes/corgie/components/_dropdown.html.erb +22 -0
- data/app/views/railsui/themes/corgie/components/_flash.html.erb +17 -0
- data/app/views/railsui/themes/corgie/components/_modal.html.erb +27 -0
- data/app/views/railsui/themes/corgie/components/_navigation.html.erb +7 -0
- data/app/views/railsui/themes/corgie/components/_pagination.html.erb +15 -0
- data/app/views/railsui/themes/corgie/components/_tab.html.erb +23 -0
- data/app/views/railsui/themes/corgie/components/_toast.html.erb +75 -0
- data/app/views/railsui/themes/corgie/components/_tooltip.html.erb +77 -0
- data/app/views/railsui/themes/corgie/components/accordion/_contained.html.erb +90 -0
- data/app/views/railsui/themes/corgie/components/accordion/_flush.html.erb +92 -0
- data/app/views/railsui/themes/corgie/components/alert/_dismissable.html.erb +45 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_accent_border.html.erb +32 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_actions.html.erb +57 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_description.html.erb +41 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_list.html.erb +46 -0
- data/app/views/railsui/themes/corgie/components/avatar/_circle.html.erb +53 -0
- data/app/views/railsui/themes/corgie/components/avatar/_rounded.html.erb +53 -0
- data/app/views/railsui/themes/corgie/components/badge/_basic.html.erb +70 -0
- data/app/views/railsui/themes/corgie/components/badge/_outline.html.erb +67 -0
- data/app/views/railsui/themes/corgie/components/badge/_pill.html.erb +67 -0
- data/app/views/railsui/themes/corgie/components/badge/_tag.html.erb +277 -0
- data/app/views/railsui/themes/corgie/components/breadcrumb/_article.html.erb +88 -0
- data/app/views/railsui/themes/corgie/components/breadcrumb/_base.html.erb +77 -0
- data/app/views/railsui/themes/corgie/components/button/_base.html.erb +38 -0
- data/app/views/railsui/themes/corgie/components/button/_expanded.html.erb +24 -0
- data/app/views/railsui/themes/corgie/components/button/_sizes.html.erb +31 -0
- data/app/views/railsui/themes/corgie/components/card/_article.html.erb +119 -0
- data/app/views/railsui/themes/corgie/components/card/_base.html.erb +34 -0
- data/app/views/railsui/themes/corgie/components/card/_feature.html.erb +54 -0
- data/app/views/railsui/themes/corgie/components/card/_team_member.html.erb +60 -0
- data/app/views/railsui/themes/corgie/components/card/_value.html.erb +54 -0
- data/app/views/railsui/themes/corgie/components/combobox/_base.html.erb +250 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_base.html.erb +61 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_dropdown.html.erb +24 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_dropdown_w_icon.html.erb +27 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_right_aligned.html.erb +82 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_with_dividers.html.erb +93 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_with_icons.html.erb +85 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_1.html.erb +44 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_2.html.erb +16 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_3.html.erb +16 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_4.html.erb +27 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_dependencies.html.erb +3 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_tutorial.html.erb +25 -0
- data/app/views/railsui/themes/corgie/components/flash/_alert.html.erb +29 -0
- data/app/views/railsui/themes/corgie/components/flash/_dynamic.html.erb +46 -0
- data/app/views/railsui/themes/corgie/components/flash/_notice.html.erb +29 -0
- data/app/views/railsui/themes/corgie/components/modal/_base.html.erb +110 -0
- data/app/views/railsui/themes/corgie/components/modal/_centered_dual_action.html.erb +124 -0
- data/app/views/railsui/themes/corgie/components/modal/_dismiss_icon.html.erb +124 -0
- data/app/views/railsui/themes/corgie/components/modal/_settings.html.erb +201 -0
- data/app/views/railsui/themes/corgie/components/modal/_single_action.html.erb +119 -0
- data/app/views/railsui/themes/corgie/components/modal/_with_form.html.erb +148 -0
- data/app/views/railsui/themes/corgie/components/navigation/_base.html.erb +215 -0
- data/app/views/railsui/themes/corgie/components/navigation/_chat.html.erb +194 -0
- data/app/views/railsui/themes/corgie/components/navigation/_nav_preview.html.erb +9 -0
- data/app/views/railsui/themes/corgie/components/pagination/_contained.html.erb +131 -0
- data/app/views/railsui/themes/corgie/components/pagination/_pagy.html.erb +97 -0
- data/app/views/railsui/themes/corgie/components/pagination/_simple.html.erb +114 -0
- data/app/views/railsui/themes/corgie/components/tab/_base.html.erb +101 -0
- data/app/views/railsui/themes/corgie/components/tab/_pills.html.erb +102 -0
- data/app/views/railsui/themes/corgie/components/tab/_rounded.html.erb +104 -0
- data/app/views/railsui/themes/corgie/components/tab/_vertical.html.erb +145 -0
- data/app/views/railsui/themes/corgie/components/tab/_with_icons.html.erb +138 -0
- data/app/views/railsui/themes/corgie/components/toast/_base.html.erb +98 -0
- data/app/views/railsui/themes/corgie/components/tooltip/_base.html.erb +51 -0
- data/app/views/railsui/themes/corgie/content/_image.html.erb +31 -0
- data/app/views/railsui/themes/corgie/content/_table.html.erb +21 -0
- data/app/views/railsui/themes/corgie/content/_typography.html.erb +47 -0
- data/app/views/railsui/themes/corgie/content/image/_object_contain.html.erb +31 -0
- data/app/views/railsui/themes/corgie/content/image/_object_cover.html.erb +32 -0
- data/app/views/railsui/themes/corgie/content/image/_object_fill.html.erb +32 -0
- data/app/views/railsui/themes/corgie/content/image/_object_scale_down.html.erb +34 -0
- data/app/views/railsui/themes/corgie/content/image/_responsive.html.erb +24 -0
- data/app/views/railsui/themes/corgie/content/table/_bordered.html.erb +93 -0
- data/app/views/railsui/themes/corgie/content/table/_borderless.html.erb +92 -0
- data/app/views/railsui/themes/corgie/content/table/_comparison.html.erb +494 -0
- data/app/views/railsui/themes/corgie/content/typography/_blockquote.html.erb +41 -0
- data/app/views/railsui/themes/corgie/content/typography/_display_headings.html.erb +70 -0
- data/app/views/railsui/themes/corgie/content/typography/_fonts.html.erb +30 -0
- data/app/views/railsui/themes/corgie/content/typography/_headings.html.erb +88 -0
- data/app/views/railsui/themes/corgie/content/typography/_inline_formatting.html.erb +44 -0
- data/app/views/railsui/themes/corgie/content/typography/_lead_paragraph.html.erb +26 -0
- data/app/views/railsui/themes/corgie/content/typography/_lists.html.erb +82 -0
- data/app/views/railsui/themes/corgie/content/typography/_paragraphs.html.erb +33 -0
- data/app/views/railsui/themes/corgie/forms/_action_text.html.erb +54 -0
- data/app/views/railsui/themes/corgie/forms/_checkbox.html.erb +60 -0
- data/app/views/railsui/themes/corgie/forms/_form_builder.html.erb +487 -0
- data/app/views/railsui/themes/corgie/forms/_input.html.erb +378 -0
- data/app/views/railsui/themes/corgie/forms/_input_group.html.erb +485 -0
- data/app/views/railsui/themes/corgie/forms/_radio.html.erb +92 -0
- data/app/views/railsui/themes/corgie/forms/_select.html.erb +118 -0
- data/app/views/railsui/themes/corgie/forms/_switch.html.erb +60 -0
- data/app/views/railsui/themes/corgie/forms/_validation.html.erb +52 -0
- data/app/views/railsui/themes/corgie/mailers/_devise.html.erb +44 -0
- data/app/views/railsui/themes/corgie/mailers/_layout.html.erb +536 -0
- data/app/views/railsui/themes/corgie/mailers/_mailer_preview.html.erb +523 -0
- data/app/views/railsui/themes/corgie/mailers/_minimal.html.erb +63 -0
- data/app/views/railsui/themes/corgie/mailers/_promotion.html.erb +62 -0
- data/app/views/railsui/themes/corgie/mailers/_transactional.html.erb +133 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_confirmation_instructions.html.erb +34 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_email_changed.html.erb +32 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_password_changed.html.erb +25 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_reset_password_instructions.html.erb +33 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_unlock_instructions.html.erb +32 -0
- data/app/views/railsui/themes/corgie/scaffolds/_edit.html.erb +88 -0
- data/app/views/railsui/themes/corgie/scaffolds/_index.html.erb +88 -0
- data/app/views/railsui/themes/corgie/scaffolds/_new.html.erb +80 -0
- data/app/views/railsui/themes/corgie/scaffolds/_partial.html.erb +56 -0
- data/app/views/railsui/themes/corgie/scaffolds/_show.html.erb +85 -0
- data/app/views/railsui/themes/hound/_forms.html.erb +2 -0
- data/app/views/railsui/themes/hound/_nav.html.erb +2 -0
- data/app/views/railsui/themes/hound/authentication/devise/_change_password.html.erb +1 -27
- data/app/views/railsui/themes/hound/authentication/devise/_confirmation.html.erb +1 -20
- data/app/views/railsui/themes/hound/authentication/devise/_edit.html.erb +1 -44
- data/app/views/railsui/themes/hound/authentication/devise/_overview.html.erb +3 -51
- data/app/views/railsui/themes/hound/authentication/devise/_reset_password.html.erb +1 -17
- data/app/views/railsui/themes/hound/authentication/devise/_signin.html.erb +1 -30
- data/app/views/railsui/themes/hound/authentication/devise/_signup.html.erb +1 -31
- data/app/views/railsui/themes/hound/authentication/devise/_unlocks.html.erb +1 -17
- data/app/views/railsui/themes/hound/authentication/static/_change_password.html.erb +1 -32
- data/app/views/railsui/themes/hound/authentication/static/_confirmation.html.erb +1 -23
- data/app/views/railsui/themes/hound/authentication/static/_edit.html.erb +1 -39
- data/app/views/railsui/themes/hound/authentication/static/_overview.html.erb +2 -40
- data/app/views/railsui/themes/hound/authentication/static/_reset_password.html.erb +1 -22
- data/app/views/railsui/themes/hound/authentication/static/_signin.html.erb +1 -35
- data/app/views/railsui/themes/hound/authentication/static/_signup.html.erb +1 -31
- data/app/views/railsui/themes/hound/authentication/static/_unlocks.html.erb +1 -20
- data/app/views/railsui/themes/hound/components/_toast.html.erb +0 -3
- data/app/views/railsui/themes/hound/components/accordion/_contained.html.erb +0 -27
- data/app/views/railsui/themes/hound/components/accordion/_flush.html.erb +0 -27
- data/app/views/railsui/themes/hound/components/alert/_dismissable.html.erb +0 -8
- data/app/views/railsui/themes/hound/components/alert/_with_accent_border.html.erb +0 -7
- data/app/views/railsui/themes/hound/components/alert/_with_actions.html.erb +0 -11
- data/app/views/railsui/themes/hound/components/alert/_with_description.html.erb +0 -7
- data/app/views/railsui/themes/hound/components/alert/_with_list.html.erb +0 -8
- data/app/views/railsui/themes/hound/components/avatar/_circle.html.erb +0 -12
- data/app/views/railsui/themes/hound/components/avatar/_rounded.html.erb +0 -12
- data/app/views/railsui/themes/hound/components/badge/_basic.html.erb +0 -22
- data/app/views/railsui/themes/hound/components/badge/_outline.html.erb +0 -22
- data/app/views/railsui/themes/hound/components/badge/_pill.html.erb +0 -22
- data/app/views/railsui/themes/hound/components/badge/_tag.html.erb +0 -52
- data/app/views/railsui/themes/hound/components/breadcrumb/_base.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/breadcrumb/_contained.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/button/_base.html.erb +0 -10
- data/app/views/railsui/themes/hound/components/button/_expanded.html.erb +0 -3
- data/app/views/railsui/themes/hound/components/button/_sizes.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/card/_base.html.erb +0 -6
- data/app/views/railsui/themes/hound/components/card/_user_card.html.erb +0 -13
- data/app/views/railsui/themes/hound/components/card/_user_card_dropdown.html.erb +0 -20
- data/app/views/railsui/themes/hound/components/card/_user_card_with_actions.html.erb +0 -18
- data/app/views/railsui/themes/hound/components/card/_with_action.html.erb +0 -13
- data/app/views/railsui/themes/hound/components/card/_with_header.html.erb +0 -43
- data/app/views/railsui/themes/hound/components/combobox/_base.html.erb +0 -40
- data/app/views/railsui/themes/hound/components/dropdown/_base.html.erb +0 -10
- data/app/views/railsui/themes/hound/components/dropdown/_right_aligned.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/dropdown/_with_dividers.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/dropdown/_with_icons.html.erb +0 -20
- data/app/views/railsui/themes/hound/components/flash/_alert.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/flash/_dynamic.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/flash/_notice.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/modal/_base.html.erb +0 -13
- data/app/views/railsui/themes/hound/components/modal/_centered_dual_action.html.erb +0 -16
- data/app/views/railsui/themes/hound/components/modal/_dismiss_icon.html.erb +0 -20
- data/app/views/railsui/themes/hound/components/modal/_single_action.html.erb +0 -15
- data/app/views/railsui/themes/hound/components/modal/_with_form.html.erb +0 -23
- data/app/views/railsui/themes/hound/components/navigation/_base.html.erb +1 -41
- data/app/views/railsui/themes/hound/components/navigation/_with_action.html.erb +1 -38
- data/app/views/railsui/themes/hound/components/navigation/_with_dropdowns.html.erb +1 -105
- data/app/views/railsui/themes/hound/components/navigation/_with_search.html.erb +1 -41
- data/app/views/railsui/themes/hound/components/pagination/_contained.html.erb +0 -31
- data/app/views/railsui/themes/hound/components/pagination/_minimal.html.erb +0 -27
- data/app/views/railsui/themes/hound/components/pagination/_pagy.html.erb +47 -72
- data/app/views/railsui/themes/hound/components/tab/_base.html.erb +1 -18
- data/app/views/railsui/themes/hound/components/tab/_pills.html.erb +1 -18
- data/app/views/railsui/themes/hound/components/tab/_rounded.html.erb +1 -18
- data/app/views/railsui/themes/hound/components/tab/_with_icons.html.erb +1 -26
- data/app/views/railsui/themes/hound/components/toast/_base.html.erb +0 -16
- data/app/views/railsui/themes/hound/components/tooltip/_base.html.erb +0 -3
- data/app/views/railsui/themes/hound/content/image/_object_contain.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_object_cover.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_object_fill.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_object_scale_down.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_responsive.html.erb +0 -4
- data/app/views/railsui/themes/hound/content/table/_bordered.html.erb +0 -21
- data/app/views/railsui/themes/hound/content/table/_borderless.html.erb +0 -21
- data/app/views/railsui/themes/hound/content/typography/_blockquote.html.erb +0 -9
- data/app/views/railsui/themes/hound/content/typography/_display_headings.html.erb +0 -9
- data/app/views/railsui/themes/hound/content/typography/_headings.html.erb +0 -12
- data/app/views/railsui/themes/hound/content/typography/_inline_formatting.html.erb +0 -20
- data/app/views/railsui/themes/hound/content/typography/_lead_paragraph.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/typography/_lists.html.erb +0 -17
- data/app/views/railsui/themes/hound/content/typography/_paragraphs.html.erb +0 -4
- data/app/views/railsui/themes/hound/forms/_action_text.html.erb +0 -6
- data/app/views/railsui/themes/hound/forms/_checkbox.html.erb +0 -9
- data/app/views/railsui/themes/hound/forms/_form_builder.html.erb +487 -0
- data/app/views/railsui/themes/hound/forms/_input.html.erb +0 -93
- data/app/views/railsui/themes/hound/forms/_input_group.html.erb +0 -83
- data/app/views/railsui/themes/hound/forms/_radio.html.erb +0 -13
- data/app/views/railsui/themes/hound/forms/_select.html.erb +0 -16
- data/app/views/railsui/themes/hound/forms/_switch.html.erb +0 -9
- data/app/views/railsui/themes/hound/forms/_validation.html.erb +0 -15
- data/app/views/railsui/themes/hound/mailers/_layout.html.erb +1 -432
- data/app/views/railsui/themes/hound/mailers/_minimal.html.erb +1 -16
- data/app/views/railsui/themes/hound/mailers/_promotion.html.erb +1 -20
- data/app/views/railsui/themes/hound/mailers/_transactional.html.erb +1 -43
- data/app/views/railsui/themes/hound/mailers/devise/_confirmation_instructions.html.erb +1 -9
- data/app/views/railsui/themes/hound/mailers/devise/_email_changed.html.erb +1 -13
- data/app/views/railsui/themes/hound/mailers/devise/_password_changed.html.erb +1 -7
- data/app/views/railsui/themes/hound/mailers/devise/_reset_password_instructions.html.erb +1 -9
- data/app/views/railsui/themes/hound/mailers/devise/_unlock_instructions.html.erb +1 -9
- data/app/views/railsui/themes/hound/scaffolds/_edit.html.erb +1 -19
- data/app/views/railsui/themes/hound/scaffolds/_index.html.erb +1 -14
- data/app/views/railsui/themes/hound/scaffolds/_new.html.erb +1 -17
- data/app/views/railsui/themes/hound/scaffolds/_partial.html.erb +1 -17
- data/app/views/railsui/themes/hound/scaffolds/_show.html.erb +1 -20
- data/app/views/railsui/themes/shepherd/_forms.html.erb +5 -3
- data/app/views/railsui/themes/shepherd/_nav.html.erb +2 -0
- data/app/views/railsui/themes/shepherd/authentication/devise/_change_password.html.erb +1 -23
- data/app/views/railsui/themes/shepherd/authentication/devise/_confirmation.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/devise/_edit.html.erb +1 -74
- data/app/views/railsui/themes/shepherd/authentication/devise/_overview.html.erb +2 -57
- data/app/views/railsui/themes/shepherd/authentication/devise/_reset_password.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/devise/_signin.html.erb +1 -25
- data/app/views/railsui/themes/shepherd/authentication/devise/_signup.html.erb +1 -26
- data/app/views/railsui/themes/shepherd/authentication/devise/_unlocks.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/static/_change_password.html.erb +1 -23
- data/app/views/railsui/themes/shepherd/authentication/static/_confirmation.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/static/_edit.html.erb +1 -67
- data/app/views/railsui/themes/shepherd/authentication/static/_overview.html.erb +1 -56
- data/app/views/railsui/themes/shepherd/authentication/static/_reset_password.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/static/_signin.html.erb +1 -24
- data/app/views/railsui/themes/shepherd/authentication/static/_signup.html.erb +1 -26
- data/app/views/railsui/themes/shepherd/authentication/static/_unlocks.html.erb +1 -16
- data/app/views/railsui/themes/shepherd/components/_toast.html.erb +0 -3
- data/app/views/railsui/themes/shepherd/components/accordion/_contained.html.erb +0 -28
- data/app/views/railsui/themes/shepherd/components/accordion/_flush.html.erb +0 -27
- data/app/views/railsui/themes/shepherd/components/alert/_dismissable.html.erb +0 -8
- data/app/views/railsui/themes/shepherd/components/alert/_with_accent_border.html.erb +0 -6
- data/app/views/railsui/themes/shepherd/components/alert/_with_actions.html.erb +0 -11
- data/app/views/railsui/themes/shepherd/components/alert/_with_description.html.erb +0 -7
- data/app/views/railsui/themes/shepherd/components/alert/_with_list.html.erb +0 -8
- data/app/views/railsui/themes/shepherd/components/avatar/_circle.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/avatar/_rounded.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/badge/_basic.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/badge/_outline.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/badge/_pill.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/badge/_tag.html.erb +0 -52
- data/app/views/railsui/themes/shepherd/components/breadcrumb/_base.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/breadcrumb/_contained.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/button/_base.html.erb +0 -17
- data/app/views/railsui/themes/shepherd/components/button/_expanded.html.erb +0 -3
- data/app/views/railsui/themes/shepherd/components/button/_sizes.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/card/_base.html.erb +0 -6
- data/app/views/railsui/themes/shepherd/components/card/_property_card.html.erb +0 -28
- data/app/views/railsui/themes/shepherd/components/card/_property_user_card.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/card/_user_card_with_actions.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/card/_with_action.html.erb +0 -7
- data/app/views/railsui/themes/shepherd/components/card/_with_header.html.erb +0 -7
- data/app/views/railsui/themes/shepherd/components/combobox/_base.html.erb +0 -40
- data/app/views/railsui/themes/shepherd/components/datalist/_booking_list.html.erb +0 -45
- data/app/views/railsui/themes/shepherd/components/datalist/_property_list.html.erb +0 -47
- data/app/views/railsui/themes/shepherd/components/dropdown/_base.html.erb +0 -10
- data/app/views/railsui/themes/shepherd/components/dropdown/_right_aligned.html.erb +0 -13
- data/app/views/railsui/themes/shepherd/components/dropdown/_with_dividers.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/dropdown/_with_menu_icons.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/components/flash/_alert.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/flash/_dynamic.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/flash/_notice.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/modal/_base.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/modal/_centered_dual_action.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/components/modal/_dismiss_icon.html.erb +0 -23
- data/app/views/railsui/themes/shepherd/components/modal/_single_action.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/modal/_with_form.html.erb +0 -23
- data/app/views/railsui/themes/shepherd/components/navigation/_base.html.erb +0 -81
- data/app/views/railsui/themes/shepherd/components/navigation/_logged_out.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/navigation/_with_dropdowns.html.erb +0 -88
- data/app/views/railsui/themes/shepherd/components/navigation/_with_search.html.erb +1 -83
- data/app/views/railsui/themes/shepherd/components/pagination/_contained.html.erb +0 -31
- data/app/views/railsui/themes/shepherd/components/pagination/_dark.html.erb +0 -31
- data/app/views/railsui/themes/shepherd/components/pagination/_pagy.html.erb +53 -98
- data/app/views/railsui/themes/shepherd/components/pagination/_simple.html.erb +0 -27
- data/app/views/railsui/themes/shepherd/components/tab/_base.html.erb +1 -18
- data/app/views/railsui/themes/shepherd/components/tab/_pills.html.erb +1 -18
- data/app/views/railsui/themes/shepherd/components/tab/_rounded.html.erb +1 -18
- data/app/views/railsui/themes/shepherd/components/tab/_with_icons.html.erb +1 -26
- data/app/views/railsui/themes/shepherd/components/toast/_base.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/components/tooltip/_base.html.erb +0 -3
- data/app/views/railsui/themes/shepherd/content/_image_old.html.erb +0 -20
- data/app/views/railsui/themes/shepherd/content/image/_object_contain.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_object_cover.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_object_fill.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_object_scale_down.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_responsive.html.erb +0 -4
- data/app/views/railsui/themes/shepherd/content/table/_bordered.html.erb +0 -21
- data/app/views/railsui/themes/shepherd/content/table/_borderless.html.erb +0 -21
- data/app/views/railsui/themes/shepherd/content/typography/_blockquote.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/content/typography/_display_headings.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/content/typography/_headings.html.erb +0 -15
- data/app/views/railsui/themes/shepherd/content/typography/_inline_formatting.html.erb +0 -21
- data/app/views/railsui/themes/shepherd/content/typography/_lead_paragraph.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/typography/_lists.html.erb +0 -17
- data/app/views/railsui/themes/shepherd/content/typography/_paragraphs.html.erb +0 -4
- data/app/views/railsui/themes/shepherd/forms/_action_text.html.erb +0 -6
- data/app/views/railsui/themes/shepherd/forms/_checkbox.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/forms/_form_builder.html.erb +487 -0
- data/app/views/railsui/themes/shepherd/forms/_input.html.erb +0 -119
- data/app/views/railsui/themes/shepherd/forms/_input_group.html.erb +0 -81
- data/app/views/railsui/themes/shepherd/forms/_radio.html.erb +0 -13
- data/app/views/railsui/themes/shepherd/forms/_select.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/forms/_switch.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/forms/_validation.html.erb +0 -11
- data/app/views/railsui/themes/shepherd/mailers/_layout.html.erb +1 -493
- data/app/views/railsui/themes/shepherd/mailers/_minimal.html.erb +1 -16
- data/app/views/railsui/themes/shepherd/mailers/_promotion.html.erb +1 -20
- data/app/views/railsui/themes/shepherd/mailers/_transactional.html.erb +1 -43
- data/app/views/railsui/themes/shepherd/mailers/devise/_confirmation_instructions.html.erb +1 -9
- data/app/views/railsui/themes/shepherd/mailers/devise/_email_changed.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/mailers/devise/_password_changed.html.erb +1 -7
- data/app/views/railsui/themes/shepherd/mailers/devise/_reset_password_instructions.html.erb +1 -9
- data/app/views/railsui/themes/shepherd/mailers/devise/_unlock_instructions.html.erb +1 -9
- data/app/views/railsui/themes/shepherd/scaffolds/_edit.html.erb +1 -19
- data/app/views/railsui/themes/shepherd/scaffolds/_index.html.erb +1 -11
- data/app/views/railsui/themes/shepherd/scaffolds/_new.html.erb +1 -17
- data/app/views/railsui/themes/shepherd/scaffolds/_partial.html.erb +1 -17
- data/app/views/railsui/themes/shepherd/scaffolds/_show.html.erb +1 -18
- data/config/pages.yml +103 -0
- data/config/routes.rb +6 -5
- data/config/theme.yml +2 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/auth-bg.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog-feature.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog1.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog2.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog3.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog4.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog5.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog6.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog7.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog8.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog9.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/copy.svg +6 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/pencil.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/scroll-text.svg +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/facebook.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/github.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/google.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/instagram.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/linkedin.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/twitter.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/x.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/youtube.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/stethoscope.svg +8 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/test-tubes.svg +11 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/logo.svg +10 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/android-chrome-192x192.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/android-chrome-512x512.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/apple-touch-icon.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon-16x16.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon-32x32.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon.ico +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon.svg +20 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/opengraph-mark.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/opengraph.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/site.webmanifest +19 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/railsui.svg +3 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/character_count_controller.js +134 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/chat_controller.js +45 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/help_search_controller.js +333 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/highlight_controller.js +13 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/markdown_controller.js +106 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/search_controller.js +311 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/sidebar_controller.js +105 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/snippet_controller.js +223 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/minimal.html.erb +21 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/minimal.text.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/promotion.html.erb +23 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/promotion.text.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/transactional.html.erb +55 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/transactional.text.erb +22 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/actiontext.css +173 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/blog.css +29 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/buttons.css +49 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/card.css +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/chat.css +27 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/code.css +233 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/dropdown.css +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/forms.css +321 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/sidebar.css +15 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/tailwind.config.js +24 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/theme.css +77 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/typography.css +47 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui.html.erb +31 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui_admin.html.erb +30 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui_auth.html.erb +50 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui_mailer.html.erb +503 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/about.html.erb +278 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog.html.erb +258 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog_category.html.erb +261 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog_show.html.erb +429 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/chat_new.html.erb +68 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/chat_show.html.erb +152 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/features.html.erb +356 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/help.html.erb +123 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/home.html.erb +252 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/pricing.html.erb +397 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/privacy.html.erb +140 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/signin.html.erb +38 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/signup.html.erb +48 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/terms.html.erb +182 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_account_dropdown.html.erb +46 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_email_action.html.erb +15 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_email_callout.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_email_spacer.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_error_messages.html.erb +10 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_faq.html.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_flash.html.erb +11 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_fonts.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_footer.html.erb +72 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_header.html.erb +15 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_meta.html.erb +90 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_nav.html.erb +3 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_railsui_head.html.erb +4 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_search.html.erb +32 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_sidebar.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_waves.html.erb +47 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/blog/_article.html.erb +39 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/blog/_pagination.html.erb +21 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_disclaimer.html.erb +4 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_form.html.erb +62 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_header.html.erb +47 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_history.html.erb +36 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_key_legend.html.erb +11 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_link.html.erb +17 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_message.html.erb +69 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_model_select.html.erb +55 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_cta_section.html.erb +16 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_feature_card.html.erb +23 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_feature_check_item.html.erb +6 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_social_auth_buttons.html.erb +22 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/help/_categories.html.erb +82 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/help/_faq.html.erb +45 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/help/_quick_actions.html.erb +46 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/marketing/_career.html.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/marketing/_nav.html.erb +57 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/marketing/_team_member_card.html.erb +16 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/_modal.html.erb +84 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/_nav_item.html.erb +14 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_billing.html.erb +120 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_data_controls.html.erb +69 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_general.html.erb +92 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_notifications.html.erb +102 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_personalization.html.erb +100 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_security.html.erb +98 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_title.html.erb +5 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_actions.html.erb +39 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_header.html.erb +40 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_history.html.erb +36 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_link.html.erb +23 -0
- data/lib/generators/railsui/install/templates/themes/hound/stylesheets/railsui/forms.css +18 -4
- data/lib/generators/railsui/install/templates/themes/hound/stylesheets/railsui/theme.css +3 -2
- data/lib/generators/railsui/install/templates/themes/shepherd/stylesheets/railsui/forms.css +12 -2
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/_form.html.erb.tt +52 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/edit.html.erb.tt +25 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/index.html.erb.tt +12 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/new.html.erb.tt +22 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/partial.html.erb.tt +22 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/show.html.erb.tt +24 -0
- data/lib/generators/railsui/scaffold/templates/themes/hound/views/_form.html.erb.tt +29 -24
- data/lib/generators/railsui/scaffold/templates/themes/shepherd/views/_form.html.erb.tt +28 -26
- data/lib/railsui/configuration.rb +22 -21
- data/lib/railsui/engine.rb +26 -20
- data/lib/railsui/form_builder.rb +307 -0
- data/lib/railsui/pages.rb +14 -3
- data/lib/railsui/theme_helper.rb +8 -8
- data/lib/railsui/theme_setup.rb +83 -49
- data/lib/railsui/themes.rb +3 -4
- data/lib/railsui/version.rb +1 -1
- data/lib/railsui.rb +9 -6
- data/lib/tasks/install.rake +1 -1
- data/lib/tasks/pages.rake +1 -1
- data/lib/tasks/stimulus.rake +1 -1
- metadata +287 -5
- data/.standard.yml +0 -3
- data/CHANGELOG.md +0 -9
- data/config/colors.yml +0 -50
@@ -0,0 +1,92 @@
|
|
1
|
+
<div id="accordion-flush">
|
2
|
+
<%= render layout: example, locals: { heading: "Flush", section: "Accordion" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<dl class="font-tiktok my-6 divide-y divide-neutral-100 dark:divide-neutral-700">
|
6
|
+
<details class="group p-4 marker:content-['']">
|
7
|
+
<summary class="flex w-full cursor-pointer select-none justify-between text-left text-base font-semibold leading-7 text-neutral-900 group-open:text-primary-600 [&::-webkit-details-marker]:hidden dark:group-open:text-primary-300 dark:text-white">
|
8
|
+
This is the first accordion item
|
9
|
+
<%= icon "plus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:hidden block" %>
|
10
|
+
<%= icon "minus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:block hidden" %>
|
11
|
+
</summary>
|
12
|
+
<div class="py-6 font-tiktok">
|
13
|
+
<div class="prose prose-slate dark:prose-invert max-w-none prose-a:font-semibold prose-a:text-primary-600 hover:prose-a:text-primary-500 dark:prose-a:text-primary-400 dark:hover:prose-a:text-primary-300">
|
14
|
+
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Doloremque explicabo voluptates odio atque reiciendis, dolore magni quos quibusdam numquam, ad distinctio minima reprehenderit nemo harum, in perferendis delectus tempora.
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</details>
|
18
|
+
<details class="group p-4 marker:content-['']">
|
19
|
+
<summary class="flex w-full cursor-pointer select-none justify-between text-left text-base font-semibold leading-7 text-neutral-900 group-open:text-primary-600 [&::-webkit-details-marker]:hidden dark:group-open:text-primary-300 dark:text-white">
|
20
|
+
This is the second accordion item
|
21
|
+
<%= icon "plus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:hidden block" %>
|
22
|
+
<%= icon "minus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:block hidden" %>
|
23
|
+
</summary>
|
24
|
+
<div class="py-6">
|
25
|
+
<div class="prose prose-slate dark:prose-invert max-w-none prose-a:font-semibold prose-a:text-primary-600 hover:prose-a:text-primary-500 dark:prose-a:text-primary-400 dark:hover:prose-a:text-primary-300">
|
26
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptates maxime temporibus porro aut quis adipisci aliquid vitae labore modi harum facere, commodi molestiae repellat dicta eos officiis enim quae ullam.
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</details>
|
30
|
+
<details class="group p-4 marker:content-['']">
|
31
|
+
<summary class="flex w-full cursor-pointer select-none justify-between text-left text-base font-semibold leading-7 text-neutral-900 group-open:text-primary-600 [&::-webkit-details-marker]:hidden dark:group-open:text-primary-300 dark:text-white">
|
32
|
+
This is the third accordion item
|
33
|
+
<%= icon "plus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:hidden block" %>
|
34
|
+
<%= icon "minus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:block hidden" %>
|
35
|
+
</summary>
|
36
|
+
<div class="py-6">
|
37
|
+
<div class="prose prose-slate dark:prose-invert max-w-none prose-a:font-semibold prose-a:text-primary-600 hover:prose-a:text-primary-500 dark:prose-a:text-primary-400 dark:hover:prose-a:text-primary-300">
|
38
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Necessitatibus excepturi aliquam quod deleniti sit mollitia at? Voluptates suscipit, perspiciatis fuga nesciunt atque, repellat minus distinctio iure cupiditate tenetur ipsam voluptatem?
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</details>
|
42
|
+
</dl>
|
43
|
+
<% end %>
|
44
|
+
|
45
|
+
<% content_for :example, flush: true do %>
|
46
|
+
|
47
|
+
<% content_for :html, flush: true do %>
|
48
|
+
<dl class="my-6 divide-y divide-neutral-100 dark:divide-neutral-700">
|
49
|
+
<details class="group p-4 marker:content-['']">
|
50
|
+
<summary class="flex w-full cursor-pointer select-none justify-between text-left text-base font-semibold leading-7 text-neutral-900 group-open:text-primary-600 [&::-webkit-details-marker]:hidden dark:group-open:text-primary-300 dark:text-white">
|
51
|
+
This is the first accordion item
|
52
|
+
<%%= icon "plus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:hidden block" %>
|
53
|
+
<%%= icon "minus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:block hidden" %>
|
54
|
+
</summary>
|
55
|
+
<div class="pt-6 pb-6">
|
56
|
+
<div class="prose prose-slate dark:prose-invert max-w-none prose-a:font-semibold prose-a:text-primary-600 hover:prose-a:text-primary-500 dark:prose-a:text-primary-400 dark:hover:prose-a:text-primary-300">
|
57
|
+
Lorem ipsum dolor...
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
</details>
|
61
|
+
<details class="group p-4 marker:content-['']">
|
62
|
+
<summary class="flex w-full cursor-pointer select-none justify-between text-left text-base font-semibold leading-7 text-neutral-900 group-open:text-primary-600 [&::-webkit-details-marker]:hidden dark:group-open:text-primary-300 dark:text-white">
|
63
|
+
This is the second accordion item
|
64
|
+
<%%= icon "plus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:hidden block" %>
|
65
|
+
<%%= icon "minus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:block hidden" %>
|
66
|
+
</summary>
|
67
|
+
<div class="pt-6 pb-6">
|
68
|
+
<div class="prose prose-slate dark:prose-invert max-w-none prose-a:font-semibold prose-a:text-primary-600 hover:prose-a:text-primary-500 dark:prose-a:text-primary-400 dark:hover:prose-a:text-primary-300">
|
69
|
+
Lorem ipsum dolor...
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
</details>
|
73
|
+
<details class="group p-4 marker:content-['']">
|
74
|
+
<summary class="flex w-full cursor-pointer select-none justify-between text-left text-base font-semibold leading-7 text-neutral-900 group-open:text-primary-600 [&::-webkit-details-marker]:hidden dark:group-open:text-primary-300 dark:text-white">
|
75
|
+
This is the third accordion item
|
76
|
+
<%%= icon "plus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:hidden block" %>
|
77
|
+
<%%= icon "minus", class: "size-5 flex-none ml-4 mt-0.5 text-neutral-600 dark:text-neutral-300 group-open:text-primary-500 dark:group-open:text-primary-400 group-open:block hidden" %>
|
78
|
+
</summary>
|
79
|
+
<div class="pt-6 pb-6">
|
80
|
+
<div class="prose prose-slate dark:prose-invert max-w-none prose-a:font-semibold prose-a:text-primary-600 hover:prose-a:text-primary-500 dark:prose-a:text-primary-400 dark:hover:prose-a:text-primary-300">
|
81
|
+
Lorem ipsum dolor...
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
</details>
|
85
|
+
</dl>
|
86
|
+
<% end %>
|
87
|
+
|
88
|
+
|
89
|
+
<%= render_snippet %>
|
90
|
+
<% end %>
|
91
|
+
<% end %>
|
92
|
+
</div>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<div id="alert-dismissable">
|
2
|
+
<%= render layout: example, locals: { heading: "Dismissable", section: "Alert" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="bg-primary-50/90 text-primary-700 rounded p-4 text-sm flex justify-between items-center dark:bg-primary-50/10 dark:text-primary-100 font-tiktok">
|
6
|
+
<div class="flex-1">
|
7
|
+
<p class="text-primary-800 dark:text-primary-300 font-semibold">A dismissible notice</p>
|
8
|
+
<p class="leading-snug my-1 pr-4">Your account settings have been successfully updated. The changes will take effect immediately.</p>
|
9
|
+
</div>
|
10
|
+
<button type="button" class="size-8 rounded-full bg-transparent hover:bg-primary-700 transition ease-in-out duration-300 flex items-center justify-center group dark:hover:bg-primary-500">
|
11
|
+
<%= icon "x-mark", class: "size-5 text-primary-700 group-hover:text-primary-100 dark:text-primary-300 dark:group-hover:text-primary-100", title: "Dismiss" %>
|
12
|
+
</button>
|
13
|
+
</div>
|
14
|
+
<% end %>
|
15
|
+
|
16
|
+
<% content_for :example, flush: true do %>
|
17
|
+
<% content_for :html, flush: true do %>
|
18
|
+
<div class="bg-primary-50/90 text-primary-700 rounded p-4 text-sm flex justify-between items-center dark:bg-primary-50/10 dark:text-primary-100">
|
19
|
+
<div class="flex-1">
|
20
|
+
<p class="text-primary-800 dark:text-primary-300 font-semibold">A dismissible notice</p>
|
21
|
+
<p class="leading-snug my-1 pr-4">Your account settings have been successfully updated. The changes will take effect immediately.</p>
|
22
|
+
</div>
|
23
|
+
<button type="button" class="size-8 rounded-full bg-transparent hover:bg-primary-700 transition ease-in-out duration-300 flex items-center justify-center group dark:hover:bg-primary-500">
|
24
|
+
<%%= icon "x-mark", class: "size-5 text-primary-700 group-hover:text-primary-100 dark:text-primary-300 dark:group-hover:text-primary-100", title: "Dismiss" %>
|
25
|
+
</button>
|
26
|
+
</div>
|
27
|
+
<% end %>
|
28
|
+
|
29
|
+
<% content_for :erb, flush: true do %>
|
30
|
+
<%%= tag.div class: "bg-primary-50/90 text-primary-700 rounded p-4 text-sm flex justify-between items-center dark:bg-primary-50/10 dark:text-primary-100" do %>
|
31
|
+
<%%= tag.div class: "flex-1" do %>
|
32
|
+
<%%= tag.p "A dismissible notice", class: "text-primary-800 dark:text-primary-300 font-semibold" %>
|
33
|
+
<%%= tag.p "Your account settings have been successfully updated. The changes will take effect immediately.", class: "leading-snug my-1 pr-4" %>
|
34
|
+
<%% end %>
|
35
|
+
|
36
|
+
<%%= tag.button class: "size-8 rounded-full bg-transparent hover:bg-primary-700 transition ease-in-out duration-300 flex items-center justify-center group dark:hover:bg-primary-500", type: "button" do %>
|
37
|
+
<%%= icon "x-mark", class: "size-5 text-primary-700 group-hover:text-primary-100 dark:text-primary-300 dark:group-hover:text-primary-100", title: "Dismiss" %>
|
38
|
+
<%% end %>
|
39
|
+
<%% end %>
|
40
|
+
<% end %>
|
41
|
+
|
42
|
+
<%= render_snippet %>
|
43
|
+
<% end %>
|
44
|
+
<% end %>
|
45
|
+
</div>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<div id="alert-border-accent">
|
2
|
+
<%= render layout: example, locals: { heading: "Border accent", section: "Alert" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="bg-blue-50/90 text-blue-700 border-l-4 border-blue-700 py-4 pr-4 pl-6 text-sm dark:bg-blue-50/10 dark:text-blue-50 dark:border-blue-400 font-tiktok">
|
6
|
+
<p class="text-blue-800 dark:text-blue-400 font-semibold">Upcoming maintenance alert</p>
|
7
|
+
<p class="leading-snug my-1">We'll be undergoing routine maintenance on Jan 1, 2024 that affects your account. <a href="#" class="font-semibold underline text-blue-700 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-500">Read more about the update here</a>.</p>
|
8
|
+
</div>
|
9
|
+
<% end %>
|
10
|
+
|
11
|
+
<% content_for :example, flush: true do %>
|
12
|
+
<% content_for :html, flush: true do %>
|
13
|
+
<div class="bg-blue-50/90 text-blue-700 border-l-4 border-blue-700 py-4 pr-4 pl-6 text-sm dark:bg-blue-50/10 dark:text-blue-50 dark:border-blue-400">
|
14
|
+
<p class="text-blue-800 dark:text-blue-400 font-semibold">Upcoming maintenance alert</p>
|
15
|
+
<p class="leading-snug my-1">We'll be undergoing routine maintenance on Jan 1, 2024 that affects your account. <a href="#" class="font-semibold underline text-blue-700 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-500">Read more about the update here</a>.</p>
|
16
|
+
</div>
|
17
|
+
<% end %>
|
18
|
+
|
19
|
+
<% content_for :erb, flush: true do %>
|
20
|
+
<%%= tag.div class: "bg-blue-50/90 text-blue-700 border-l-4 border-blue-700 py-4 pr-4 pl-6 text-sm dark:bg-blue-50/10 dark:text-blue-50 dark:border-blue-400" do %>
|
21
|
+
<%%= tag.p "Upcoming maintenance alert", class: "text-blue-800 dark:text-blue-400 font-semibold" %>
|
22
|
+
<%%= tag.p class: "leading-snug my-1" do %>
|
23
|
+
We'll be undergoing routine maintenance on Jan 1, 2024 that affects your account. <%%= link_to "Read more about the update here", "#", class: "font-semibold underline text-blue-700 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-500" %>.
|
24
|
+
<%% end %>
|
25
|
+
<%% end %>
|
26
|
+
<% end %>
|
27
|
+
|
28
|
+
|
29
|
+
<%= render_snippet %>
|
30
|
+
<% end %>
|
31
|
+
<% end %>
|
32
|
+
</div>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<div id="alert-with-actions">
|
2
|
+
<%= render layout: example, locals: { heading: "With actions", section: "Alert" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="bg-primary-50/90 text-primary-700 p-4 rounded text-sm sm:flex md:items-center justify-between dark:bg-primary-50/10 dark:text-primary-50 dark:border dark:border-primary-400/30 font-tiktok">
|
6
|
+
<div class="flex items-start justify-between gap-3">
|
7
|
+
<%= icon "star", class: "text-primary-500 size-5 flex-shrink-0 dark:text-primary-400", variant: :solid %>
|
8
|
+
<div class="flex-1">
|
9
|
+
<p class="text-primary-800 dark:text-primary-300 font-semibold">Your response is requested</p>
|
10
|
+
<p class="leading-snug my-1">Vote for your favorite dog breed today.</p>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div class="flex items-center space-x-6 sm:pt-0 pt-3 sm:pl-0 sm:pr-4 pr-0 pl-8">
|
14
|
+
<a href="#" class="btn-link">Vote now</a>
|
15
|
+
<a href="#" class="btn-link">Dismiss</a>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<% end %>
|
19
|
+
|
20
|
+
<% content_for :example, flush: true do %>
|
21
|
+
<% content_for :html, flush: true do %>
|
22
|
+
<div class="bg-primary-50/90 text-primary-700 p-4 rounded text-sm sm:flex md:items-center justify-between dark:bg-primary-50/10 dark:text-primary-50 dark:border dark:border-primary-400/30">
|
23
|
+
<div class="flex items-start justify-between gap-3">
|
24
|
+
<%%= icon "star", class: "text-primary-500 size-5 flex-shrink-0 dark:text-primary-400", variant: :solid %>
|
25
|
+
<div class="flex-1">
|
26
|
+
<p class="text-primary-800 dark:text-primary-300 font-semibold">Your response is requested</p>
|
27
|
+
<p class="leading-snug my-1">Vote for your favorite dog breed today.</p>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div class="flex items-center space-x-6 sm:pt-0 pt-3 sm:pl-0 sm:pr-4 pr-0 pl-8">
|
31
|
+
<a href="#" class="btn-link">Vote now</a>
|
32
|
+
<a href="#" class="btn-link">Dismiss</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
<% end %>
|
36
|
+
|
37
|
+
<% content_for :erb, flush: true do %>
|
38
|
+
<%%= tag.div class:"bg-primary-50/90 text-primary-700 p-4 rounded text-sm sm:flex md:items-center justify-between dark:bg-primary-50/10 dark:text-primary-50 dark:border dark:border-primary-400/30" do %>
|
39
|
+
<%%= tag.div class: "flex items-start justify-between gap-3" do %>
|
40
|
+
<%%= icon "star", class: "text-primary-500 size-5 flex-shrink-0 dark:text-primary-400", variant: :solid %>
|
41
|
+
<%%= tag.div class: "flex-1" do %>
|
42
|
+
<%%= tag.p "Your response is requested", class: "text-primary-800 dark:text-primary-300 font-semibold" %>
|
43
|
+
<%%= tag.p "Vote for your favorite dog breed today.", class: "leading-snug my-1" %>
|
44
|
+
<%% end %>
|
45
|
+
<%%= tag.div class: "flex items-center space-x-6 sm:pt-0 pt-3 sm:pl-0 sm:pr-4 pr-0 pl-8" do %>
|
46
|
+
<%%= link_to "Vote now", "#", class: "btn-link" %>
|
47
|
+
<%%= link_to "Dismiss", "#", class: "btn-link" %>
|
48
|
+
<%% end %>
|
49
|
+
<%% end %>
|
50
|
+
<%% end %>
|
51
|
+
<% end %>
|
52
|
+
|
53
|
+
|
54
|
+
<%= render_snippet %>
|
55
|
+
<% end %>
|
56
|
+
<% end %>
|
57
|
+
</div>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<div id="alert-with-description">
|
2
|
+
<%= render layout: example, locals: { heading: "With description", section: "Alert" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="bg-yellow-50/90 text-yellow-700 p-4 rounded flex items-start justify-between gap-3 text-sm dark:bg-yellow-300/10 dark:border dark:border-yellow-400/30 dark:text-yellow-50 dark:selection:bg-yellow-50/10 font-tiktok">
|
6
|
+
<%= icon "exclamation-triangle", class: "text-yellow-400 size-5 flex-shrink-0 dark:text-yellow-400/90", variant: :solid %>
|
7
|
+
<div class="flex-1">
|
8
|
+
<p class="text-yellow-800 dark:text-yellow-400/90 font-semibold">Action required</p>
|
9
|
+
<p class="leading-snug my-1">Your account password will expire in 3 days. Please update your password to maintain access to your account.</p>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<% content_for :example, flush: true do %>
|
15
|
+
<% content_for :html, flush: true do %>
|
16
|
+
<div class="bg-yellow-50/90 text-yellow-700 p-4 rounded flex items-start justify-between gap-3 text-sm dark:bg-yellow-300/10 dark:border dark:border-yellow-400/30 dark:text-yellow-50 dark:selection:bg-yellow-50/10">
|
17
|
+
<%%= icon "exclamation-triangle", class: "text-yellow-400 size-5 flex-shrink-0 dark:text-yellow-400/90", variant: :solid %>
|
18
|
+
<div class="flex-1">
|
19
|
+
<p class="text-yellow-800 dark:text-yellow-400/90 font-semibold">Action required</p>
|
20
|
+
<p class="leading-snug my-1">Your account password will expire in 3 days. Please update your password to maintain access to your account.</p>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<% end %>
|
24
|
+
|
25
|
+
<% content_for :erb, flush: true do %>
|
26
|
+
<%%= tag.div class:"bg-yellow-50/90 text-yellow-700 p-4 rounded flex items-start justify-between gap-3 text-sm dark:bg-yellow-300/10 dark:border dark:border-yellow-400/20 dark:text-yellow-50 dark:selection:bg-yellow-50/10" do %>
|
27
|
+
<%%= icon "exclamation-triangle", class: "text-yellow-400 size-5 flex-shrink-0 dark:text-yellow-400/90", variant: :solid %>
|
28
|
+
<%% tag.div class: "flex-1" do %>
|
29
|
+
<%%= tag.p "Action required", class: "text-yellow-800 dark:text-yellow-400/90 font-semibold" %>
|
30
|
+
<%% tag.p class: "leading-snug my-1" do %>
|
31
|
+
Your account password will expire in 3 days. Please update your password to maintain access to your account.
|
32
|
+
<%% end %>
|
33
|
+
<%% end %>
|
34
|
+
<%% end %>
|
35
|
+
<% end %>
|
36
|
+
|
37
|
+
|
38
|
+
<%= render_snippet %>
|
39
|
+
<% end %>
|
40
|
+
<% end %>
|
41
|
+
</div>
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<div id="alert-with-list">
|
2
|
+
<%= render layout: example, locals: { heading: "With list", section: "Alert" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="bg-rose-50/90 text-rose-700 p-4 rounded flex items-start justify-between space-x-3 text-sm dark:bg-rose-400/10 dark:border dark:border-rose-400/20 dark:text-rose-50 dark:selection:bg-rose-50/10 font-tiktok">
|
6
|
+
<%= icon "shield-exclamation", class: "text-rose-500 size-5 flex-shrink-0 dark:text-rose-400", variant: :solid %>
|
7
|
+
<div class="flex-1">
|
8
|
+
<p class="text-rose-800 font-semibold dark:text-rose-300">There was 1 error trying to process your request.</p>
|
9
|
+
<ul class="list-disc pl-4 mt-1">
|
10
|
+
<li>Your name must be as cool as Andy.</li>
|
11
|
+
</ul>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
<% end %>
|
15
|
+
|
16
|
+
<% content_for :example, flush: true do %>
|
17
|
+
<% content_for :html, flush: true do %>
|
18
|
+
<div class="bg-rose-50/90 text-rose-700 p-4 rounded flex items-start justify-between space-x-3 text-sm dark:bg-rose-400/10 dark:border dark:border-rose-400/20 dark:text-rose-50 dark:selection:bg-rose-50/10">
|
19
|
+
<%%= icon "shield-exclamation", class: "text-rose-500 size-5 flex-shrink-0 dark:text-rose-400", variant: :solid %>
|
20
|
+
<div class="flex-1">
|
21
|
+
<p class="text-rose-800 font-semibold dark:text-rose-300">There was 1 error trying to process your request.</p>
|
22
|
+
<ul class="list-disc pl-4 mt-1">
|
23
|
+
<li>Your name must be as cool as Andy.</li>
|
24
|
+
</ul>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
<% end %>
|
28
|
+
|
29
|
+
<% content_for :erb, flush: true do %>
|
30
|
+
<%%= tag.div class:"bg-rose-50/90 text-rose-700 p-4 rounded flex items-start justify-between space-x-3 text-sm dark:bg-rose-400/10 dark:border dark:border-rose-400/20 dark:text-rose-50 dark:selection:bg-rose-50/10" do %>
|
31
|
+
<%%= icon "shield-exclamation", class: "text-rose-500 size-5 flex-shrink-0 dark:text-rose-400", variant: :solid %>
|
32
|
+
<%%= tag.div class: "flex-1" do %>
|
33
|
+
<%%= tag.p "There was 1 error trying to process your request.", class: "text-rose-800 font-semibold dark:text-rose-300" %>
|
34
|
+
<%%= tag.ul class: "list-disc pl-4 mt-1" do %>
|
35
|
+
<%%= tag.li "Your name must be as cool as Andy" %>
|
36
|
+
<%% end %>
|
37
|
+
<%% end %>
|
38
|
+
<%% end %>
|
39
|
+
<%% end %>
|
40
|
+
<% end %>
|
41
|
+
|
42
|
+
|
43
|
+
<%= render_snippet %>
|
44
|
+
<% end %>
|
45
|
+
<% end %>
|
46
|
+
</div>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<div id="avatar-circle">
|
2
|
+
<%= render layout: example, locals: { heading: "Circle", section: "Avatar" } do %>
|
3
|
+
|
4
|
+
<%= render preview("neutral") do %>
|
5
|
+
<div class="flex items-center gap-8 font-tiktok">
|
6
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-8 rounded-full object-cover" %>
|
7
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-12 rounded-full object-cover" %>
|
8
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-16 rounded-full object-cover" %>
|
9
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-20 rounded-full object-cover" %>
|
10
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-24 rounded-full object-cover" %>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<% content_for :example, flush: true do %>
|
15
|
+
<% content_for :html, flush: true do %>
|
16
|
+
<!-- size-8 -->
|
17
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-8 rounded-full object-cover" %>
|
18
|
+
|
19
|
+
<!-- size-12-->
|
20
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-12 rounded-full object-cover" %>
|
21
|
+
|
22
|
+
<!-- size-16-->
|
23
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-16 rounded-full object-cover" %>
|
24
|
+
|
25
|
+
<!-- size-20-->
|
26
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-20 rounded-full object-cover" %>
|
27
|
+
|
28
|
+
<!-- size-24-->
|
29
|
+
<%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-24 rounded-full object-cover" %>
|
30
|
+
<% end %>
|
31
|
+
|
32
|
+
<% content_for :erb, flush: true do %>
|
33
|
+
<!-- size-8 -->
|
34
|
+
<%%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-8 rounded-full object-cover" %>
|
35
|
+
|
36
|
+
<!-- size-12-->
|
37
|
+
<%%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-12 rounded-full object-cover" %>
|
38
|
+
|
39
|
+
<!-- size-16-->
|
40
|
+
<%%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-16 rounded-full object-cover" %>
|
41
|
+
|
42
|
+
<!-- size-20-->
|
43
|
+
<%%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-20 rounded-full object-cover" %>
|
44
|
+
|
45
|
+
<!-- size-24-->
|
46
|
+
<%%= image_tag demo_avatar_url(id: 50, variant: "women"), class: "size-24 rounded-full object-cover" %>
|
47
|
+
<% end %>
|
48
|
+
|
49
|
+
|
50
|
+
<%= render_snippet active_tab: :erb %>
|
51
|
+
<% end %>
|
52
|
+
<% end %>
|
53
|
+
</div>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<div id="avatar-rounded">
|
2
|
+
<%= render layout: example, locals: { heading: "Rounded", section: "Avatar" } do %>
|
3
|
+
|
4
|
+
<%= render preview("neutral") do %>
|
5
|
+
<div class="flex items-center gap-8 font-tiktok">
|
6
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-8 rounded-md object-cover" %>
|
7
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-12 rounded-md object-cover" %>
|
8
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-16 rounded-md object-cover" %>
|
9
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-20 rounded-md object-cover" %>
|
10
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-24 rounded-md object-cover" %>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<% content_for :example, flush: true do %>
|
15
|
+
<% content_for :html, flush: true do %>
|
16
|
+
<!-- size-8 -->
|
17
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-8 rounded-md object-cover", alt: "Avatar" %>
|
18
|
+
|
19
|
+
<!-- size-12 -->
|
20
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-12 rounded-md object-cover", alt: "Avatar" %>
|
21
|
+
|
22
|
+
<!-- size-16 -->
|
23
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-16 rounded-md object-cover", alt: "Avatar" %>
|
24
|
+
|
25
|
+
<!-- size-20 -->
|
26
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-20 rounded-md object-cover", alt: "Avatar" %>
|
27
|
+
|
28
|
+
<!-- size-24 -->
|
29
|
+
<%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-24 rounded-md object-cover", alt: "Avatar" %>
|
30
|
+
<% end %>
|
31
|
+
|
32
|
+
<% content_for :erb, flush: true do %>
|
33
|
+
<!-- size-8 -->
|
34
|
+
<%%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-8 rounded-md object-cover", alt: "Avatar" %>
|
35
|
+
|
36
|
+
<!-- size-12 -->
|
37
|
+
<%%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-12 rounded-md object-cover", alt: "Avatar" %>
|
38
|
+
|
39
|
+
<!-- size-16 -->
|
40
|
+
<%%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-16 rounded-md object-cover", alt: "Avatar" %>
|
41
|
+
|
42
|
+
<!-- size-20 -->
|
43
|
+
<%%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-20 rounded-md object-cover", alt: "Avatar" %>
|
44
|
+
|
45
|
+
<!-- size-24 -->
|
46
|
+
<%%= image_tag demo_avatar_url(id: 35, variant: "men"), class: "size-24 rounded-md object-cover", alt: "Avatar" %>
|
47
|
+
<% end %>
|
48
|
+
|
49
|
+
|
50
|
+
<%= render_snippet active_tab: :erb %>
|
51
|
+
<% end %>
|
52
|
+
<% end %>
|
53
|
+
</div>
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<div id="badge-basic">
|
2
|
+
<%= render layout: example, locals: { heading: "Basic", section: "Badge" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="font-tiktok">
|
6
|
+
<span class="rounded bg-neutral-100 text-neutral-800 font-medium px-2 py-1 text-xs dark:bg-neutral-500/20 dark:text-neutral-200">Gray</span>
|
7
|
+
|
8
|
+
<span class="rounded bg-red-100 text-red-800 font-medium px-2 py-1 text-xs dark:bg-red-500/20 dark:text-red-300">Red</span>
|
9
|
+
|
10
|
+
<span class="rounded bg-orange-100 text-orange-700 font-medium px-2 py-1 text-xs dark:bg-orange-500/20 dark:text-orange-300">Orange</span>
|
11
|
+
|
12
|
+
<span class="rounded bg-yellow-100 text-yellow-700 font-medium px-2 py-1 text-xs dark:text-yellow-300 dark:bg-yellow-500/20">Yellow</span>
|
13
|
+
|
14
|
+
<span class="rounded bg-green-100 text-green-800 font-medium px-2 py-1 text-xs dark:text-green-300 dark:bg-green-500/20">Green</span>
|
15
|
+
|
16
|
+
<span class="rounded bg-blue-100 text-blue-800 font-medium px-2 py-1 leading-tight text-xs dark:text-blue-300 dark:bg-blue-500/20">Blue</span>
|
17
|
+
|
18
|
+
<span class="rounded bg-indigo-100 text-indigo-800 font-medium px-2 py-1 leading-tight text-xs dark:text-indigo-300 dark:bg-indigo-500/20">Indigo</span>
|
19
|
+
|
20
|
+
<span class="rounded bg-purple-100 text-purple-800 font-medium px-2 py-1 leading-tight text-xs dark:text-purple-300 dark:bg-purple-500/20">Purple</span>
|
21
|
+
|
22
|
+
<span class="rounded bg-pink-100 text-pink-800 font-medium px-2 py-1 leading-tight text-xs dark:text-pink-300 dark:bg-pink-500/20">Pink</span>
|
23
|
+
|
24
|
+
<span class="rounded bg-white-100 text-neutral-800 border border-neutral-200 font-medium px-2 py-1 leading-tight text-xs dark:border-none dark:bg-white/10 dark:text-white/80">White</span>
|
25
|
+
</div>
|
26
|
+
<% end %>
|
27
|
+
|
28
|
+
|
29
|
+
<% content_for :example, flush: true do %>
|
30
|
+
<% content_for :html, flush: true do %>
|
31
|
+
<!-- Gray -->
|
32
|
+
<span class="rounded bg-neutral-100 text-neutral-800 font-medium px-2 py-1 text-xs dark:bg-neutral-500/20 dark:text-neutral-200">Gray</span>
|
33
|
+
|
34
|
+
<!-- Red -->
|
35
|
+
<span class="rounded bg-red-100 text-red-800 font-medium px-2 py-1 text-xs dark:bg-red-500/20 dark:text-red-300">Red</span>
|
36
|
+
|
37
|
+
<!-- Orange -->
|
38
|
+
<span class="rounded bg-orange-100 text-orange-700 font-medium px-2 py-1 text-xs dark:bg-orange-500/20 dark:text-orange-300">Orange</span>
|
39
|
+
|
40
|
+
<!-- Yellow -->
|
41
|
+
<span class="rounded bg-yellow-100 text-yellow-700 font-medium px-2 py-1 text-xs dark:text-yellow-300 dark:bg-yellow-500/20">Yellow</span>
|
42
|
+
|
43
|
+
<!-- Green -->
|
44
|
+
<span class="rounded bg-green-100 text-green-800 font-medium px-2 py-1 text-xs dark:text-green-300 dark:bg-green-500/20">Green</span>
|
45
|
+
|
46
|
+
<!-- Blue -->
|
47
|
+
<span class="rounded bg-blue-100 text-blue-800 font-medium px-2 py-1 leading-tight text-xs dark:text-blue-300 dark:bg-blue-500/20">Blue</span>
|
48
|
+
|
49
|
+
<!-- Indigo -->
|
50
|
+
<span class="rounded bg-indigo-100 text-indigo-800 font-medium px-2 py-1 leading-tight text-xs dark:text-indigo-300 dark:bg-indigo-500/20">Indigo</span>
|
51
|
+
|
52
|
+
<!-- Purple -->
|
53
|
+
<span class="rounded bg-purple-100 text-purple-800 font-medium px-2 py-1 leading-tight text-xs dark:text-purple-300 dark:bg-purple-500/20">Purple</span>
|
54
|
+
|
55
|
+
<!-- Pink -->
|
56
|
+
<span class="rounded bg-pink-100 text-pink-800 font-medium px-2 py-1 leading-tight text-xs dark:text-pink-300 dark:bg-pink-500/20">Pink</span>
|
57
|
+
|
58
|
+
<!-- White -->
|
59
|
+
<span class="rounded bg-white-100 text-neutral-800 border border-neutral-200 font-medium px-2 py-1 leading-tight text-xs dark:border-none dark:bg-white/10 dark:text-white/80">White</span>
|
60
|
+
<% end %>
|
61
|
+
|
62
|
+
<% content_for :erb, flush: true do %>
|
63
|
+
|
64
|
+
<% end %>
|
65
|
+
|
66
|
+
|
67
|
+
<%= render_snippet %>
|
68
|
+
<% end %>
|
69
|
+
<% end %>
|
70
|
+
</div>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<div id="badge-outline">
|
2
|
+
<%= render layout: example, locals: { heading: "Outline", section: "Badge" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<span class="rounded text-neutral-800 font-medium px-2 py-1 text-xs border border-neutral-800/60 bg-neutral-50/60 dark:bg-neutral-500/20 dark:text-neutral-200 dark:border-neutral-500/40">Gray</span>
|
6
|
+
|
7
|
+
<span class="rounded bg-red-50/30 text-red-600 font-medium px-2 py-1 text-xs border border-red-600/60 dark:border-red-700/50 dark:bg-red-500/20 dark:text-red-300">Red</span>
|
8
|
+
|
9
|
+
<span class="rounded bg-orange-50/30 text-orange-600 font-medium px-2 py-1 text-xs border border-orange-600/60 dark:border-orange-700/50 dark:bg-orange-500/20 dark:text-orange-300">Orange</span>
|
10
|
+
|
11
|
+
<span class="rounded bg-yellow-50/30 text-yellow-700 font-medium px-2 py-1 text-xs border border-yellow-500/60 dark:text-yellow-300 dark:bg-yellow-500/20 dark:border-yellow-700/50">Yellow</span>
|
12
|
+
|
13
|
+
<span class="rounded bg-green-50/30 text-green-700 font-medium px-2 py-1 text-xs border border-green-500/60 dark:text-green-300 dark:bg-green-500/20 dark:border-green-700/50">Green</span>
|
14
|
+
|
15
|
+
<span class="rounded bg-blue-50/30 text-blue-800 font-medium px-2 py-1 leading-tight text-xs border border-blue-600/60 dark:text-blue-300 dark:bg-blue-500/20 dark:border-blue-700/50">Blue</span>
|
16
|
+
|
17
|
+
<span class="rounded bg-indigo-50/30 text-indigo-800 font-medium px-2 py-1 leading-tight text-xs border border-indigo-600/60 dark:text-indigo-300 dark:bg-indigo-500/20 dark:border-indigo-700/50">Indigo</span>
|
18
|
+
|
19
|
+
<span class="rounded bg-purple-50/30 text-purple-800 font-medium px-2 py-1 leading-tight text-xs border border-indigo-600/60 dark:text-purple-300 dark:bg-purple-500/20 dark:border-purple-700/50">Purple</span>
|
20
|
+
|
21
|
+
<span class="rounded bg-pink-100 text-pink-800 font-medium px-2 py-1 leading-tight text-xs border border-pink-600/60 dark:text-pink-300 dark:bg-pink-500/20 dark:border-pink-700/50">Pink</span>
|
22
|
+
|
23
|
+
<span class="rounded bg-white-100 text-neutral-800 border border-neutral-400 font-medium px-2 py-1 leading-tight text-xs dark:bg-white/10 dark:text-white/80 dark:border-white/30">White</span>
|
24
|
+
<% end %>
|
25
|
+
|
26
|
+
<% content_for :example, flush: true do %>
|
27
|
+
<% content_for :html, flush: true do %>
|
28
|
+
<!-- Gray -->
|
29
|
+
<span class="rounded text-neutral-800 font-medium px-2 py-1 text-xs border border-neutral-800/60 bg-neutral-50/60 dark:bg-neutral-500/20 dark:text-neutral-200 dark:border-neutral-500/40">Gray</span>
|
30
|
+
|
31
|
+
<!-- Red -->
|
32
|
+
<span class="rounded bg-red-50/30 text-red-600 font-medium px-2 py-1 text-xs border border-red-600/60 dark:border-red-700/50 dark:bg-red-500/20 dark:text-red-300">Red</span>
|
33
|
+
|
34
|
+
<!-- Orange -->
|
35
|
+
<span class="rounded bg-orange-50/30 text-orange-600 font-medium px-2 py-1 text-xs border border-orange-600/60 dark:border-orange-700/50 dark:bg-orange-500/20 dark:text-orange-300">Orange</span>
|
36
|
+
|
37
|
+
<!-- Yellow -->
|
38
|
+
<span class="rounded bg-yellow-50/30 text-yellow-700 font-medium px-2 py-1 text-xs border border-yellow-500/60 dark:text-yellow-300 dark:bg-yellow-500/20 dark:border-yellow-700/50">Yellow</span>
|
39
|
+
|
40
|
+
<!-- Green -->
|
41
|
+
<span class="rounded bg-green-50/30 text-green-700 font-medium px-2 py-1 text-xs border border-green-500/60 dark:text-green-300 dark:bg-green-500/20 dark:border-green-700/50">Green</span>
|
42
|
+
|
43
|
+
<!-- Blue -->
|
44
|
+
<span class="rounded bg-blue-50/30 text-blue-800 font-medium px-2 py-1 leading-tight text-xs border border-blue-600/60 dark:text-blue-300 dark:bg-blue-500/20 dark:border-blue-700/50">Blue</span>
|
45
|
+
|
46
|
+
<!-- Indigo -->
|
47
|
+
<span class="rounded bg-indigo-50/30 text-indigo-800 font-medium px-2 py-1 leading-tight text-xs border border-indigo-600/60 dark:text-indigo-300 dark:bg-indigo-500/20 dark:border-indigo-700/50">Indigo</span>
|
48
|
+
|
49
|
+
<!-- Purple -->
|
50
|
+
<span class="rounded bg-purple-50/30 text-purple-800 font-medium px-2 py-1 leading-tight text-xs border border-indigo-600/60 dark:text-purple-300 dark:bg-purple-500/20 dark:border-purple-700/50">Purple</span>
|
51
|
+
|
52
|
+
<!-- Pink -->
|
53
|
+
<span class="rounded bg-pink-100 text-pink-800 font-medium px-2 py-1 leading-tight text-xs border border-pink-600/60 dark:text-pink-300 dark:bg-pink-500/20 dark:border-pink-700/50">Pink</span>
|
54
|
+
|
55
|
+
<!-- White -->
|
56
|
+
<span class="rounded bg-white-100 text-neutral-800 border border-neutral-400 font-medium px-2 py-1 leading-tight text-xs dark:bg-white/10 dark:text-white/80 dark:border-white/30">White</span>
|
57
|
+
<% end %>
|
58
|
+
|
59
|
+
<% content_for :erb, flush: true do %>
|
60
|
+
|
61
|
+
<% end %>
|
62
|
+
|
63
|
+
|
64
|
+
<%= render_snippet %>
|
65
|
+
<% end %>
|
66
|
+
<% end %>
|
67
|
+
</div>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<div id="badge-pill">
|
2
|
+
<%= render layout: example, locals: { heading: "Pill", section: "Badge" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<span class="rounded-full bg-neutral-100 text-neutral-800 font-medium px-2 py-1 text-xs dark:bg-neutral-500/20 dark:text-neutral-200">Gray</span>
|
6
|
+
|
7
|
+
<span class="rounded-full bg-red-100 text-red-800 font-medium px-2 py-1 text-xs dark:bg-red-500/20 dark:text-red-300">Red</span>
|
8
|
+
|
9
|
+
<span class="rounded-full bg-orange-100 text-orange-700 font-medium px-2 py-1 text-xs dark:bg-orange-500/20 dark:text-orange-300">Orange</span>
|
10
|
+
|
11
|
+
<span class="rounded-full bg-yellow-100 text-yellow-700 font-medium px-2 py-1 text-xs dark:text-yellow-300 dark:bg-yellow-500/20">Yellow</span>
|
12
|
+
|
13
|
+
<span class="rounded-full bg-green-100 text-green-800 font-medium px-2 py-1 text-xs dark:text-green-300 dark:bg-green-500/20">Green</span>
|
14
|
+
|
15
|
+
<span class="rounded-full bg-blue-100 text-blue-800 font-medium px-2 py-1 leading-tight text-xs dark:text-blue-300 dark:bg-blue-500/20">Blue</span>
|
16
|
+
|
17
|
+
<span class="rounded-full bg-indigo-100 text-indigo-800 font-medium px-2 py-1 leading-tight text-xs dark:text-indigo-300 dark:bg-indigo-500/20">Indigo</span>
|
18
|
+
|
19
|
+
<span class="rounded-full bg-purple-100 text-purple-800 font-medium px-2 py-1 leading-tight text-xs dark:text-purple-300 dark:bg-purple-500/20">Purple</span>
|
20
|
+
|
21
|
+
<span class="rounded-full bg-pink-100 text-pink-800 font-medium px-2 py-1 leading-tight text-xs dark:text-pink-300 dark:bg-pink-500/20">Pink</span>
|
22
|
+
|
23
|
+
<span class="rounded-full bg-white-100 text-neutral-800 border border-neutral-200 font-medium px-2 py-1 leading-tight text-xs dark:border-none dark:bg-white/10 dark:text-white/80">White</span>
|
24
|
+
<% end %>
|
25
|
+
|
26
|
+
<% content_for :example, flush: true do %>
|
27
|
+
<% content_for :html, flush: true do %>
|
28
|
+
<!-- Gray -->
|
29
|
+
<span class="rounded-full bg-neutral-100 text-neutral-800 font-medium px-2 py-1 text-xs dark:bg-neutral-500/20 dark:text-neutral-200">Gray</span>
|
30
|
+
|
31
|
+
<!-- Red -->
|
32
|
+
<span class="rounded-full bg-red-100 text-red-800 font-medium px-2 py-1 text-xs dark:bg-red-500/20 dark:text-red-300">Red</span>
|
33
|
+
|
34
|
+
<!-- Orange -->
|
35
|
+
<span class="rounded-full bg-orange-100 text-orange-700 font-medium px-2 py-1 text-xs dark:bg-orange-500/20 dark:text-orange-300">Orange</span>
|
36
|
+
|
37
|
+
<!-- Yellow -->
|
38
|
+
<span class="rounded-full bg-yellow-100 text-yellow-700 font-medium px-2 py-1 text-xs dark:text-yellow-300 dark:bg-yellow-500/20">Yellow</span>
|
39
|
+
|
40
|
+
<!-- Green -->
|
41
|
+
<span class="rounded-full bg-green-100 text-green-800 font-medium px-2 py-1 text-xs dark:text-green-300 dark:bg-green-500/20">Green</span>
|
42
|
+
|
43
|
+
<!-- Blue -->
|
44
|
+
<span class="rounded-full bg-blue-100 text-blue-800 font-medium px-2 py-1 leading-tight text-xs dark:text-blue-300 dark:bg-blue-500/20">Blue</span>
|
45
|
+
|
46
|
+
<!-- Indigo -->
|
47
|
+
<span class="rounded-full bg-indigo-100 text-indigo-800 font-medium px-2 py-1 leading-tight text-xs dark:text-indigo-300 dark:bg-indigo-500/20">Indigo</span>
|
48
|
+
|
49
|
+
<!-- Purple -->
|
50
|
+
<span class="rounded-full bg-purple-100 text-purple-800 font-medium px-2 py-1 leading-tight text-xs dark:text-purple-300 dark:bg-purple-500/20">Purple</span>
|
51
|
+
|
52
|
+
<!-- Pink -->
|
53
|
+
<span class="rounded-full bg-pink-100 text-pink-800 font-medium px-2 py-1 leading-tight text-xs dark:text-pink-300 dark:bg-pink-500/20">Pink</span>
|
54
|
+
|
55
|
+
<!-- White -->
|
56
|
+
<span class="rounded-full bg-white-100 text-neutral-800 border border-neutral-200 font-medium px-2 py-1 leading-tight text-xs dark:border-none dark:bg-white/10 dark:text-white/80">White</span>
|
57
|
+
<% end %>
|
58
|
+
|
59
|
+
<% content_for :erb, flush: true do %>
|
60
|
+
|
61
|
+
<% end %>
|
62
|
+
|
63
|
+
|
64
|
+
<%= render_snippet %>
|
65
|
+
<% end %>
|
66
|
+
<% end %>
|
67
|
+
</div>
|