mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00:00
* Add primary text color to amount in header Applied the 'text-primary' class to the amount display in the valuations header for improved visual emphasis and consistency with the design system. * Update header styles and add currency display Applied 'text-primary' class to amount displays in trades and transfers headers for consistent styling. Added a secondary styled currency display to the valuations header for improved clarity.
24 lines
558 B
Plaintext
24 lines
558 B
Plaintext
<%# locals: (entry:) %>
|
|
|
|
<%= tag.header class: "mb-4 space-y-1", id: dom_id(entry, :header) do %>
|
|
<span class="text-secondary text-sm">
|
|
<%= entry.name %>
|
|
</span>
|
|
|
|
<div class="flex items-center gap-4">
|
|
<h3 class="font-medium">
|
|
<span class="text-2xl text-primary">
|
|
<%= format_money entry.amount_money %>
|
|
</span>
|
|
|
|
<span class="text-lg text-secondary">
|
|
<%= entry.currency %>
|
|
</span>
|
|
</h3>
|
|
</div>
|
|
|
|
<span class="text-sm text-secondary">
|
|
<%= I18n.l(entry.date, format: :long) %>
|
|
</span>
|
|
<% end %>
|