railsui 3.1.5 → 3.2.1
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/shared/_flash_messages.html.erb +2 -2
- data/app/views/railsui/shared/_full_access_cta.html.erb +27 -0
- 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
@@ -26,12 +26,6 @@
|
|
26
26
|
<%% end %>
|
27
27
|
<% end %>
|
28
28
|
|
29
|
-
<% content_for :haml, flush: true do %>
|
30
|
-
= form_with model: @form do |f|
|
31
|
-
.form-group
|
32
|
-
= f.label :email, class: "form-label"
|
33
|
-
= f.email_field :email, class: "form-input", placeholder: "john.doe@example.com", "aria-label": "Email"
|
34
|
-
<% end %>
|
35
29
|
|
36
30
|
<%= render_snippet %>
|
37
31
|
<% end %>
|
@@ -71,13 +65,6 @@
|
|
71
65
|
<%% end %>
|
72
66
|
<% end %>
|
73
67
|
|
74
|
-
<% content_for :haml, flush: true do %>
|
75
|
-
= form_with model: @form do |f|
|
76
|
-
.form-group
|
77
|
-
= f.label :email, class: "form-label"
|
78
|
-
= f.email_field :email, class: "form-input", placeholder: "john.doe@example.com", "aria-label": "Email"
|
79
|
-
%p.text-sm.text-slate-600.dark:text-slate-400.leading-relaxed.mt-1 This text helps you, right?
|
80
|
-
<% end %>
|
81
68
|
|
82
69
|
<%= render_snippet %>
|
83
70
|
<% end %>
|
@@ -135,23 +122,6 @@
|
|
135
122
|
<%% end %>
|
136
123
|
<% end %>
|
137
124
|
|
138
|
-
<%# .haml %>
|
139
|
-
<% content_for :haml, flush: true do %>
|
140
|
-
/ ActionView::Helpers::FormTagHelper
|
141
|
-
.form-group.relative
|
142
|
-
= email_field_tag "email", nil, class: "form-control", "aria-label": "Email", placeholder: "john.doe@example.com"
|
143
|
-
= icon "exclamation-circle", class: "hidden size-5 text-slate-400 absolute left-3 top-3"
|
144
|
-
%p.hidden.mt-1.text-sm.text-red-700.dark:text-red-400 Please enter a valid email
|
145
|
-
|
146
|
-
/ ActionView::Helpers::FormHelper
|
147
|
-
= form_with model: @form do |f|
|
148
|
-
.form-group.relative
|
149
|
-
= f.email_field :email, class: "form-control", "aria-label": "Email", placeholder: "john.doe@example.com"
|
150
|
-
= icon "exclamation-circle", class: "hidden size-5 text-slate-400 absolute left-3 top-3"
|
151
|
-
= f.submit class: "btn btn-primary"
|
152
|
-
<% end %>
|
153
|
-
<%= render_snippet %>
|
154
|
-
<% end %>
|
155
125
|
<% end %>
|
156
126
|
</div>
|
157
127
|
|
@@ -218,27 +188,6 @@
|
|
218
188
|
<%% end %>
|
219
189
|
<% end %>
|
220
190
|
|
221
|
-
<%# .haml %>
|
222
|
-
<% content_for :haml, flush: true do %>
|
223
|
-
/ ActionView::Helpers::FormTagHelper
|
224
|
-
.form-group
|
225
|
-
= label_tag "email", "Email", class: "form-label"
|
226
|
-
.relative
|
227
|
-
= email_field_tag "email", "john.doe@", class: "form-input peer pr-10 invalid:border-red-700 invalid:text-red-700 invalid:ring-red-50 dark:invalid:border-red-400 dark:invalid:text-red-400 dark:invalid:ring-red-50/10", "aria-label": "Email", placeholder: "john.doe@example.com"
|
228
|
-
= icon "exclamation-circle", class: "size-5 text-red-700 dark:text-red-400 absolute right-3 top-3 invisible peer-invalid:visible"
|
229
|
-
%p.mt-1.text-sm.text-red-700.dark:text-red-400.invisible.peer-invalid:visible
|
230
|
-
Please enter a valid email
|
231
|
-
|
232
|
-
/ ActionView::Helpers::FormHelper
|
233
|
-
= form_with model: @form do |f|
|
234
|
-
.form-group
|
235
|
-
.relative
|
236
|
-
= f.email_field :email, class: "form-input peer pr-10 invalid:border-red-700 invalid:text-red-700 invalid:ring-red-50 dark:invalid:border-red-400 dark:invalid:text-red-400 dark:invalid:ring-red-50/10", "aria-label": "Email", placeholder: "john.doe@example.com"
|
237
|
-
= icon "exclamation-circle", class: "size-5 text-red-700 dark:text-red-400 absolute right-3 top-3 invisible peer-invalid:visible"
|
238
|
-
%p.mt-1.text-sm.text-red-700.dark:text-red-400.invisible.peer-invalid:visible
|
239
|
-
Please enter a valid email
|
240
|
-
= f.submit class: "btn btn-primary"
|
241
|
-
<% end %>
|
242
191
|
<%= render_snippet %>
|
243
192
|
<% end %>
|
244
193
|
<% end %>
|
@@ -278,12 +227,6 @@
|
|
278
227
|
<%% end %>
|
279
228
|
<% end %>
|
280
229
|
|
281
|
-
<% content_for :haml, flush: true do %>
|
282
|
-
= form_with model: @form do |f|
|
283
|
-
.form-group
|
284
|
-
= f.label :email, class: "form-label"
|
285
|
-
= f.email_field :email, class: "form-input", placeholder: "john.doe@example.com", "aria-label": "Email", disabled: true
|
286
|
-
<% end %>
|
287
230
|
|
288
231
|
<%= render_snippet %>
|
289
232
|
<% end %>
|
@@ -333,14 +276,6 @@
|
|
333
276
|
<%% end %>
|
334
277
|
<% end %>
|
335
278
|
|
336
|
-
<% content_for :haml, flush: true do %>
|
337
|
-
= form_with model: @form do |f|
|
338
|
-
.form-group
|
339
|
-
= f.label :website, class: "form-label"
|
340
|
-
.relative
|
341
|
-
.absolute.left-px.border-r.border-slate-300.top-px.bg-slate-100.dark:border-slate-700.dark:text-slate-200.text-base.rounded-l-lg.flex.items-center.justify-center.px-3.text-slate-700.select-none{class: "dark:bg-slate-700/80 h-[40px]"} https://
|
342
|
-
= f.text_field :website, class: "form-input pl-[90px]" placeholder: "example.com" "aria-label":"Website"
|
343
|
-
<% end %>
|
344
279
|
|
345
280
|
<%= render_snippet %>
|
346
281
|
<% end %>
|
@@ -389,15 +324,6 @@
|
|
389
324
|
<%% end %>
|
390
325
|
<% end %>
|
391
326
|
|
392
|
-
<% content_for :haml, flush: true do %>
|
393
|
-
= form_with model: @form do |f|
|
394
|
-
.form-group
|
395
|
-
= f.label :amount, "Enter amount", class: "form-label"
|
396
|
-
.relative
|
397
|
-
%span.absolute.left-3.text-slate-500.dark:text-slate-400{class: "top-[9px]"} $
|
398
|
-
= f.text_field :amount, class: "form-input pl-7", placeholder: "5.00", "aria-label": "Enter amount"
|
399
|
-
%span.absolute.right-3.top-[11px].text-slate-500.text-sm USD
|
400
|
-
<% end %>
|
401
327
|
|
402
328
|
<%= render_snippet %>
|
403
329
|
<% end %>
|
@@ -446,15 +372,6 @@
|
|
446
372
|
<%% end %>
|
447
373
|
<% end %>
|
448
374
|
|
449
|
-
<% content_for :haml, flush: true do %>
|
450
|
-
= form_with model: @form do |f|
|
451
|
-
.form-group
|
452
|
-
= f.label :users, "Search users", class: "form-label"
|
453
|
-
.relative
|
454
|
-
= icon "users", class: "size-5 stroke-current text-slate-500 absolute left-3 top-3"
|
455
|
-
= f.search_field :users, class: "form-input pl-10", placeholder: "John Doe", "aria-label": "Search users"
|
456
|
-
= f.submit class: "rounded-r-lg rounded-l-none bg-slate-100 border-slate-300 border rounded px-4 py-[9px] absolute right-0 shadow-xs top-0 focus:ring-4 focus:ring-primary-50 focus:border-slate-400 text-slate-700 dark:bg-slate-700 dark:text-slate-100 dark:border-slate-600 dark:focus:ring-primary-500/30 font-semibold text-[14.5px]"
|
457
|
-
<% end %>
|
458
375
|
|
459
376
|
<%= render_snippet %>
|
460
377
|
<% end %>
|
@@ -71,19 +71,6 @@
|
|
71
71
|
<%% end %>
|
72
72
|
<% end %>
|
73
73
|
|
74
|
-
<%# .haml %>
|
75
|
-
<% content_for :haml, flush: true do %>
|
76
|
-
/ ActionView::Helpers::FormHelper
|
77
|
-
= form_with model: @form do |f|
|
78
|
-
.form-group
|
79
|
-
.mb-2.flex.items-center
|
80
|
-
= f.radio_button_tag "radio_default", "1", false, class: "form-input-radio"
|
81
|
-
= f.label :radio_default_1, "Default radio", class: "ml-2"
|
82
|
-
.flex.items-center
|
83
|
-
= f.radio_button_tag "radio_default", "2", true, class: "form-input-radio"
|
84
|
-
= f.label :radio_default_2, "Default checked radio", class: "ml-2"
|
85
|
-
= f.submit class: "btn btn-primary"
|
86
|
-
<% end %>
|
87
74
|
<%= render_snippet %>
|
88
75
|
<% end %>
|
89
76
|
<% end %>
|
@@ -42,15 +42,6 @@
|
|
42
42
|
<%% end %>
|
43
43
|
<% end %>
|
44
44
|
|
45
|
-
<%# .haml %>
|
46
|
-
<% content_for :haml, flush: true do %>
|
47
|
-
/ ActionView::Helpers::FormHelper
|
48
|
-
= form_with model: @form do |f|
|
49
|
-
.mb-3
|
50
|
-
= f.label :select_1, "Select example", class: "form-label"
|
51
|
-
= f.select :select_1, options_for_select([["One", "1"], ["Two", "1"], ["Three", "1"]]), { prompt: "Open this select menu" }, { class: "form-select", "aria-label": "Default select example" }
|
52
|
-
= f.submit class: "btn btn-primary"
|
53
|
-
<% end %>
|
54
45
|
<%= render_snippet %>
|
55
46
|
<% end %>
|
56
47
|
<% end %>
|
@@ -94,13 +85,6 @@
|
|
94
85
|
</div>
|
95
86
|
<% end %>
|
96
87
|
|
97
|
-
<%# .haml %>
|
98
|
-
<% content_for :haml, flush: true do %>
|
99
|
-
.form-group.flex.items-center.space-x-3.max-w-sm
|
100
|
-
= select_day Date.today.day, {}, { class: "form-select" } %>
|
101
|
-
= select_month Date.today.month, {}, { class: "form-select" }%>
|
102
|
-
= select_year Date.today.year, {}, { class: "form-select" } %>
|
103
|
-
<% end %>
|
104
88
|
<%= render_snippet %>
|
105
89
|
<% end %>
|
106
90
|
<% end %>
|
@@ -39,15 +39,6 @@
|
|
39
39
|
<%% end %>
|
40
40
|
<% end %>
|
41
41
|
|
42
|
-
<%# .haml %>
|
43
|
-
<% content_for :haml, flush: true do %>
|
44
|
-
/ ActionView::Helpers::FormHelper
|
45
|
-
= form_with model: @form do |f|
|
46
|
-
.form-group
|
47
|
-
= f.check_box :switch_default, class: "form-input-switch"
|
48
|
-
= f.label :switch_default, class: "form-label mb-0"
|
49
|
-
= f.submit class: "btn btn-primary"
|
50
|
-
<% end %>
|
51
42
|
<%= render_snippet %>
|
52
43
|
<% end %>
|
53
44
|
<% end %>
|
@@ -48,21 +48,6 @@
|
|
48
48
|
<%% end %>
|
49
49
|
<% end %>
|
50
50
|
|
51
|
-
<% content_for :haml, flush: true do %>
|
52
|
-
/ app/views/rui/shared/_error_messages.html.erb
|
53
|
-
|
54
|
-
- if resource.errors.any?
|
55
|
-
.bg-rose-50.text-rose-700.sm:px-9.sm:py-6.px-6.py-6.rounded-lg.mb-6.dark:border.dark:text-rose-50.text-sm{class: "dark:bg-rose-400/10 dark:border-rose-400/20", role: "alert"}
|
56
|
-
.flex.items-start.space-x-4
|
57
|
-
= icon "shield-exclamation", class: "size-6 text-rose-700 flex-shrink-0", variant: :solid
|
58
|
-
.flex-1
|
59
|
-
%p.font-bold
|
60
|
-
= pluralize(resource.errors.count, "error")
|
61
|
-
prohibited this #{resource.class.name.downcase} from being saved:
|
62
|
-
%ul.list-disc.mt-3.ml-4
|
63
|
-
- resource.errors.each do |error|
|
64
|
-
%li= error.full_message
|
65
|
-
<% end %>
|
66
51
|
<%= render_snippet active_tab: "erb" %>
|
67
52
|
<% end %>
|
68
53
|
<% end %>
|
@@ -538,443 +538,12 @@ end
|
|
538
538
|
</html>
|
539
539
|
<% end %>
|
540
540
|
|
541
|
-
<% content_for :haml, flush: true do %>
|
542
|
-
!!!
|
543
|
-
%html
|
544
|
-
%body
|
545
|
-
- # Refer to Tailwind's colors for max control
|
546
|
-
- # https://tailwindcss.com/docs/customizing-colors#using-css-variables
|
547
|
-
- theme = {
|
548
|
-
- align_logo: "center",
|
549
|
-
- primary: "#4f46e5",
|
550
|
-
- secondary: "#1e293b",
|
551
|
-
- heading_text_color: "#0f172a",
|
552
|
-
- footer_text_color: "#94a3b8",
|
553
|
-
- body_text_color: "#334155",
|
554
|
-
- light_text_color: "#94a3b8",
|
555
|
-
- callout_bg_color: "#e0e7ff",
|
556
|
-
- callout_border_color: "#a5b4fc",
|
557
|
-
- callout_text_color: "#4338ca"
|
558
|
-
- }
|
559
|
-
%meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
560
|
-
:css
|
561
|
-
@media all {
|
562
|
-
.ExternalClass {
|
563
|
-
width: 100%;
|
564
|
-
}
|
565
|
-
.ExternalClass,
|
566
|
-
.ExternalClass p,
|
567
|
-
.ExternalClass span,
|
568
|
-
.ExternalClass font,
|
569
|
-
.ExternalClass td,
|
570
|
-
.ExternalClass div {
|
571
|
-
line-height: 100%;
|
572
|
-
}
|
573
|
-
}
|
574
|
-
|
575
|
-
img {
|
576
|
-
border: none;
|
577
|
-
-ms-interpolation-mode: bicubic;
|
578
|
-
max-width: 100%;
|
579
|
-
}
|
580
|
-
|
581
|
-
img.rounded-full {
|
582
|
-
border-radius: 99999px;
|
583
|
-
width: 20px;
|
584
|
-
height: 20px;
|
585
|
-
margin-bottom: -2px;
|
586
|
-
margin-bottom: -2px;
|
587
|
-
}
|
588
|
-
|
589
|
-
table {
|
590
|
-
border-collapse: separate;
|
591
|
-
mso-table-lspace: 0pt;
|
592
|
-
mso-table-rspace: 0pt;
|
593
|
-
width: 100%;
|
594
|
-
}
|
595
|
-
|
596
|
-
table td {
|
597
|
-
font-family: sans-serif;
|
598
|
-
font-size: 16px;
|
599
|
-
vertical-align: top;
|
600
|
-
}
|
601
|
-
|
602
|
-
.container {
|
603
|
-
display: block;
|
604
|
-
margin: 0 auto !important;
|
605
|
-
/* makes it centered */
|
606
|
-
max-width: 600px;
|
607
|
-
padding: 10px;
|
608
|
-
width: 600px;
|
609
|
-
}
|
610
|
-
|
611
|
-
.content {
|
612
|
-
box-sizing: border-box;
|
613
|
-
display: block;
|
614
|
-
margin: 0 auto;
|
615
|
-
max-width: 600px;
|
616
|
-
padding: 20px;
|
617
|
-
line-height: 1.6;
|
618
|
-
color: #{theme[:body_text_color]};
|
619
|
-
}
|
620
|
-
|
621
|
-
.logo {
|
622
|
-
color: #222;
|
623
|
-
text-decoration: none;
|
624
|
-
font-size: 18px;
|
625
|
-
font-weight: 500;
|
626
|
-
line-height: 0;
|
627
|
-
}
|
628
|
-
|
629
|
-
.logo:hover {
|
630
|
-
text-decoration: none;
|
631
|
-
}
|
632
|
-
|
633
|
-
.main {
|
634
|
-
background: #ffffff;
|
635
|
-
width: 100%;
|
636
|
-
}
|
637
|
-
|
638
|
-
.wrapper {
|
639
|
-
box-sizing: border-box;
|
640
|
-
padding: 20px;
|
641
|
-
}
|
642
|
-
|
643
|
-
.footer {
|
644
|
-
clear: both;
|
645
|
-
padding-top: 16px;
|
646
|
-
margin-bottom: 16px;
|
647
|
-
text-align: center;
|
648
|
-
}
|
649
|
-
|
650
|
-
.footer td,
|
651
|
-
.footer p,
|
652
|
-
.footer span,
|
653
|
-
.footer a {
|
654
|
-
color: #{theme[:footer_text_color]};
|
655
|
-
font-size: 13px;
|
656
|
-
line-height: 150%;
|
657
|
-
margin: 0;
|
658
|
-
text-align: center;
|
659
|
-
}
|
660
|
-
|
661
|
-
h1,
|
662
|
-
h2,
|
663
|
-
h3,
|
664
|
-
h4 {
|
665
|
-
color: #{theme[:heading_text_color]};
|
666
|
-
font-family: 'system-ui',
|
667
|
-
'-apple-system',
|
668
|
-
'BlinkMacSystemFont',
|
669
|
-
'"Segoe UI"',
|
670
|
-
'Roboto',
|
671
|
-
'"Helvetica Neue"',
|
672
|
-
'Arial',
|
673
|
-
'"Noto Sans"',
|
674
|
-
'sans-serif',
|
675
|
-
'"Apple Color Emoji"',
|
676
|
-
'"Segoe UI Emoji"',
|
677
|
-
'"Segoe UI Symbol"',
|
678
|
-
'"Noto Color Emoji"';
|
679
|
-
line-height: 1.4;
|
680
|
-
margin-bottom: 20px;
|
681
|
-
}
|
682
|
-
|
683
|
-
h1 {
|
684
|
-
font-size: 24px;
|
685
|
-
font-weight: 800;
|
686
|
-
line-height: 30px;
|
687
|
-
}
|
688
|
-
|
689
|
-
h2 {
|
690
|
-
font-size: 22px;
|
691
|
-
font-weight: 800;
|
692
|
-
}
|
693
|
-
|
694
|
-
p,
|
695
|
-
ul,
|
696
|
-
ol,
|
697
|
-
table.callout {
|
698
|
-
font-family: sans-serif;
|
699
|
-
font-size: 16px;
|
700
|
-
font-weight: normal;
|
701
|
-
margin-bottom: 18px;
|
702
|
-
}
|
703
|
-
|
704
|
-
ul {
|
705
|
-
padding-left: 16px;
|
706
|
-
margin: 10px 0;
|
707
|
-
Margin: 10px 0;
|
708
|
-
list-style-type: disc;
|
709
|
-
}
|
710
|
-
|
711
|
-
ul li {
|
712
|
-
Margin-bottom: 10px;
|
713
|
-
margin-bottom: 10px;
|
714
|
-
}
|
715
|
-
|
716
|
-
p li,
|
717
|
-
ul li,
|
718
|
-
ol li {
|
719
|
-
list-style-position: outside;
|
720
|
-
}
|
721
|
-
|
722
|
-
p.no-bottom-margin {
|
723
|
-
margin-bottom: 0;
|
724
|
-
}
|
725
|
-
|
726
|
-
a {
|
727
|
-
color: #{theme[:primary]};
|
728
|
-
text-decoration: underline;
|
729
|
-
}
|
730
|
-
|
731
|
-
a:hover {
|
732
|
-
text-decoration: underline;
|
733
|
-
}
|
734
|
-
|
735
|
-
.intro blockquote {
|
736
|
-
font-style: italic;
|
737
|
-
color: #111827 !important;
|
738
|
-
border-left: 5px solid #e5e7eb;
|
739
|
-
margin: 0 0 18px 0;
|
740
|
-
padding-left: 24px;
|
741
|
-
}
|
742
|
-
|
743
|
-
.intro blockquote p {
|
744
|
-
font-weight: 500 !important;
|
745
|
-
font-style: italic;
|
746
|
-
color: #111827 !important;
|
747
|
-
margin: 0;
|
748
|
-
}
|
749
|
-
|
750
|
-
.last {
|
751
|
-
margin-bottom: 0;
|
752
|
-
}
|
753
|
-
|
754
|
-
.first {
|
755
|
-
margin-top: 0;
|
756
|
-
}
|
757
|
-
|
758
|
-
.align-center {
|
759
|
-
text-align: center;
|
760
|
-
}
|
761
|
-
|
762
|
-
.align-right {
|
763
|
-
text-align: right;
|
764
|
-
}
|
765
|
-
|
766
|
-
.align-left {
|
767
|
-
text-align: left;
|
768
|
-
}
|
769
|
-
|
770
|
-
.mt-0 {
|
771
|
-
margin-top: 0;
|
772
|
-
}
|
773
|
-
|
774
|
-
.mb-0 {
|
775
|
-
margin-bottom: 0;
|
776
|
-
}
|
777
|
-
|
778
|
-
.mt-10 {
|
779
|
-
margin-top: 10px;
|
780
|
-
Margin-top: 10px;
|
781
|
-
}
|
782
|
-
|
783
|
-
.mb-10 {
|
784
|
-
margin-bottom: 10px;
|
785
|
-
Margin-bottom: 10px;
|
786
|
-
}
|
787
|
-
|
788
|
-
.small {
|
789
|
-
font-size: 14px;
|
790
|
-
color: #{theme[:light_text_color]};
|
791
|
-
line-height: 130%;
|
792
|
-
}
|
793
|
-
|
794
|
-
hr {
|
795
|
-
border: 0;
|
796
|
-
border-bottom: 1px solid #f6f6f6;
|
797
|
-
margin: 20px 0;
|
798
|
-
}
|
799
|
-
|
800
|
-
table.callout td {
|
801
|
-
background-color: #{theme[:callout_bg_color]};
|
802
|
-
border: 1px solid #{theme[:callout_border_color]};
|
803
|
-
padding: 10px;
|
804
|
-
border-radius: 6px;
|
805
|
-
color: #{theme[:callout_text_color]}
|
806
|
-
}
|
807
|
-
|
808
|
-
table.callout td p {
|
809
|
-
margin-bottom: 0;
|
810
|
-
}
|
811
|
-
|
812
|
-
.view-in-browser {
|
813
|
-
font-size: 12px;
|
814
|
-
color: #{theme[:light_text_color]};
|
815
|
-
margin-bottom: 10px;
|
816
|
-
text-align: center;
|
817
|
-
display: block;
|
818
|
-
}
|
819
|
-
|
820
|
-
table.social-links {
|
821
|
-
width: auto;
|
822
|
-
}
|
823
|
-
|
824
|
-
table.social-links td {
|
825
|
-
width: 44px;
|
826
|
-
overflow: hidden;
|
827
|
-
text-align: center;
|
828
|
-
}
|
829
|
-
|
830
|
-
table.social-links td img {
|
831
|
-
display: inline;
|
832
|
-
}
|
833
|
-
|
834
|
-
@media only screen and (max-width: 620px) {
|
835
|
-
table[class="body"] a.view-in-browser {
|
836
|
-
font-size: 12px !important;
|
837
|
-
margin-top: 10px;
|
838
|
-
}
|
839
|
-
|
840
|
-
table[class="body"] h1 {
|
841
|
-
font-size: 28px !important;
|
842
|
-
margin-bottom: 10px !important;
|
843
|
-
}
|
844
|
-
|
845
|
-
table[class="body"] a,
|
846
|
-
table[class="body"] ol,
|
847
|
-
table[class="body"] p,
|
848
|
-
table[class="body"] span,
|
849
|
-
table[class="body"] td,
|
850
|
-
table[class="body"] ul {
|
851
|
-
font-size: 16px !important;
|
852
|
-
}
|
853
|
-
|
854
|
-
table[class="body"] p.small {
|
855
|
-
font-size: 14px !important;
|
856
|
-
}
|
857
|
-
|
858
|
-
table[class="body"] .footer {
|
859
|
-
padding: 10px;
|
860
|
-
}
|
861
|
-
|
862
|
-
table[class="body"] .footer p {
|
863
|
-
font-size: 16px !important;;
|
864
|
-
line-height: 150%;
|
865
|
-
}
|
866
|
-
|
867
|
-
.wrapper {
|
868
|
-
padding: 20px 10px !important;
|
869
|
-
}
|
870
|
-
|
871
|
-
.content {
|
872
|
-
padding: 0 !important;
|
873
|
-
}
|
874
|
-
|
875
|
-
.container {
|
876
|
-
padding: 0 !important;
|
877
|
-
width: 100.85% !important;
|
878
|
-
}
|
879
|
-
|
880
|
-
.main {
|
881
|
-
border-left-width: 0 !important;
|
882
|
-
border-radius: 0 !important;
|
883
|
-
border-right-width: 0 !important;
|
884
|
-
width: 100% !important;
|
885
|
-
}
|
886
|
-
|
887
|
-
.img-responsive {
|
888
|
-
height: auto !important;
|
889
|
-
max-width: 100% !important;
|
890
|
-
width: auto !important;
|
891
|
-
}
|
892
|
-
|
893
|
-
.action__link--primary,
|
894
|
-
.action__link--secondary {
|
895
|
-
border-width: 10px 0px !important;
|
896
|
-
}
|
897
|
-
}
|
898
|
-
|
899
|
-
/* Action buttons */
|
900
|
-
.action__link {
|
901
|
-
display: inline-block;
|
902
|
-
text-decoration: none !important;
|
903
|
-
text-align: center;
|
904
|
-
border-radius: 3px;
|
905
|
-
-webkit-text-size-adjust: none;
|
906
|
-
color: white !important;
|
907
|
-
font-size: 16px;
|
908
|
-
}
|
909
|
-
/* Update your brand colors here */
|
910
|
-
.action__link--primary {
|
911
|
-
background-color: #{theme[:primary]};
|
912
|
-
border-top: 8px solid #{theme[:primary]};
|
913
|
-
border-right: 18px solid #{theme[:primary]};
|
914
|
-
border-bottom: 8px solid #{theme[:primary]};
|
915
|
-
border-left: 18px solid #{theme[:primary]};
|
916
|
-
}
|
917
|
-
|
918
|
-
.action__link--secondary {
|
919
|
-
color: white;
|
920
|
-
background-color: #{theme[:secondary]};
|
921
|
-
border-top: 8px solid #{theme[:secondary]};
|
922
|
-
border-right: 18px solid #{theme[:secondary]};
|
923
|
-
border-bottom: 8px solid #{theme[:secondary]};
|
924
|
-
border-left: 18px solid #{theme[:secondary]};
|
925
|
-
}
|
926
|
-
|
927
|
-
.action {
|
928
|
-
width: 100%;
|
929
|
-
padding: 0 0 5px 0 !important;
|
930
|
-
text-align: center;
|
931
|
-
}
|
932
|
-
|
933
|
-
.action__link--expanded {
|
934
|
-
width: 100%;
|
935
|
-
}
|
936
|
-
|
937
|
-
.action td {
|
938
|
-
padding: 0 !important;
|
939
|
-
border: none;
|
940
|
-
}
|
941
|
-
|
942
|
-
@media only screen and (max-width: 600px) {
|
943
|
-
.action a {
|
944
|
-
width: 100%;
|
945
|
-
}
|
946
|
-
}
|
947
|
-
%table.body{border: "0", cellpadding: "0", cellspacing: "0"}
|
948
|
-
%tr
|
949
|
-
%td.container
|
950
|
-
.content
|
951
|
-
%table.main{border: "0", cellpadding: "0", cellspacing: "0"}
|
952
|
-
%tr
|
953
|
-
%td
|
954
|
-
%table{border: "0", cellpadding: "0", cellspacing: "0"}
|
955
|
-
%tr
|
956
|
-
%td.wrapper
|
957
|
-
%table{align: "#{theme[:align_logo] ||= "left"}"}
|
958
|
-
%tr
|
959
|
-
%td{align: "#{theme[:align_logo] ||= "left"}"}
|
960
|
-
= spacer(12)
|
961
|
-
= link_to root_url, class: "logo", target: :_blank do
|
962
|
-
= image_tag Railsui.theme_logo_url, style: "width: 40px; max-width: 40px; height: auto; display: inline; text-align: center;", alt: "#{Railsui.config.application_name} logo"
|
963
|
-
= spacer(24)
|
964
|
-
= yield
|
965
|
-
= spacer(8)
|
966
|
-
%table.footer{border: "0", cellpadding: "0", cellspacing: "0"}
|
967
|
-
%tr
|
968
|
-
%td
|
969
|
-
Please contact #{mail_to Railsui.config.support_email, Railsui.config.support_email, subject: "Help", body: "I need help...", style: "text-decoration: underline;"} if you have any questions.
|
970
|
-
%td
|
971
|
-
<% end %>
|
972
541
|
|
973
542
|
<% content_for :ruby, flush: true do %>
|
974
543
|
|
975
544
|
<% end %>
|
976
545
|
|
977
|
-
<%= render_snippet active_tab: "erb", erb_filename: "mailer.html.erb"
|
546
|
+
<%= render_snippet active_tab: "erb", erb_filename: "mailer.html.erb" %>
|
978
547
|
</div>
|
979
548
|
|
980
549
|
<%= system_pagination(prev_path: systems_mailers_overview_path, prev_text: "Mailers", next_path: systems_mailers_minimal_path, next_text: "Minimal") %>
|
@@ -50,23 +50,8 @@
|
|
50
50
|
<%%= link_to "Learn more", "https://railsui.com" %>
|
51
51
|
<% end %>
|
52
52
|
|
53
|
-
<% content_for :haml, flush: true do %>
|
54
|
-
/ app/views/some_mailer/minimal.haml.erb
|
55
|
-
%h1 This is a heading
|
56
|
-
= spacer(16)
|
57
|
-
%p Lorem ipsum dolor sit amet consectetur adipisicing elit. Excepturi nulla rem ipsam, praesentium quisquam quidem laboriosam nihil cumque, molestias vero enim corrupti corporis quibusdam mollitia! Dolores ipsum eos animi facere.
|
58
|
-
= spacer(16)
|
59
|
-
%ul
|
60
|
-
%li List item 1
|
61
|
-
%li List item 2
|
62
|
-
%li List item 3
|
63
|
-
= spacer(16)
|
64
|
-
%p Lorem ipsum dolor sit amet consectetur adipisicing elit. Excepturi nulla rem ipsam, praesentium quisquam quidem laboriosam nihil cumque, molestias vero enim corrupti corporis quibusdam mollitia! Dolores ipsum eos animi facere.
|
65
|
-
= spacer(16)
|
66
|
-
= link_to "Learn more", "https://railsui.com"
|
67
|
-
<% end %>
|
68
53
|
|
69
|
-
<%= render_snippet active_tab: "erb", erb_filename: "minimal.html.erb"
|
54
|
+
<%= render_snippet active_tab: "erb", erb_filename: "minimal.html.erb" %>
|
70
55
|
|
71
56
|
<% end %>
|
72
57
|
<% end %>
|