Comments (2)
@BMCwebdev Thanks! Unfortunately there's no quick fix for your use-case... We build 'padding' directly into the path info of the SVGs to make them visually consistent in size. This means there isn't really any padding to subtract, and there isn't a constant offset you could apply to every icon to get them to fit the same square. If every icon just filled the square on it's largest axis, you'd have visual inconsistencies.
from homepage.
I would definitely direct you to read my partner's article on the subject and why we chose to do this, and [not to preach, but] why you might want to account for it in your design system.
As an example, a square-shaped icon that fits a 32 x 32 canvas would completely fill it, and look much larger than a triangular icon that fits a 32 x 32 canvas. How much do you size up the triangle to make them look visually the same size? That's what we figure out beforehand and bake into the icons.
from homepage.
Related Issues (20)
- User with Dashed Circle (rather than solid)
- Icon request : crown with + and - signs
- Icon request: List with heart (for wishlists, favorited lists, etc.)
- Vending machine
- Disney icon HOT 1
- User with checkmark - friends/in network icon
- Icon Request: Peerlist (peerlist.io)
- Icon request: cheers
- Icon request: disco HOT 1
- Icon Request: X (fka Twitter!) HOT 1
- Can the script be loaded using the `async` attribute? HOT 1
- Icon request: bomb
- All thin icons on EGUI are broken HOT 1
- Website is down HOT 2
- Icon request: reply HOT 2
- Website / Webpage Icon HOT 1
- icon request: support icon HOT 4
- Icons Request: money icons HOT 2
- New icon: file_ini
- New icon: file_txt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homepage.