Skip to content

Conversation

@vursen
Copy link
Contributor

@vursen vursen commented Dec 1, 2025

  1. Refactored the docs to apply the theme styles per example instead of globally.
  2. Added internal support for switching between Lumo and Aura in examples. The UI will be added separately.

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

AI Language Review

- In the newly added `applyTheme` function within the `vafctheme.js` file, ensure that `host.matches('[theme~="aura"]')` checks are optimized to only rely on necessary logic and consider refactoring if any redundancy is found.
- Review the `transform` function in the `customConfig` object within the `vite.config.js` file to ensure concise syntax. Specifically, consider the logic used within filter checks to possibly optimize performance or readability. Check if any repetitive code segments can be extracted or simplified.

@vursen vursen requested a review from sissbruecker December 1, 2025 14:20
Copy link
Contributor

@sissbruecker sissbruecker left a comment

Choose a reason for hiding this comment

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

Seems to work well 👍

@sissbruecker sissbruecker merged commit 9961063 into main Dec 1, 2025
4 checks passed
@sissbruecker sissbruecker deleted the example-theme-switcher branch December 1, 2025 15:54
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.

3 participants