mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 23:45:21 +02:00
Maybe Design System Updates (#1856)
* Add geist font * Design system css file * Add cursor ui/ux rules * Add shadows and shadow borders * Replace primitives with tokens for common text and backgrounds * Organize css * Update switch and checkbox class names * Add back global color variables
This commit is contained in:
parent
c0e290a07e
commit
849c58dd3e
193 changed files with 1356 additions and 1073 deletions
|
@ -4,9 +4,9 @@
|
|||
<div class="flex items-center justify-between">
|
||||
<div class="space-y-1">
|
||||
<p class="text-sm"><%= t(".title") %></p>
|
||||
<p class="text-gray-500 text-sm"><%= t(".description") %></p>
|
||||
<p class="text-secondary text-sm"><%= t(".description") %></p>
|
||||
<% if self_hosted? %>
|
||||
<p class="text-xs italic text-gray-500"><%= t(".self_host_disclaimer") %></p>
|
||||
<p class="text-xs italic text-secondary"><%= t(".self_host_disclaimer") %></p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
<%= form.hidden_field :redirect_to, value: "preferences" %>
|
||||
<%= form.fields_for :family do |family_form| %>
|
||||
<%= family_form.check_box :data_enrichment_enabled, class: "sr-only peer", "data-auto-submit-form-target": "auto", "data-autosubmit-trigger-event": "input" %>
|
||||
<%= family_form.label :data_enrichment_enabled, " ".html_safe, class: "maybe-switch" %>
|
||||
<%= family_form.label :data_enrichment_enabled, " ".html_safe, class: "switch" %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue