mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
fix: correct some dark mode ui issues (#52)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<%= link_to new_trade_path(account_id: @account.id),
|
||||
id: dom_id(@account, "new_trade"),
|
||||
data: { turbo_frame: :modal },
|
||||
class: "flex gap-1 font-medium items-center bg-gray-50 text-primary p-2 rounded-lg" do %>
|
||||
class: "flex gap-1 font-medium items-center bg-gray-50 theme-dark:bg-gray-700 hover:bg-gray-100 theme-dark:hover:bg-gray-600 text-primary p-2 rounded-lg" do %>
|
||||
<span class="text-primary">
|
||||
<%= icon("plus", color: "current") %>
|
||||
</span>
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
<div>
|
||||
<p class="text-secondary text-xs uppercase"><%= l(trade_entry.date, format: :long) %></p>
|
||||
|
||||
<p><%= t(
|
||||
<p class="text-primary"><%= t(
|
||||
".trade_history_entry",
|
||||
qty: trade_entry.trade.qty,
|
||||
security: trade_entry.trade.security.ticker,
|
||||
|
||||
Reference in New Issue
Block a user