Skip to content

Commit

Permalink
feat: add white background for logos in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc committed Sep 1, 2023
1 parent 3bc0b5e commit 0a6105f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/organisms/home/Summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ function buildLink(link: LinkProps) {
return (
<Link href={link.href} target='_blank' rel='noopener noreferrer'>
<Image
className={clsxm(link.classes + ' inline')}
className={clsxm(
link.classes +
' inline dark:bg-slate-50 dark:rounded dark:py-0.5 dark:px-1',
)}
src={link.image}
alt={link.alt}
width={link.width}
Expand Down

0 comments on commit 0a6105f

Please sign in to comment.