diff --git a/app/assets/tailwind/application.css b/app/assets/tailwind/application.css index 72fa70258..3d868c741 100644 --- a/app/assets/tailwind/application.css +++ b/app/assets/tailwind/application.css @@ -56,7 +56,7 @@ } .hw-combobox__label { - @apply block text-xs text-gray-500 peer-disabled:text-gray-400; + @apply block text-xs text-secondary peer-disabled:text-subdued; } .hw-combobox__option { @@ -155,12 +155,12 @@ } ::-webkit-scrollbar-thumb { - background: #d6d6d6; + background: var(--color-gray-300); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { - background: #a6a6a6; + background: var(--color-gray-400); } } @@ -170,12 +170,12 @@ } &::-webkit-scrollbar-thumb { - background: #d6d6d6; + background: var(--color-gray-300); border-radius: 10px; } &::-webkit-scrollbar-thumb:hover { - background: #a6a6a6; + background: var(--color-gray-400); } } diff --git a/app/views/doorkeeper/applications/_form.html.erb b/app/views/doorkeeper/applications/_form.html.erb index 4cc71b3d8..cb9bc6be6 100644 --- a/app/views/doorkeeper/applications/_form.html.erb +++ b/app/views/doorkeeper/applications/_form.html.erb @@ -4,7 +4,7 @@ <% end %>
- <%= f.label :name, class: "col-sm-2 col-form-label font-weight-bold" %> + <%= f.label :name, class: "col-sm-2 col-form-label font-bold" %>
<%= f.text_field :name, class: "form-control #{ 'is-invalid' if application.errors[:name].present? }", required: true %> <%= doorkeeper_errors_for application, :name %> @@ -12,7 +12,7 @@
- <%= f.label :redirect_uri, class: "col-sm-2 col-form-label font-weight-bold" %> + <%= f.label :redirect_uri, class: "col-sm-2 col-form-label font-bold" %>
<%= f.text_area :redirect_uri, class: "form-control #{ 'is-invalid' if application.errors[:redirect_uri].present? }" %> <%= doorkeeper_errors_for application, :redirect_uri %> @@ -29,7 +29,7 @@
- <%= f.label :confidential, class: "col-sm-2 form-check-label font-weight-bold" %> + <%= f.label :confidential, class: "col-sm-2 form-check-label font-bold" %>
<%= f.check_box :confidential, class: "checkbox #{ 'is-invalid' if application.errors[:confidential].present? }" %> <%= doorkeeper_errors_for application, :confidential %> @@ -40,7 +40,7 @@
- <%= f.label :scopes, class: "col-sm-2 col-form-label font-weight-bold" %> + <%= f.label :scopes, class: "col-sm-2 col-form-label font-bold" %>
<%= f.text_field :scopes, class: "form-control #{ 'has-error' if application.errors[:scopes].present? }" %> <%= doorkeeper_errors_for application, :scopes %> diff --git a/app/views/doorkeeper/applications/show.html.erb b/app/views/doorkeeper/applications/show.html.erb index 53e84c785..fcd32a692 100644 --- a/app/views/doorkeeper/applications/show.html.erb +++ b/app/views/doorkeeper/applications/show.html.erb @@ -5,14 +5,14 @@

<%= t(".application_id") %>:

-

<%= @application.uid %>

+

<%= @application.uid %>

<%= t(".secret") %>:

- + <% secret = flash[:application_secret].presence || @application.plaintext_secret %> <% if secret.blank? && Doorkeeper.config.application_secret_hashed? %> - <%= t(".secret_hashed") %> + <%= t(".secret_hashed") %> <% else %> <%= secret %> <% end %> @@ -21,17 +21,17 @@

<%= t(".scopes") %>:

- + <% if @application.scopes.present? %> <%= @application.scopes %> <% else %> - <%= t(".not_defined") %> + <%= t(".not_defined") %> <% end %>

<%= t(".confidential") %>:

-

<%= @application.confidential? %>

+

<%= @application.confidential? %>

<%= t(".callback_urls") %>:

@@ -40,7 +40,7 @@ <% @application.redirect_uri.split.each do |uri| %> - <%= uri %> + <%= uri %> <%= link_to t("doorkeeper.applications.buttons.authorize"), oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: "code", scope: @application.scopes), class: "btn btn-success", target: "_blank" %> @@ -49,7 +49,7 @@ <% end %> <% else %> - <%= t(".not_defined") %> + <%= t(".not_defined") %> <% end %>
diff --git a/app/views/pages/privacy.html.erb b/app/views/pages/privacy.html.erb index 303f18766..01b472540 100644 --- a/app/views/pages/privacy.html.erb +++ b/app/views/pages/privacy.html.erb @@ -5,7 +5,7 @@

