docs: add rule about consistent use of shapes (#3975)

This commit is contained in:
Jakob Guddas
2026-03-14 20:55:52 +01:00
committed by GitHub
parent f910edc007
commit f8ee8d7287

View File

@@ -90,6 +90,15 @@ Here are rules that should be followed to keep quality and consistency when maki
**Tip:** whenever possible align elements and arc centers to the grid.
### 14. Icons should share common shapes
You should try to create consistent groups and variants, reuse and try to create uniformity.
Consistency inside groups and variants has a lower priority than the rules above.
**Example:** All `-off` icons should look the same unless it for example violates the optical volume rule.
**Tip:** Try to not move the base shape to enable better use in a toggle context.
## Naming conventions
1. Icon names use lower kebab case.\