3.0.0 • Published 5 years ago
styled-system-html v3.0.0
Styled System HTML
HTML elements extended as components, ready for theming via styled system. Built with/for Styled Components & Styled System
Usage
$ npm i styled-system-html
Create a theme with settings for colors, typography and spacing.
const theme = {
colors : {'primary':'#071'},
space : [0,4,8,16,32,64,128]
}
Apply your theme to the element components.
// Header with 2 levels (8px) of padding,
// blue/primary background and white text.
<Header p={2} bg="primary" color="white">
My Header
</Header>
Try it out at johnpolacek.github.io/styled-system-html
For more info, see Styled System by Brent Jackson.
--
Created by John Polacek
3.0.0
5 years ago
3.0.0-alpha.0
5 years ago
2.0.8
5 years ago
2.0.7
5 years ago
2.0.6
5 years ago
2.0.5
5 years ago
2.0.4
5 years ago
2.0.3
5 years ago
2.0.2
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago