shevyjs | Configurable Vertical Rhythm & Typography in CSS-in-JS | Frontend Utils library
kandi X-RAY | shevyjs Summary
kandi X-RAY | shevyjs Summary
shevyjs is a TypeScript library typically used in User Interface, Frontend Utils applications. shevyjs has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
Perfect vertical rhythm for typography and more in CSS-in-JS. ShevyJS takes the concepts of the original Shevy and makes them available for CSS-in-JS systems. Shevy will do all the math required to keep your typography (and more) on your design system's baseline.
Perfect vertical rhythm for typography and more in CSS-in-JS. ShevyJS takes the concepts of the original Shevy and makes them available for CSS-in-JS systems. Shevy will do all the math required to keep your typography (and more) on your design system's baseline.
Support
Quality
Security
License
Reuse
Support
shevyjs has a low active ecosystem.
It has 316 star(s) with 10 fork(s). There are 2 watchers for this library.
It had no major release in the last 12 months.
There are 0 open issues and 8 have been closed. On average issues are closed in 266 days. There are 11 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of shevyjs is v1.2.0
Quality
shevyjs has no bugs reported.
Security
shevyjs has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
shevyjs is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
shevyjs releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shevyjs
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shevyjs
shevyjs Key Features
No Key Features are available at this moment for shevyjs.
shevyjs Examples and Code Snippets
No Code Snippets are available at this moment for shevyjs.
Community Discussions
Trending Discussions on shevyjs
QUESTION
Nested object destructuring: Duplicate declaration "fontSize"
Asked 2017-Nov-13 at 16:07
I'm using ShevyJS with styled-components. The docs show an example that uses nested object deconstruction ...
...ANSWER
Answered 2017-Nov-13 at 16:07Your destructuring statement is basically equivalent to
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shevyjs
Shevy is available as a module from npm:.
There are a few differences between v1 to v2, so here's how to make those changes. In v1, shevy was an instance of the Shevy class. Because of this, certain values were made properties of the class that really didn't need to be. An example would be this.baseFontScale. There isn't a good reason for this to need to be on the Shevy class. With the conversion to a simple factory function, it was easy to keep certain values and functions private. This tidies up the exposed API to just the properties for styles, and the methods listed above. This also improves the types for the project, which will likely improve your editor experience with faster Intellisense for shevy objects.
The default import is no longer a Shevy class constructor. It is the createShevy factory function.
Replace instances of new Shevy(options) with createShevy(options)
Some options properties were renamed: baseFontScale is now just fontScale addMarginBottom is now includeMarginBottom
Some options properties were modified precision and usePrecision are now just precision. precision is a nullable property now, replacing the need for two options. proximity and proximityFactor are now just proximity. proximity is a nullable property now, replacing the need for two options.
Several properties are no longer accessible on the shevy object
There are a few differences between v1 to v2, so here's how to make those changes. In v1, shevy was an instance of the Shevy class. Because of this, certain values were made properties of the class that really didn't need to be. An example would be this.baseFontScale. There isn't a good reason for this to need to be on the Shevy class. With the conversion to a simple factory function, it was easy to keep certain values and functions private. This tidies up the exposed API to just the properties for styles, and the methods listed above. This also improves the types for the project, which will likely improve your editor experience with faster Intellisense for shevy objects.
The default import is no longer a Shevy class constructor. It is the createShevy factory function.
Replace instances of new Shevy(options) with createShevy(options)
Some options properties were renamed: baseFontScale is now just fontScale addMarginBottom is now includeMarginBottom
Some options properties were modified precision and usePrecision are now just precision. precision is a nullable property now, replacing the need for two options. proximity and proximityFactor are now just proximity. proximity is a nullable property now, replacing the need for two options.
Several properties are no longer accessible on the shevy object
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page