Skip to content

Commit

Permalink
fix: change project button outline colors
Browse files Browse the repository at this point in the history
  • Loading branch information
karolstawowski committed Sep 14, 2023
1 parent 7c48205 commit 441f0ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/Projects/LivePreviewButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const LivePreviewButton = ({
}: LivePreviewButtonProps): JSX.Element => {
return (
<a href={url} target="_blank" aria-label={`Live ${name} project preview`}>
<span className="block p-1 text-green-600 bg-green-200 rounded-md fill-current outline outline-2 outline-green-400 hover:outline-green-300 active:outline-green-200">
<span className="block p-1 text-green-600 bg-green-200 rounded-md fill-current outline outline-2 outline-green-600 hover:outline-green-300">
<Play />
</span>
</a>
Expand Down
12 changes: 4 additions & 8 deletions src/components/Projects/RepositoryButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Github } from '../../icons/Github'

type RepositoryButtonProps = {
name: string
url: string
Expand All @@ -10,17 +12,11 @@ export const RepositoryButton = ({
return (
<a
href={url}
className="flex items-center justify-center w-10 h-10 bg-white rounded-lg shadow-2xl outline outline-2 outline-orange-400 hover:outline-orange-300 active:outline-orange-200"
className="flex items-center justify-center w-10 h-10 bg-white rounded-lg shadow-2xl outline outline-2 outline-secondary hover:outline-text"
target="_blank"
aria-label={`Github repository of ${name}`}
>
<img
src="./assets/github.svg"
alt="Github"
height={32}
width={32}
className=""
/>
<Github width={32} height={32} />
</a>
)
}

1 comment on commit 441f0ab

@vercel
Copy link

@vercel vercel bot commented on 441f0ab Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.