Skip to content

Commit a128f90

Browse files
committed
Update migration guide
1 parent c161ded commit a128f90

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/migration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ consider additional positioning prop support on a case-by-case basis.
173173
- The default `theme` object has removed values for `colors.background` and
174174
`colors.foreground`. Use the `'background.default'` and `'foreground.default'`
175175
variables together with the v9 `getColor` utility instead.
176+
- The default theming `palette` has been redesigned and expanded to support
177+
light/dark modes. A temporary, deprecated `getColorV8` utility has been added.
178+
Use the temporary utility to apply legacy version 8 colors to custom
179+
(non-Garden) components they can be upgraded to use the enhanced version 9
180+
`getColor` utility.
176181
- Utility function `getDocument` has been removed. Use `useDocument` instead.
177182
- Utility function `isRtl` has been removed. Use `props.theme.rtl` instead.
178183
- The following exports have changed:

0 commit comments

Comments
 (0)