arcticicestudio / styled-modern-normalize Goto Github PK
View Code? Open in Web Editor NEWmodern-normalize.css for styled-components
Home Page: http://npm.im/styled-modern-normalize
License: MIT License
modern-normalize.css for styled-components
Home Page: http://npm.im/styled-modern-normalize
License: MIT License
0.60
was released about 6 months ago. Could the next release of this package include that with updated peer dependency for styled-components
v5?
Exposing used fonts via public API allows to customize and add new fonts without loosing the default fonts and fallbacks. This will include sans-serif (default text) and monospace (<code>
and <pre>
) fonts.
It will be implemented as Array<String>
to allow to easily prepend new fonts using Array.unshift()
.
Implement the initial API for the CSS definitions based on modern-normalize version 0.4.0.
The package should expose the following exports:
modernNormalize
MODERN_NORMALIZE_VERSION
to provide the version stringAs v5 has been out for a bit now, the following error is raised during a package install as it's not meeting the condition.
warning " > [email protected]" has incorrect peer dependency "styled-components@^2.0.0 || ^3.2.6 || ^4.1.2".
styled-components v4 has recently been released. Details about new awesome features and performance boosts can be found in the blog post, the changelog and the migration guide.
There is now a new way to use global styles via the createGlobalStyle
factory API function that returns a React.Component
instead of injecting it directly like in v3 with injectGlobalStyle
.
To support v4, instructions will be added to the documentation how to use it with this project. We won't change the currently exported interpolated styles to export a React component since this won't allows users to compose or override the styles and would force them to use the component as it is. It would also break the usage with v3 or lower. Users who like to use the new component-based approach can simply create a new styeled component with the new createGlobalStyle
API and inject the styles imported from this library, allowing them to adjust and modify it to fit their needs.
When building a project with create-react-app(CRA), styled-components offers importing it via styled-components/macro
which will seamlessly integrate with CRA's babel config without having to do anything like eject config to add your own babel config and plugin for styled-components.
I've been doing so fine, but when I brought in this package, it wasn't happy as it's importing the non-babel-macro version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.