Contributing to Sparkle
Thank you for your interest in contributing to Sparkle! This guide will help you get started.
Development Setup
Section titled “Development Setup”- Clone the repository
git clone https://github.com/marcusrbrown/sparkle.gitcd sparkle- Install dependencies
pnpm install- Start development
pnpm devProject Structure
Section titled “Project Structure”The Sparkle monorepo is organized with focused packages:
packages/ui- React component librarypackages/theme- Design tokens and providerspackages/types- TypeScript definitionspackages/utils- Utility functionspackages/error-testing- Testing framework
Development Workflow
Section titled “Development Workflow”- Create a feature branch from
main - Make your changes with tests
- Run quality checks with
pnpm check - Submit a pull request with clear description
Code Standards
Section titled “Code Standards”- Follow TypeScript best practices
- Write comprehensive tests
- Include JSDoc documentation
- Follow accessibility guidelines
Getting Help
Section titled “Getting Help”- Open an issue for bugs or feature requests
- Join discussions in GitHub Discussions
- Check existing documentation and examples