Skip to content

feat: $isDarkmode hook, theme prop on DesignTokens - #170

Merged
awesomephant merged 3 commits into
mainfrom
feat-169
Sep 24, 2025
Merged

awesomephant merged 3 commits into
mainfrom
feat-169

Conversation

@awesomephant

@awesomephant awesomephant commented Sep 24, 2025 •

Copy link
Copy Markdown
Collaborator

theme takes "light" | "dark" | "auto". The default is auto, which uses the new $isDarkMode hook to set the theme according to the user's device settings.

Closes #167
Closes #169

@awesomephant awesomephant linked an issue Sep 24, 2025 that may be closed by this pull request
@awesomephant
awesomephant marked this pull request as ready for review September 24, 2025 12:11
@awesomephant awesomephant changed the title Add $isDarkmode, theme prop on DesignTokens Add $isDarkmode, theme prop on DesignTokens Sep 24, 2025
@awesomephant awesomephant changed the title Add $isDarkmode, theme prop on DesignTokens feat: $isDarkmode hook, theme prop on DesignTokens Sep 24, 2025

@sjockers sjockers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice! Feel free to merge.

@awesomephant
awesomephant merged commit 4254210 into main Sep 24, 2025
1 check passed
@awesomephant
awesomephant deleted the feat-169 branch September 24, 2025 15:19
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.

DesignTokens: Add theme prop Feat: isDarkMode hook

2 participants