Skip to content

Commit

Permalink
Fix missed bootstrap var in dark mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed May 22, 2024
1 parent a1720fc commit bbfdc28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/javascript/homeland/dark-mode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@

--nav-pills-active-background-color: #27272da1;
--nav-pills-active-text-color: #fff;

--bs-body-color: #eaeaea;
--bs-secondary-color: #7f7f7f;
}

[data-theme="dark"] {
Expand Down
2 changes: 1 addition & 1 deletion app/views/users/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="flex items-center justify-between">
<div class="text-xl">
<div><%= t("users.hot_users") %></div>
<div class="text-sm text-gray-400 dark:text-gray-700">Total <%= @total_user_count %> users</div>
<div class="text-sm text-gray-400 dark:text-gray-500">Total <%= @total_user_count %> users</div>
</div>
<div class="user-list-tabs">
<a href="<%= users_path %>" class="user-list-tab <%= "active" if params[:type].blank? %>"><%= t("users.yearly") %></a> <span class="divider">/</span>
Expand Down

0 comments on commit bbfdc28

Please sign in to comment.