mirror of
https://github.com/homarr-labs/dashboard-icons.git
synced 2025-10-08 07:10:25 +02:00
docs: improve documentation and branding for dashboardicons.com
- Rewrite README with better structure and new branding - Update contributing guidelines for clarity - Revise code of conduct for better readability - Add preview video asset
This commit is contained in:
parent
b14ef1575a
commit
27980bc6be
4 changed files with 200 additions and 178 deletions
146
CONTRIBUTING.md
146
CONTRIBUTING.md
|
@ -1,104 +1,104 @@
|
|||

|
||||
# Contributing to Dashboard Icons
|
||||
|
||||
## Contribution Guidelines
|
||||
|
||||
Thank you for your interest in contributing to the icon repository! To ensure smooth collaboration, please follow these guidelines. Your contributions help make this project better.
|
||||
Thank you for your interest in contributing to our icon collection! These guidelines will help ensure smooth collaboration and maintain the quality of our collection.
|
||||
|
||||
## Table of Contents
|
||||
|
||||
- [Contribution Guidelines](#contribution-guidelines)
|
||||
- [Table of Contents](#table-of-contents)
|
||||
- [Icon Specifications](#icon-specifications)
|
||||
- [Format](#format)
|
||||
- [Cropping](#cropping)
|
||||
- [Light and Dark Versions](#light-and-dark-versions)
|
||||
- [File Naming](#file-naming)
|
||||
- [Quality Requirements](#quality-requirements)
|
||||
- [Git Commit Messages](#git-commit-messages)
|
||||
- [Contribution Process](#contribution-process)
|
||||
- [Code of Conduct](#code-of-conduct)
|
||||
- [Contact](#contact)
|
||||
- [Contributing to Dashboard Icons](#contributing-to-dashboard-icons)
|
||||
- [Table of Contents](#table-of-contents)
|
||||
- [Icon Specifications](#icon-specifications)
|
||||
- [Format Requirements](#format-requirements)
|
||||
- [Quality Standards](#quality-standards)
|
||||
- [Light \& Dark Variants](#light--dark-variants)
|
||||
- [File Naming](#file-naming)
|
||||
- [Requesting New Icons](#requesting-new-icons)
|
||||
- [Improving the Repository](#improving-the-repository)
|
||||
- [Code of Conduct](#code-of-conduct)
|
||||
- [Questions?](#questions)
|
||||
|
||||
## Icon Specifications
|
||||
|
||||
### Format
|
||||
### Format Requirements
|
||||
|
||||
- **SVG Format Required**: All icons should be submitted in SVG format. If an SVG version is unavailable, a PNG version will suffice, and a WEBP version will be generated accordingly.
|
||||
- **Automatic PNG and WEBP Generation**: PNG and WEBP versions are generated automatically from the SVG (or PNG) files using the following settings:
|
||||
- **Dimensions**:
|
||||
- Height: 512 pixels
|
||||
- Width: Auto (maintaining aspect ratio)
|
||||
- **Transparency**: Enabled
|
||||
- **SVG Format**: All icons must be submitted in SVG format
|
||||
- **Auto-Generated Formats**: PNG and WEBP versions are generated automatically with:
|
||||
- Height: 512 pixels
|
||||
- Width: Auto (maintaining aspect ratio)
|
||||
- Transparency: Enabled
|
||||
|
||||
### Cropping
|
||||
### Quality Standards
|
||||
|
||||
- **Remove Empty Space**: Crop any empty space from your SVG files to ensure the icon is properly centered and sized. You can use [SVG Crop](https://svgcrop.com/) to assist with this.
|
||||
- **Clean SVG**: No embedded raster images in SVG files
|
||||
- **Proper Cropping**: Remove empty space for proper centering
|
||||
- Use [SVG Crop](https://svgcrop.com/) for assistance
|
||||
- **No Upscaling**: Maintain original quality without artificial enlargement
|
||||
|
||||
### Light and Dark Versions
|
||||
### Light & Dark Variants
|
||||
|
||||
- **Monochrome or Single Primary Color Icons**:
|
||||
- If your icon is monochrome, please provide additional versions if applicable:
|
||||
- **`-light` Version**: For icons primarily dark or using black as a main color, provide a `-light` version for light backgrounds.
|
||||
- **`-dark` Version**: For icons primarily light or using white as a main color, provide a `-dark` version for dark backgrounds.
|
||||
- **Examples**:
|
||||
- A black logo should include a `-light` version where black is inverted.
|
||||
- A multicolored logo using black should provide a `-light` version with the black replaced.
|
||||
- **Tool Recommendation**: [DEEditor](https://deeditor.com/) can help adjust icon colors if needed.
|
||||
For monochrome or single-color icons:
|
||||
|
||||
- **Light Variant**: Required for dark backgrounds
|
||||
- Invert black elements
|
||||
- Adjust colors for visibility
|
||||
- **Dark Variant**: Required for light backgrounds
|
||||
- Invert white elements
|
||||
- Adjust colors for visibility
|
||||
|
||||
**Tool Recommendation**: [DEEditor](https://deeditor.com/) for color adjustments
|
||||
|
||||
### File Naming
|
||||
|
||||
- **Kebab Case**: Name your files using kebab case (lowercase words separated by hyphens). For example, "Nextcloud Calendar" becomes `nextcloud-calendar.svg`.
|
||||
- **Note**: Filenames are automatically converted to kebab case, but please double-check your naming to avoid conflicts or errors.
|
||||
- **Kebab Case**: Use lowercase with hyphens
|
||||
- Example: "Nextcloud Calendar" → `nextcloud-calendar.svg`
|
||||
- **Variant Suffixes**:
|
||||
- `-light` for dark backgrounds
|
||||
- `-dark` for light backgrounds
|
||||
|
||||
### Quality Requirements
|
||||
## Requesting New Icons
|
||||
|
||||
- **No Upscaled Images**: Icons should maintain their original quality without artificial enlargement.
|
||||
- **No Embedded Raster Images in SVGs**: Ensure that SVG files are true vector graphics without embedded raster images.
|
||||
To request a new icon:
|
||||
|
||||
## Git Commit Messages
|
||||
1. **Create an Issue**:
|
||||
- Use the appropriate [issue template](https://github.com/homarr-labs/dashboard-icons/issues/new/choose)
|
||||
- Choose between "Light & dark icon" or "Normal icon" template
|
||||
|
||||
- **Use Semantic Commits**: Follow the format <type>(scope): description:
|
||||
- `feat(icons): add nextcloud-calendar` when adding new icons.
|
||||
2. **Provide Information**:
|
||||
- Service/application name
|
||||
- Official logo or icon source
|
||||
- Any specific requirements or notes
|
||||
|
||||
## Contribution Process
|
||||
3. **Upload Icon** (optional):
|
||||
- Attach the SVG file directly to the issue
|
||||
- Include both light and dark variants if applicable
|
||||
|
||||
### Adding an icon
|
||||
4. **Wait for Review**:
|
||||
- Our team will review your request
|
||||
- We may request adjustments if needed
|
||||
- Once approved, we'll add the icon to the collection
|
||||
|
||||
To add an icon to the repository, follow these steps:
|
||||
## Improving the Repository
|
||||
|
||||
1. **Create issue**: Create an issue from one of the add [templates](https://github.com/homarr-labs/dashboard-icons/issues/new/choose):
|
||||
- **Light & dark icon**: Use this template to request a new icon with both light and dark versions.
|
||||
- **Normal icon**: Use this template to request a new icon with a single version.
|
||||
2. **Fill out the template**: Provide the requested information in the template. You can upload the icons directly to the issue.
|
||||
3. **Wait for approval**: Wait for the issue to be approved by a maintainer. If any changes are needed, they will be requested in the issue.
|
||||
4. **Maintainer approves & merges**: Once the issue is approved, a pull request with all the necessary changes will be created and merged by a maintainer.
|
||||
To contribute to the repository itself:
|
||||
|
||||
### Updating an icon
|
||||
1. **Fork the Repository**
|
||||
2. **Make Your Changes**:
|
||||
- Documentation improvements
|
||||
- Website enhancements
|
||||
- Repository maintenance
|
||||
- Bug fixes
|
||||
|
||||
To update an icon in the repository, follow these steps:
|
||||
|
||||
1. **Create issue**: Create an issue from the update [template](https://github.com/homarr-labs/dashboard-icons/issues/new/choose).
|
||||
- **Light & dark icon**: Use this template to request a new icon with both light and dark versions.
|
||||
- **Normal icon**: Use this template to request a new icon with a single version.
|
||||
2. **Fill out the template**: Provide the requested information in the template. You can upload the icons directly to the issue.
|
||||
3. **Wait for approval**: Wait for the issue to be approved by a maintainer. If any changes are needed, they will be requested in the issue.
|
||||
4. **Maintainer approves & merges**: Once the issue is approved, a pull request with all the necessary changes will be created and merged by a maintainer.
|
||||
|
||||
### Change metadata / any other change
|
||||
|
||||
To change the metadata of an existing icon or any other change, follow these steps:
|
||||
|
||||
1. **Fork the Repository**: Create a fork of this repository on your GitHub account.
|
||||
2. **Clone the Repository**: Clone your forked repository to your local machine.
|
||||
3. **Add Your Icons**: Place your SVG icon(s) into the appropriate directory, following the specifications above.
|
||||
4. **Commit Your Changes**: Commit your additions with clear and descriptive commit messages using Gitmoji.
|
||||
5. **Push to Your Fork**: Push your committed changes to your forked repository on GitHub.
|
||||
6. **Create a Pull Request**: Submit a pull request to the main repository for review.
|
||||
3. **Submit a Pull Request**:
|
||||
- Use semantic commit messages following the format: `<type>(scope): description`
|
||||
- `feat(icons): add nextcloud-calendar`
|
||||
- `fix(website): correct icon preview`
|
||||
- `docs(readme): update installation instructions`
|
||||
- Reference any related issues
|
||||
- Follow our [Code of Conduct](CODE_OF_CONDUCT.md)
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
By contributing, you agree to abide by our [Code of Conduct](CODE_OF_CONDUCT.md). Please review it to understand the expectations for all participants.
|
||||
|
||||
## Contact
|
||||
## Questions?
|
||||
|
||||
If you have any questions or need assistance, feel free to reach out at [homarr-labs@proton.me](mailto:homarr-labs@proton.me). I'm happy to help.
|
||||
If you have any questions or need assistance, contact us at [homarr-labs@proton.me](mailto:homarr-labs@proton.me).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue