Skip to content

Commit a5d0cdc

Browse files
committed
Merge branch 'next' into jzempel/get-color
2 parents 142778f + d2b7c8e commit a5d0cdc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/migration.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,13 @@ 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.
176+
- The theming `palette` has undergone a comprehensive redesign and now includes
177+
enhanced support for both light and dark modes. To facilitate a smoother
178+
transition, we have introduced a temporary utility, `getColorV8`, which is
179+
deprecated. This utility enables the application of the legacy version 8 color
180+
scheme to custom components that are not part of the Garden framework. It is
181+
recommended to utilize this stopgap measure until such components can be updated
182+
to leverage the full capabilities of v9 `getColor`.
181183
- Utility function `getDocument` has been removed. Use `useDocument` instead.
182184
- Utility function `isRtl` has been removed. Use `props.theme.rtl` instead.
183185
- The following exports have changed:

0 commit comments

Comments
 (0)