Package Exports
- @plumeria/core
- @plumeria/core/dist/css.js
- @plumeria/core/dist/css.mjs
- @plumeria/core/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@plumeria/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@plumeria/core
An atomic CSS runtime designed to disappear.
import { css } from '@plumeria/core';
const styles = css.create({
text: {
fontSize: 12,
color: 'navy',
},
size: {
width: 120,
},
});
const className = css.props(styles.text, styles.size);Generated CSS:
.xhrr6ses:not(#\#) {
font-size: 12px;
}
.xvbwmxqp {
color: navy;
}
.xhk51flp {
width: 120px;
}"xhrr6ses xvbwmxqp xhk51flp"Documentation
Read the documentation for more details.
Installation
Acknowledgement
Plumeria is made possible thanks to the inspirations from the following projects:
License
MIT License © 2023-PRESENT Refirst 11