Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve color contrast for Safari #41

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/components/BlueprintCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const BlueprintCard = ({ blueprint, setStarred, setUnStarred, starred }: Bluepri
<h2 className="text-xl font-bold">{blueprint.props.title}</h2>
{isLoggedIn && (
<span
className={`hidden flex-row gap-1 rounded-full px-2 py-1 text-xs font-semibold md:flex ${getStatusColorLight(
className={`hidden flex-row gap-1 rounded-full px-2 py-1 text-xs font-semibold md:flex text-white ${getStatusColorLight(
blueprint.props.status
)}`}
>
Expand Down Expand Up @@ -95,7 +95,7 @@ const BlueprintCard = ({ blueprint, setStarred, setUnStarred, starred }: Bluepri
</div>
<div className="mt-2 flex w-full flex-row items-center justify-between gap-2 md:mt-0 md:w-auto">
<span
className={`flex flex-row gap-1 rounded-full px-2 py-1 text-xs font-semibold md:hidden ${getStatusColorLight(
className={`flex flex-row gap-1 rounded-full px-2 py-1 text-xs font-semibold md:hidden text-white ${getStatusColorLight(
blueprint.props.status
)}`}
>
Expand Down
3 changes: 2 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ const config: Config = {
},
warning: '#D7AE0B',
neutral: {
'100': '#F5F3EF',
'100': '#FFFFFF',
},
success: '#34C759',
green: {
'100': '#EDFFF1',
'300': '#278266',
'500': '#22A66D',
},
brand: {
'400': '#68A3E9',
Expand Down