You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clean up public API, deprecating old API names. Also adding sprinkles to the docs site and using `sprinkles` in favour of `atoms` for the canoncial examples.
6
+
7
+
API changes include:
8
+
- Rename `createAtomicStyles` to `defineProperties`, `createAtomicStyles` is now deprecated
9
+
- Rename `createAtomsFn` to `createSprinkles`, `createAtomsFn` is now deprecated
10
+
- Rename `AtomicStyles` type to `SprinklesProperties`, `AtomicStyles` is now deprecated
11
+
12
+
### Migration Guide
13
+
14
+
```diff
15
+
-import { createAtomicStyles, createAtomsFn } from '@vanilla-extract/sprinkles';
16
+
+import { defineProperties, createSprinkles } from '@vanilla-extract/sprinkles';
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ document.write(`
74
74
75
75
---
76
76
77
-
Want to work at a higher level while maximising style re-use? Check out 🍨 [Sprinkles](https://github.com/seek-oss/vanilla-extract/tree/master/packages/sprinkles), our official zero-runtime atomic CSS framework, built on top of vanilla-extract.
77
+
Want to work at a higher level while maximising style re-use? Check out 🍨 [Sprinkles](https://vanilla-extract.style/documentation/sprinkles-api), our official zero-runtime atomic CSS framework, built on top of vanilla-extract.
78
78
79
79
---
80
80
@@ -1016,26 +1016,26 @@ document.write(`
1016
1016
1017
1017
Your recipe configuration can also make use of existing variables, classes and styles.
1018
1018
1019
-
For example, you can use your `atoms` function from [Sprinkles.](https://github.com/seek-oss/vanilla-extract/tree/master/packages/sprinkles)
1019
+
For example, you can pass in the result of your [`sprinkles`](https://vanilla-extract.style/documentation/sprinkles-api) function directly.
0 commit comments