realadvisor / react-system Goto Github PK
View Code? Open in Web Editor NEWFlex box system for react based on emotion
Flex box system for react based on emotion
add support for inline-flex
responsive(values: Array<T>): T
A function to create responsive value outside of system elements and css. It accepts a set of values similar to p or m which are applied depending on current viewport size.
Note: should be called only inside of component render and have provider in the tree
The following properties are not available in react-system and not always removed when refactoring from grid-styled
Just found facepaint project. I think it can be reused instead of styles compiler.
Its instance can be exported as media({})
which could be passed to emotion css()
or Flex/Box css
prop.
Need to figure out it is worse to keep all existing optimisation.
For example p={2} pb={0} better to write as pt={2} px={2}
All className
, style
and css
props should be supported.
styled-components implemented a way to specify component tag with as
prop. emotion is gonna do the same.
This renaming will make styling more consistent with existing solutions.
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.