Comments (5)
No. Defiantly not.
Especially for modern CSS you’ll need the unit-less value (it’s percent). Pixels are dead ;-)
Even the font size should be rem (based on 16px base font size—mostly standard).
h1
font-family: $font-1
font-size: 2rem
line-hight: 1.2
from sketch-measure.
I agree that more modern CSS practice uses %, em's and rem's, but some projects use pixels because of legacy code.
Forward thinking is definitely important, but it also doesn't allow for existing codebases that clients might already be using.
from sketch-measure.
Hi, how could I generate a line-heigth label at all? Currently if i use the Get Typography tool it don't write any lh - do I have to use a special setting?
from sketch-measure.
@mimamuh Looks like the new version removes line height from the "get typography" feature.
from sketch-measure.
"get typography" feature merged into the "get property", and using "sp", "pt" and "px"
from sketch-measure.
Related Issues (20)
- No working in sketch 69.2 HOT 4
- Version 70.2 Sketch measure can not load out HOT 2
- This plugin can not be used after the apple system upgrade HOT 3
- comment doesn't work HOT 1
- Version sketch 69 can not export HTML HOT 3
- sketch-measure is not compatible to m1 MacBook (ARM architecture) HOT 2
- Sketch App wants me to move it to trash HOT 2
- This plugin needs to be updated
- Toolbar 2.0 label not working
- Sketch Measure not working with Sketch 72 HOT 5
- sketch-measure can't work in the latest sketch version
- Sketch measure no longer works HOT 5
- 版本适配问题 HOT 1
- How to use sketchtool run this plugin?
- Sketch Measure Does nothing when Spec Export is clicked. HOT 1
- Please make it work on New Sketch Version!! HOT 2
- Sketch measure toolbars not showing in sketch 75 HOT 2
- sketch measure plugin not functioning HOT 4
- Can't find the 'percentage for spacing/size' in the new version HOT 1
- Not working
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 sketch-measure.