1.2.4 • Published 7 years ago
@cezaraugusto/venus v1.2.4
venus: Inline Styles that work
Support for colocating your styles with your JavaScript component.
- Works great with and without React
- Supports media queries without window.matchMedia
- Supports pseudo-selectors like
:hover
,:active
, etc. without needing to store hover or active state in components.:visited
works just fine too. - Supports automatic global
@font-face
detection and insertion. - Respects precedence order when specifying multiple styles
- Requires no AST transform
- Injects only the exact styles needed for the render into the DOM.
- Can be used for server rendering
- Few dependencies, small (20k, 6k gzipped)
- No external CSS file generated for inclusion
- Autoprefixes styles
Installation
venus is distributed via npm:
npm install --save venus
License (MIT)
Copyright (c) 2016 Khan Academy
1.2.4
7 years ago