Skip to content

Commit

Permalink
fix dark mode text color
Browse files Browse the repository at this point in the history
  • Loading branch information
kalidiagne committed Apr 22, 2024
1 parent 1aee986 commit dfd56b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ export default function Home() {
const color =
(pathElement.attributes as any)?.stroke.value ?? "transparent";

const startingColor = `#00${color.replace("#", "")}`;
const startingColor = `#80${color.replace("#", "")}`;

pathElement.animate(
{
fill: [startingColor, color, color, startingColor],
fill: [startingColor, color],
},
{
duration: 2500,
duration: 500,
iterations: 1,
easing: "ease-in-out",
}
Expand Down
2 changes: 1 addition & 1 deletion sections/buildPage/ToolsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const ToolsSection = () => {
className="flex flex-col gap-5 md:gap-14 h-full"
variant="secondary"
>
<span className="text-center text-4xl font-medium leading-[105%] uppercase lg:text-5xl xl:text-6xl lg:leading-[110%]">
<span className="text-center text-anon text-4xl font-medium leading-[105%] uppercase lg:text-5xl xl:text-6xl lg:leading-[110%]">
{TITLE}
</span>
<div
Expand Down
2 changes: 1 addition & 1 deletion sections/homePage/PainPointSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const PainPointContent = () => {
{PAIN_POINTS.map(({ tab, description }, index) => {
return (
<div key={index}>
<Label.Section className="uppercase pt-8 border-t border-primary">
<Label.Section className="uppercase text-anon pt-8 border-t border-primary">
{tab}
</Label.Section>
<span className="font-inter text-base md:text-lg text-scarpa-500 font-normal">
Expand Down

0 comments on commit dfd56b7

Please sign in to comment.