First of all, thank you for considering contributing to launch.css! This document provides guidelines and instructions to help you contribute effectively.
- Getting Started
- Development Environment
- Making Contributions
- Coding Standards
- Pull Request Process
- Documentation
launch.css is a classless CSS framework that aims to help developers build websites quickly without having to worry about styling initially. The project is built with Sass and uses a modular approach to make maintenance and contributions easier.
- Node.js (v22+)
- pnpm
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/launch.css.git - Navigate to the project:
cd launch.css - Install dependencies:
pnpm install - Start development:
pnpm dev
- Bug fixes: Fixing issues with existing components
- New features: Adding new components or functionality
- Documentation: Improving or adding documentation
- Performance: Optimizing CSS output
-
Create a new branch for your contribution:
git checkout -b feature/your-feature-name -
Make your changes, following the coding standards
-
Test your changes:
- Ensure styles render correctly across different browsers
- Check that the CSS output is optimized
-
Commit your changes with descriptive commit messages
- Use variables defined in
_variables.scssfor colors, spacing, etc. - Maintain the classless approach - styles should target semantic HTML elements or aria attributes
- Keep specificity as low as possible
- Use mixins for repeatable patterns
- Keep the CSS output minimal and optimized
- Avoid unnecessary nesting that creates complex selectors
- Ensure compatibility with modern browsers
- Update the README.md or documentation with details of your changes if needed
- Make sure your code passes all tests
- Submit your pull request with a clear description of the changes
- Reference any related issues in your pull request
When adding new features or components:
- Document how to use it in the appropriate section of the documentation
- Include examples of the HTML structure required
- Explain any customization options available
If you have any questions or need help, feel free to open an issue or reach out to the maintainers.
Thank you for contributing to launch.css!