Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Fixes #2100: this will fix the problem of text not visible in the modal when dark theme is set (#2112)

Durgaswamydb34f6d7a22a
diff --git a/app/views/accounts/_form.html.erb b/app/views/accounts/_form.html.erb
index 2910879b..8cdb39ff 100644
--- a/app/views/accounts/_form.html.erb
+++ b/app/views/accounts/_form.html.erb
@@ -1,6 +1,6 @@
<%# locals: (account:, url:) %>
-<%= styled_form_with model: account, url: url, scope: :account, data: { turbo: false }, class: "flex flex-col gap-4 justify-between grow" do |form| %>
+<%= styled_form_with model: account, url: url, scope: :account, data: { turbo: false }, class: "flex flex-col gap-4 justify-between grow text-primary" do |form| %>
<div class="grow space-y-2">
<%= form.hidden_field :accountable_type %>
<%= form.hidden_field :return_to, value: params[:return_to] %>
diff --git a/app/views/accounts/new/_container.html.erb b/app/views/accounts/new/_container.html.erb
index d9122c14..892e1a3b 100644
--- a/app/views/accounts/new/_container.html.erb
+++ b/app/views/accounts/new/_container.html.erb
@@ -9,13 +9,13 @@
<% end %>
<% end %>
- <span class="text-subdued"><%= title %></span>
+ <span class="text-primary"><%= title %></span>
<button class="absolute top-1/2 -translate-y-1/2 right-4 flex w-8 h-8 items-center justify-center rounded-lg md:hidden outline-0" data-action="click->modal#close">
<%= lucide_icon("x", class: "text-secondary w-6 h-6") %>
</button>
</div>
- <div class="p-2">
+ <div class="p-2 text-primary">
<button hidden data-controller="hotkey" data-hotkey="k,K,ArrowUp,ArrowLeft" data-action="list-keyboard-navigation#focusPrevious">Previous</button>
<button hidden data-controller="hotkey" data-hotkey="j,J,ArrowDown,ArrowRight" data-action="list-keyboard-navigation#focusNext">Next</button>