@plumeria/core 9.0.0 → 9.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
An atomic CSS types designed to disappear.
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
|
-
import * as
|
|
6
|
+
import * as style from '@plumeria/core';
|
|
7
7
|
|
|
8
|
-
const styles =
|
|
8
|
+
const styles = style.create({
|
|
9
9
|
text: {
|
|
10
10
|
fontSize: 12,
|
|
11
11
|
color: 'navy',
|
|
@@ -15,7 +15,7 @@ const styles = css.create({
|
|
|
15
15
|
},
|
|
16
16
|
});
|
|
17
17
|
|
|
18
|
-
const className =
|
|
18
|
+
const className = style.use(styles.text, styles.size);
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
**Compiled:**
|