Skip to content

Commit

Permalink
Minor color tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
sgobotta committed Mar 21, 2024
1 parent 893a35c commit 6159019
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/ex_finance_web/live/public/currency_live/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
dark:from-#{get_color_by_price_direction(currency)}-400 dark:to-#{get_color_by_price_direction(currency)}-300
w-32 h-32
rounded-full
shadow-2xl shadow-#{get_color_by_price_direction(currency)}-400/75
shadow-2xl shadow-#{get_color_by_price_direction(currency)}-400/50
group-hover:shadow-lg
border-#{get_color_by_price_direction(currency)}-500 border-dashed border-2
border-#{get_color_by_price_direction(currency)}-400 border-dashed border-2
justify-center items-center
group-hover:-rotate-180 duration-1000 group-hover:border-dotted group-hover:border-[1px]
"} />
Expand Down
9 changes: 6 additions & 3 deletions lib/ex_finance_web/live/public/currency_live/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@
</div>
<div class={"
bg-gradient-to-tr
from-#{get_color_by_price_direction(@currency)}-400 to-#{get_color_by_price_direction(@currency)}-300
from-#{get_color_by_price_direction(@currency)}-400/75 to-#{get_color_by_price_direction(@currency)}-300/75
dark:from-#{get_color_by_price_direction(@currency)}-400 dark:to-#{get_color_by_price_direction(@currency)}-300
w-32 h-32
rounded-full
shadow-2xl shadow-#{get_color_by_price_direction(@currency)}-400 dark:shadow-#{get_color_by_price_direction(@currency)}-600
border-#{get_color_by_price_direction(@currency)}-500 border-dashed border-2
shadow-2xl shadow-#{get_color_by_price_direction(@currency)}-400/50
group-hover:shadow-lg
border-#{get_color_by_price_direction(@currency)}-400 border-dashed border-2
group-hover:-rotate-180 duration-1000 group-hover:border-dotted group-hover:border-[1px]
flex justify-center items-center
"}>
<div>
Expand Down

0 comments on commit 6159019

Please sign in to comment.