<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
style="fill:currentColor"
d="m 3,8.75 c 0,0 5.55,5 9,5 3.45,0 9,-5 9,-5 L 12,22 Z" />
<path
style="stroke-width:2.2"
d="M 2.5,7 A 9.5,5 0 0 1 12,2 9.5,5 0 0 1 21.5,7 9.5,5 0 0 1 12,12 9.5,5 0 0 1 2.5,7" />
</svg>SVG attributes used (default section):
width="24" & height="24" & viewBox="0 0 24 24"- simple (small) iconfill="none"- transparentstroke="currentColor"- adopts parent element colorstroke-width="2"- base line weightstroke-linecap="round"- rounded line endsstroke-linejoin="round"- rounded corners
Path specific attributes:
style="fill:currentColor"- themed fill instead of transperentstyle="stroke-width:2.2"- thicker line to avoid imperfections
The design language was partially inspired by Lucide Design Principles
Icons are in SVG format, most essential basic one (see example above).
- Create icon in the software you familiar but stick to the following:
- 24×24px or 48×48px artboards
- 2px stroke width (
stroke-width="2") currentColorfor fills/strokes (makes icons themable)
Vector graphic software usually adds substantial metadata, attributes, groupping and so on, so to keep the icon essense pure - I prefer to manually optimize it, validate and only then commit via pull-request so this way the main branch stays as clean as possible and can be used as a git submodule in another project.
Optimization Steps example workflow:
- Open in VS Code/Codium and switch between text/XML mode and image preview
- Remove software metadata, attributes, structures...
- Minify actually used attributes (keep defaults as whole svg attributes)
- Verify rendering in image preview
- Validate and test in target applications (web, print, etc.)
Icon contributions are welcomed!
Direct repository access workflow (Seismonia member):
- Create a feature branch from main named:
dev-your-icon-set-name- Examples: dev-natural, dev-industrial
- Add your SVG icons in the appropriate category folder(s)
- Submit a Pull Request from your dev-* branch to main
- Review -> optimization -> merge once icons are clean .svg
Fork & PR workflow (any GitHub user/org):
- Fork this repository to your GitHub account
- Create a feature branch in your fork:
dev-your-icon-set-name - Add your SVG icons following design guidelines mentioned above
- Submit a Pull Request from your fork to Seismonia's main branch
- main branch: Protected - requires PR review and optimization pass
- dev-* branches: Open for development and collaboration