Skip to content

Commit

Permalink
Change tailwind config and add new contrast friendly blue
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Toy authored and Joshua Toy committed Jun 26, 2024
1 parent 5574819 commit 8e0600e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export default function TransformPropertyPage() {
their parks.
</p>
<ThemeButtonLink
className="text-[#0070F0] inline-flex"
className="text-blue-900 inline-flex"
href={parkInATruckUrl}
target="_blank"
rel="noopener noreferrer"
Expand All @@ -326,7 +326,7 @@ export default function TransformPropertyPage() {
housing in historically neglected neighborhoods.
</p>
<ThemeButtonLink
className="text-[#0070F0] inline-flex"
className="text-blue-900 inline-flex"
href={jumpStartUrl}
target="_blank"
rel="noopener noreferrer"
Expand All @@ -347,7 +347,7 @@ export default function TransformPropertyPage() {
and connect you with other resources.
</p>
<ThemeButtonLink
className="text-[#0070F0] inline-flex"
className="text-blue-900 inline-flex"
href={localRepresentativesUrl}
target="_blank"
rel="noopener noreferrer"
Expand Down
2 changes: 1 addition & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
}

.link {
@apply text-[#0070F0] underline;
@apply text-blue-900 underline;
}

/* Styles for the mapbox legend pane. */
Expand Down
2 changes: 1 addition & 1 deletion src/components/ContentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const ContentCard: FC<ContentCardProps> = ({
links.map((link, index) => (
<ThemeButtonLink
key={index}
className="text-blue-700 !bg-green-100 !px-0 !py-0 mb-2 h-5 !text-left !items-start"
className="text-blue-900 !bg-green-100 !px-0 !py-0 mb-2 h-5 !text-left !items-start"
color="tertiary"
aria-label={link.text + " Link opens in new tab"}
href={link.url}
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const config: Config = {
},
blue: {
DEFAULT: "#3867DE",
900: "#1C00F0",
800: "#003144",
400: "#57BEE7",
300: "#84D5F5",
Expand Down

0 comments on commit 8e0600e

Please sign in to comment.