Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/app/dashboard/page-client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function DashboardTabButton({
"text-nowrap rounded-full px-4 py-2",
currentTab === value
? "bg-accent text-white"
: "hover:bg-accent/25 cursor-pointer transition",
: "hover:bg-accent/25 cursor-pointer",
!isMobile && "w-full text-left",
)}
onClick={() => setTab(value)}
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import LinkButton from "@/features/button/components/link";

export default function Home() {
return (
<main className="min-h-screen transition-colors duration-300">
<main className="min-h-screen">
{/* Hero Section */}
<section className="relative overflow-hidden px-4 pb-20 pt-32 sm:px-6 lg:px-8">
<div className="mx-auto max-w-7xl text-center">
Expand Down
3 changes: 1 addition & 2 deletions src/components/text-input-field.tsx
Copy link
Member

Choose a reason for hiding this comment

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

The placeholder text has an instant transition.

Screen.Recording.2026-01-06.at.10.27.45.PM.mov

Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export default function TextInputField(props: TextInputFieldProps) {
isPassword && "pr-10",

// borders and colors
"transition-colors",
error
? "border-error text-error" // error
: "border-foreground", // default
Expand All @@ -66,7 +65,7 @@ export default function TextInputField(props: TextInputFieldProps) {
htmlFor={id}
className={cn(
"absolute origin-[0_0] cursor-text px-1",
"transition-all duration-200 ease-in-out",
"transition-transform duration-200 ease-in-out",
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this worked, since the placeholder text fades from one place to another.

Screen.Recording.2026-01-06.at.10.21.18.PM.mov

outlined ? "left-4" : "left-1",
classname,

Expand Down
1 change: 0 additions & 1 deletion src/features/event/editor/weekday-calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export default function WeekdayCalendar({
onClick={() => handleRangeSelect(day)}
className={cn(
"aspect-square w-10 items-center justify-center rounded-full text-center",
"transition-all duration-200",
isSelected ? "bg-accent text-white" : "hover:bg-gray-500/50",
)}
>
Expand Down
13 changes: 13 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,17 @@ body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-nunito);

transition-property:
color, background-color, border-color, text-decoration-color, fill, stroke;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 300ms;
}

*,
*::before,
*::after {
transition-property: background-color, border-color, fill, stroke;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 300ms;
}
9 changes: 6 additions & 3 deletions src/styles/tailwind.css
Copy link
Member

Choose a reason for hiding this comment

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

All the text with the --accent-text color has an instant transition, making it noticeable against everything else.

Screen.Recording.2026-01-06.at.10.23.21.PM.mov
Screen.Recording.2026-01-06.at.10.24.19.PM.mov

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

/* COLOR PALETTE */
@theme {
--color-pure-white: oklch(1 0 0);
--color-dark-purple: oklch(0.3295 0.0403 287.95);

--color-white: oklch(0.9702 0 0);
--color-violet: oklch(0.368 0.0393 288.29);
--color-bone: oklch(0.904 0.0293 82.59);
Expand Down Expand Up @@ -66,7 +69,7 @@
--foreground: var(--color-violet);
--accent: var(--color-blue);
--accent-text: var(--color-blue-500);
--panel-color: oklch(1 0 0);
--panel-color: var(--color-pure-white);
--loading-color: var(--color-gray-200);
}

Expand All @@ -75,8 +78,8 @@
--foreground: var(--color-bone);
--accent: var(--color-red);
--accent-text: var(--color-red-100);
--panel-color: oklch(0.3295 0.0403 287.95);
--loading-color: oklch(0.3295 0.0403 287.95);
--panel-color: var(--color-dark-purple);
--loading-color: var(--color-dark-purple);
}
}

Expand Down
Loading