Sha256: 7084e28e8f853e140e0dbbb1f5a42c506771ce191d82e4b3d9f136b368dfb04c
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
<!DOCTYPE html> <html> <head> <title>Shoelace Test</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <%= csrf_meta_tags %> <%= csp_meta_tag %> <style> body { font-family: var(--sl-font-sans); font-size: var(--sl-font-size-medium); font-weight: var(--sl-font-weight-normal); letter-spacing: var(--sl-letter-spacing-normal); color: var(--sl-color-gray-800); line-height: var(--sl-line-height-normal); } sl-form div, sl-turbo-form div { margin-bottom: 2em; } </style> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.0.0-beta.88/dist/themes/light.css"> <script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.0.0-beta.88/dist/shoelace.js"></script> <% if request.path.include?("hotwire") %> <%= javascript_pack_tag 'hotwire' %> <% else %> <%= javascript_pack_tag 'turbolinks' %> <% end %> </head> <body> <div style="width: 950px; margin: auto"> <%= yield %> </div> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shoelace-rails-0.4.1 | test/dummy_app/app/views/layouts/application.html.erb |
shoelace-rails-0.4.0 | test/dummy_app/app/views/layouts/application.html.erb |