diff --git a/app/assets/stylesheets/components/links.css b/app/assets/stylesheets/components/links.css index c46f68b..92c9c75 100644 --- a/app/assets/stylesheets/components/links.css +++ b/app/assets/stylesheets/components/links.css @@ -5,10 +5,4 @@ &:visited { @apply text-indigo-600; } &:active { @apply text-red-600; } } - - .devise-links { - a { - @apply ks-text-link; - } - } } diff --git a/app/views/devise/shared/_links.html.erb b/app/views/devise/shared/_links.html.erb index b1d1ccd..2499950 100644 --- a/app/views/devise/shared/_links.html.erb +++ b/app/views/devise/shared/_links.html.erb @@ -1,25 +1,29 @@
- <%= link_to "Log in", new_session_path(resource_name) %>
+
+ <%= link_to "Log in", new_session_path(resource_name), + class: "text-gray-500 underline" %>
<% end %> <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %> -
- <%= link_to "Forgot your password?", new_password_path(resource_name) %>
+
+ <%= link_to "Forgot your password?", new_password_path(resource_name), + class: "text-gray-500 underline" %>
<% end %> - <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %> -
- <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %>
+ <%- if devise_mapping.confirmable? && !controller_name.match(/^(confirmations|sessions)$/) %>
+
+ <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name), + class: "text-gray-500 underline" %>
<% end %> <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %> -
- <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %>
+
+ <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name), + class: "text-gray-500 underline" %>
<% end %>