<%= t(".heading") %>

-

<%= t(".placeholder") %>

+

<%= t(".placeholder") %>

diff --git a/app/views/pages/redis_configuration_error.html.erb b/app/views/pages/redis_configuration_error.html.erb index 53c43387f..a95e00862 100644 --- a/app/views/pages/redis_configuration_error.html.erb +++ b/app/views/pages/redis_configuration_error.html.erb @@ -9,7 +9,7 @@ <%= icon "alert-triangle", class: "w-8 h-8 text-red-600" %>

Redis Configuration Required

-

Your self-hosted Sure installation needs Redis to be properly configured.

+

Your self-hosted Sure installation needs Redis to be properly configured.

@@ -36,14 +36,14 @@ target: "_blank", rel: "noopener noreferrer" ) %> -

Follow our complete Docker setup guide to configure Redis

+

Follow our complete Docker setup guide to configure Redis

-

Once you've configured Redis, refresh this page to continue.

+

Once you've configured Redis, refresh this page to continue.

<%= render DS::Button.new( text: "Refresh Page", variant: "secondary", diff --git a/app/views/pages/terms.html.erb b/app/views/pages/terms.html.erb index 303f18766..01b472540 100644 --- a/app/views/pages/terms.html.erb +++ b/app/views/pages/terms.html.erb @@ -5,7 +5,7 @@

<%= t(".heading") %>

-

<%= t(".placeholder") %>

+

<%= t(".placeholder") %>

diff --git a/app/views/reports/print.html.erb b/app/views/reports/print.html.erb index 3add245f0..1de2a4cd2 100644 --- a/app/views/reports/print.html.erb +++ b/app/views/reports/print.html.erb @@ -52,7 +52,7 @@ savings_rate = @summary_metrics[:current_income].amount > 0 ? ((@summary_metrics[:net_savings].amount / @summary_metrics[:current_income].amount) * 100).round(0) : 0 %> <% if savings_rate != 0 %> - <%= t("reports.print.summary.of_income", percent: savings_rate) %> + <%= t("reports.print.summary.of_income", percent: savings_rate) %> <% end %> <% if has_sparkline_data?(@trends_data) %> @@ -65,7 +65,7 @@
<%= t("reports.print.summary.budget") %> <%= @summary_metrics[:budget_percent] %>% - <%= t("reports.print.summary.used") %> + <%= t("reports.print.summary.used") %>
<% end %>
@@ -213,12 +213,12 @@
<%= t("reports.print.investments.contributions") %> <%= format_money(@investment_metrics[:period_contributions]) %> - <%= t("reports.print.investments.this_period") %> + <%= t("reports.print.investments.this_period") %>
<%= t("reports.print.investments.withdrawals") %> <%= format_money(@investment_metrics[:period_withdrawals]) %> - <%= t("reports.print.investments.this_period") %> + <%= t("reports.print.investments.this_period") %>
diff --git a/app/views/settings/providers/_mercury_panel.html.erb b/app/views/settings/providers/_mercury_panel.html.erb index 18e199c0b..660c279e9 100644 --- a/app/views/settings/providers/_mercury_panel.html.erb +++ b/app/views/settings/providers/_mercury_panel.html.erb @@ -16,7 +16,7 @@
  • Base URL: Mercury API URL (optional, defaults to https://api.mercury.com/api/v1)
  • -

    +

    Note: For sandbox testing, use https://api-sandbox.mercury.com/api/v1 as the Base URL. Mercury requires IP whitelisting - make sure to add your IP in the Mercury dashboard.