-
Notifications
You must be signed in to change notification settings - Fork 0
Pike theme #103
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
base: develop
Are you sure you want to change the base?
Pike theme #103
Conversation
Pike merge
…r and mobile sidebar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new "Pike" theme to the snap-preact component library. The theme follows the established pattern of the existing themes (base, bocachica, snappy, snapnco) and provides comprehensive styling for all component types including atoms, molecules, organisms, and templates.
Key changes:
- Complete Pike theme implementation with custom styling and color scheme
- Theme registration in library store and storybook configuration
- Demo configuration updates to use the new Pike theme by default
Reviewed Changes
Copilot reviewed 76 out of 76 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
packages/snap-preact/src/Templates/Stores/LibraryStore.ts | Adds Pike theme import and registration in the theme library store |
packages/snap-preact/components/src/themes/pike/* | Complete Pike theme implementation including components, styling, and configuration |
packages/snap-preact/components/src/themes/index.ts | Exports Pike theme for external use |
packages/snap-preact/components/.storybook/preview.tsx | Integrates Pike theme into Storybook development environment |
packages/snap-preact-demo/templates/src/* | Updates demo configuration to use Pike theme as default |
snappy: async () => { | ||
return this.themes.snappy || (this.themes.snappy = (await import('./library/themes/snappy')).snappy); | ||
pike: async () => { | ||
return this.themes.pike || (this.themes.pike = (await import('../../../components/src/themes/pike/pike')).pike); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Pike theme import path uses a different structure compared to other themes. Consider using a consistent import path pattern like './library/themes/pike' to match the existing theme organization.
return this.themes.pike || (this.themes.pike = (await import('../../../components/src/themes/pike/pike')).pike); | |
return this.themes.pike || (this.themes.pike = (await import('./library/themes/pike')).pike); |
Copilot uses AI. Check for mistakes.
refactor(merge develop): merge in develop
refactor(themes/pike): tweaks and clean up to pike theme
refactor(pike_theme): small tweaks to pike theme
No description provided.