Skip to content

Commit 3240da4

Browse files
committed
make rating stars more subtle
1 parent 10c13ed commit 3240da4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/algora_web/live/org/create_bounty_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ defmodule AlgoraWeb.Org.CreateBountyLive do
349349
<%= for i <- 1..5 do %>
350350
<.icon
351351
name="tabler-star-filled"
352-
class={"#{if i <= review.stars, do: "text-warning", else: "text-muted-foreground/25"} h-4 w-4"}
352+
class={"#{if i <= review.stars, do: "text-foreground", else: "text-muted-foreground/25"} h-4 w-4"}
353353
/>
354354
<% end %>
355355
</div>

lib/algora_web/live/org/create_job_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ defmodule AlgoraWeb.Org.CreateJobLive do
432432
<%= for i <- 1..5 do %>
433433
<.icon
434434
name="tabler-star-filled"
435-
class={"#{if i <= review.stars, do: "text-warning", else: "text-muted-foreground/25"} h-4 w-4"}
435+
class={"#{if i <= review.stars, do: "text-foreground", else: "text-muted-foreground/25"} h-4 w-4"}
436436
/>
437437
<% end %>
438438
</div>

lib/algora_web/live/org/dashboard_admin_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ defmodule AlgoraWeb.Org.DashboardAdminLive do
765765
<%= for i <- 1..5 do %>
766766
<.icon
767767
name="tabler-star-filled"
768-
class={"#{if i <= @user.review.rating, do: "text-warning", else: "text-muted-foreground/25"} h-4 w-4"}
768+
class={"#{if i <= @user.review.rating, do: "text-foreground", else: "text-muted-foreground/25"} h-4 w-4"}
769769
/>
770770
<% end %>
771771
</div>

lib/algora_web/live/user/profile_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ defmodule AlgoraWeb.User.ProfileLive do
181181
<%= for i <- 1..Review.max_rating() do %>
182182
<.icon
183183
name="tabler-star-filled"
184-
class={"#{if i <= review.rating, do: "text-warning", else: "text-muted-foreground/25"} h-4 w-4"}
184+
class={"#{if i <= review.rating, do: "text-foreground", else: "text-muted-foreground/25"} h-4 w-4"}
185185
/>
186186
<% end %>
187187
</div>

0 commit comments

Comments
 (0)