Comments (1)
Are the limits within these checks outdated? Perhaps these days we need more values (we have more devices and screen sizes than before).
The number of values in a scale usually have nothing to do with devices and screen sizes, but with offering a limited set of values a developer can choose from.
If you look at the spacing scale, 8 values should be more than enough to make a good design. For example, 0 4px 8px 16px 24px 32px 48px 64px
offers small, large and very large values for margins and paddings.
Also: they're only warnings, which needn't necessarily be fixed. It's an indicator you might be doing something wrong, but if you know what you're doing and know what the effects are, you can ignore them.
At the end of the day, I would advice against using more values. Who needs 6 values for border radius? That's an indication of an inconsistent design.
And... The link to the details does not exist anymore because we've removed all the release/z.y.x branches.
You can easily change the path to master
in this file: https://github.com/zicht/zss/blob/master/src/dev/_strict.scss#L38
Just an opinion from a former colleague, do with it what you want 😉
from zss.
Related Issues (20)
- Add utilities for flex-wrap
- Create an index of css properties and their zss counterparts
- Don't output responsive classes for breakpoints with a 0 value
- Add utility class for justify-content: space-between
- Add position: sticky
- Add utility class for left/right auto margin
- Make grid padding configurable
- Possibility to reset text-transform to normal
- Possibility to use print in the @media HOT 1
- Make font-variant responsive
- Add object-fit utility classes
- Replace flex grid with css grid HOT 1
- Add baseline value to vertical-align
- Add auto margin for y-axis
- Attach URLs to error messages HOT 1
- Extend z-index stack with 0 HOT 1
- Column width classes not generated without breakpoints HOT 1
- utility background-color uses wrong BEM-notification
- Order of margin / padding specificity HOT 1
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 zss.