basecoat 2.0.0 → 2.0.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/README.md +3 -5
- data/basecoat-new.png +0 -0
- data/lib/basecoat/version.rb +1 -1
- data/lib/generators/basecoat/templates/layouts/_theme_toggle.html.erb +1 -1
- data/lib/generators/basecoat/templates/sessions/new.html.erb +1 -1
- data/lib/tasks/basecoat.rake +4 -4
- metadata +2 -3
- data/basecoat-dark-form.png +0 -0
- data/basecoat-index.png +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1211adbec8da355fa5ec5c1794561f8637b1a0cc08441ad67c560fe550f12b1e
|
|
4
|
+
data.tar.gz: 9e7569725fcfd26c137868fa764d6302b29c1011bda90d00a39e253f857a2474
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0037adf9df5619c1402db0216bb281f340b5008b954a2cb0c1f278165909d5306037183dd93f839a18b09126a5edec914efab7380c339e928ff0144e3d5145d7
|
|
7
|
+
data.tar.gz: b0ebf8d1841064e080c81a4a3ad57cacff757fa78b6e3f1d9534f200e68702d5f4376645ba12aad92509acfea0a0aa28514e54f71370b432a0405209bf924873
|
data/README.md
CHANGED
|
@@ -5,12 +5,10 @@ It is especially powerful for admin applications with a lot of CRUD actions.
|
|
|
5
5
|
|
|
6
6
|
Beautiful responsive, dark & light mode Rails scaffolds, pages for authentication and Devise, and pagy styling.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|

|
|
10
|
-
|
|
11
|
-

|
|
10
|
+
|
|
11
|
+

|
|
14
12
|
|
|
15
13
|
## Why?
|
|
16
14
|
|
data/basecoat-new.png
ADDED
|
Binary file
|
data/lib/basecoat/version.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<button type="button" aria-label="Toggle dark mode" data-tooltip="Toggle dark mode" data-side="left" data-action="click->theme#toggle" class="btn-
|
|
1
|
+
<button type="button" aria-label="Toggle dark mode" data-tooltip="Toggle dark mode" data-side="left" data-action="click->theme#toggle" class="btn-ghost size-8">
|
|
2
2
|
<span class="hidden dark:block"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2"></path><path d="M12 20v2"></path><path d="m4.93 4.93 1.41 1.41"></path><path d="m17.66 17.66 1.41 1.41"></path><path d="M2 12h2"></path><path d="M20 12h2"></path><path d="m6.34 17.66-1.41 1.41"></path><path d="m19.07 4.93-1.41 1.41"></path></svg></span>
|
|
3
3
|
<span class="block dark:hidden"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg></span>
|
|
4
4
|
</button>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<p>Sign in to your account to continue.</p>
|
|
7
7
|
</header>
|
|
8
8
|
<section class="space-y-4">
|
|
9
|
-
<%= form_with url: session_url, html: { class: "grid gap-6" } do |form| %>
|
|
9
|
+
<%= form_with url: session_url, html: { data: { turbo: false }, class: "grid gap-6" } do |form| %>
|
|
10
10
|
<div class="grid gap-3">
|
|
11
11
|
<%= form.label :email_address, "Email", class: "label" %>
|
|
12
12
|
<%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "username", value: params[:email_address], class: "input" %>
|
data/lib/tasks/basecoat.rake
CHANGED
|
@@ -225,8 +225,8 @@ namespace :basecoat do
|
|
|
225
225
|
|
|
226
226
|
<% if defined?(user_signed_in?) && user_signed_in? %>
|
|
227
227
|
<div id="dropdown-user" class="dropdown-menu">
|
|
228
|
-
<button type="button" id="dropdown-user-trigger" aria-haspopup="menu" aria-controls="dropdown-user-menu" aria-expanded="false" class="btn-
|
|
229
|
-
<
|
|
228
|
+
<button type="button" id="dropdown-user-trigger" aria-haspopup="menu" aria-controls="dropdown-user-menu" aria-expanded="false" class="btn-ghost size-8">
|
|
229
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-user-icon lucide-circle-user"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="10" r="3"/><path d="M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662"/></svg>
|
|
230
230
|
</button>
|
|
231
231
|
<div id="dropdown-user-popover" data-popover="" aria-hidden="true" data-align="end">
|
|
232
232
|
<div role="menu" id="dropdown-user-menu" aria-labelledby="dropdown-user-trigger">
|
|
@@ -331,8 +331,8 @@ namespace :basecoat do
|
|
|
331
331
|
|
|
332
332
|
<% if defined?(Current) && defined?(Current.user) && Current.user %>
|
|
333
333
|
<div id="dropdown-user" class="dropdown-menu">
|
|
334
|
-
<button type="button" id="dropdown-user-trigger" aria-haspopup="menu" aria-controls="dropdown-user-menu" aria-expanded="false" class="btn-
|
|
335
|
-
<
|
|
334
|
+
<button type="button" id="dropdown-user-trigger" aria-haspopup="menu" aria-controls="dropdown-user-menu" aria-expanded="false" class="btn-ghost size-8">
|
|
335
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-user-icon lucide-circle-user"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="10" r="3"/><path d="M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662"/></svg>
|
|
336
336
|
</button>
|
|
337
337
|
<div id="dropdown-user-popover" data-popover="" aria-hidden="true" data-align="end">
|
|
338
338
|
<div role="menu" id="dropdown-user-menu" aria-labelledby="dropdown-user-trigger">
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: basecoat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martijn Lafeber
|
|
@@ -40,9 +40,8 @@ files:
|
|
|
40
40
|
- LICENSE.txt
|
|
41
41
|
- README.md
|
|
42
42
|
- Rakefile
|
|
43
|
-
- basecoat-dark-form.png
|
|
44
|
-
- basecoat-index.png
|
|
45
43
|
- basecoat-login.png
|
|
44
|
+
- basecoat-new.png
|
|
46
45
|
- lib/basecoat.rb
|
|
47
46
|
- lib/basecoat/railtie.rb
|
|
48
47
|
- lib/basecoat/version.rb
|
data/basecoat-dark-form.png
DELETED
|
Binary file
|
data/basecoat-index.png
DELETED
|
Binary file
|