Skip to content

Conversation

korgon
Copy link

@korgon korgon commented Aug 4, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings August 4, 2025 15:50
Copy link

@Copilot Copilot AI left a 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);
Copy link
Preview

Copilot AI Aug 4, 2025

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.

Suggested change
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.

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