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

619: Change tailwind config and add new contrast friendly blue #722

Merged
Merged
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
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