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

feat: dark-mode support for Algolia #48

Merged

Conversation

jasonbahl
Copy link
Contributor

@jasonbahl jasonbahl commented Jan 9, 2024

This adds support for dark mode for algolia.

Before

CleanShot 2024-01-09 at 16 23 52

After

CleanShot 2024-01-09 at 16 24 09


Also, this adds a few changes to the AcfFieldTypeSettingsBlock Component.

Before

CleanShot 2024-01-09 at 16 22 58

After

CleanShot 2024-01-09 at 16 22 44

…DocSearch components rely on this)

- change <ThemeProvider> in _app.js to use default "data-theme" attribute instead of "attribute='class'"
- update tailwind.css to use [data-theme='dark'] as the theme variant
- update AcfFieldTypeSettingsBlock to add some more context to the content within the accordion
…-field-setting-key-to-field-settings-accordion
@jasonbahl jasonbahl self-assigned this Jan 9, 2024
Copy link

vercel bot commented Jan 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
acf-wpgraphql-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2024 11:21pm

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
acf.wpgraphql.com preview-env-feat/add-field-setting-key-to-field-settings-accordion N/A ❌ (logs)

Learn more about preview environments in our documentation.

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
acf.wpgraphql.com preview-env-feat/add-field-setting-key-to-field-settings-accordion https://h6…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

@jasonbahl jasonbahl merged commit 315707f into main Jan 9, 2024
5 checks passed
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