Skip to content

feat(client): Implement a Zustand store slice for ThemePreferences - #213

Open
Daksh7785 wants to merge 8 commits into
Dharm3112:mainfrom
Daksh7785:feat/implement-a-zustand-store-slice-for-them
Open

feat(client): Implement a Zustand store slice for ThemePreferences#213
Daksh7785 wants to merge 8 commits into
Dharm3112:mainfrom
Daksh7785:feat/implement-a-zustand-store-slice-for-them

Conversation

@Daksh7785

Copy link
Copy Markdown

What does this PR do?

This Pull Request creates packages/client/src/store/themeStore.ts using zustand to manage and persist theme preferences across the IntelliCircle client.

Why is this necessary?

As per Issue #24, the application lacked a centralized way to handle dark mode, light mode, and system preferences. This store slice sets up the necessary types (ThemeMode), the state interface, and utilizes Zustand's persist middleware (saving to localStorage under intellicircle-theme-preferences) so a user's theme selection persists across browser reloads.

How was this verified?

  • Verified zustand persistence middleware logic.
  • Confirmed TypeScript typings for ThemeMode.

Thank you for reviewing!

@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Dharm3112's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Jul 19, 2026

Copy link
Copy Markdown

👷 Deploy request for intellicircle pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 54a83eb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant