Skip to content

Commit

Permalink
tweak: icon styles
Browse files Browse the repository at this point in the history
  • Loading branch information
airjp73 committed Jun 10, 2024
1 parent f1d4a4d commit bb3cb60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/docs-v2/app/ui/theme/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const AutoIcon = ({
<motion.div className="absolute inset-0 flex items-center justify-center rotate-45">
<Moon
className={cn("text-cyan-800 dark:text-cyan-400 size-6")}
transition={{ damping: 5 }}
variants={{
light: {
rotate: "-135deg",
Expand Down Expand Up @@ -106,6 +107,7 @@ const AutoIcon = ({
<motion.div className="absolute inset-0 flex items-center justify-center rotate-45">
<Sun
className={cn("text-amber-700 dark:text-amber-400 size-8")}
transition={{ damping: 5 }}
variants={{
light: {
rotate: "-45deg",
Expand Down

0 comments on commit bb3cb60

Please sign in to comment.