From d18d979d6b1765556f43c5cf533b785e5ef21ef2 Mon Sep 17 00:00:00 2001
From: Marcus Heng <marcushwz@gmail.com>
Date: Sat, 18 Dec 2021 12:00:21 +0800
Subject: [PATCH] Remove redundant font-size class from generators

Signed-off-by: Marcus Heng <marcushwz@gmail.com>
---
 .../tailwindcss/controller/templates/view.html.erb.tt           | 2 +-
 lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt | 2 +-
 lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/generators/tailwindcss/controller/templates/view.html.erb.tt b/lib/generators/tailwindcss/controller/templates/view.html.erb.tt
index 913e6249..60e6f9aa 100644
--- a/lib/generators/tailwindcss/controller/templates/view.html.erb.tt
+++ b/lib/generators/tailwindcss/controller/templates/view.html.erb.tt
@@ -1,4 +1,4 @@
 <div>
-  <h1 class="text-lg font-bold text-4xl"><%= class_name %>#<%= @action %></h1>
+  <h1 class="font-bold text-4xl"><%= class_name %>#<%= @action %></h1>
   <p>Find me in <%= @path %></p>
 </div>
diff --git a/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt b/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt
index e5aee531..c65409fa 100644
--- a/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt
+++ b/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt
@@ -4,7 +4,7 @@
   <%% end %>
 
   <div class="flex justify-between items-center">
-    <h1 class="text-lg font-bold text-4xl"><%= human_name.pluralize %></h1>
+    <h1 class="font-bold text-4xl"><%= human_name.pluralize %></h1>
     <%%= link_to 'New <%= human_name.downcase %>', new_<%= singular_route_name %>_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
   </div>
 
diff --git a/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt b/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt
index 3eed7024..1f7870f6 100644
--- a/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt
+++ b/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt
@@ -1,5 +1,5 @@
 <div class="mx-auto md:w-2/3 w-full">
-  <h1 class="text-lg font-bold text-4xl">New <%= human_name.downcase %></h1>
+  <h1 class="font-bold text-4xl">New <%= human_name.downcase %></h1>
 
   <%%= render "form", <%= singular_table_name %>: @<%= singular_table_name %> %>