Update naming of functions to reflect styles.variables nesting
This commit is contained in:
parent
277a41b14c
commit
8f591b69f2
1 changed files with 22 additions and 22 deletions
|
|
@ -587,7 +587,7 @@ type McpUiStyleVariableKey =
|
|||
...
|
||||
}
|
||||
```
|
||||
- Apps can use the `applyHostStyles` utility (or `useHostStyles` if they prefer a React hook) to easily populate the host-provided CSS variables into their style sheet
|
||||
- Apps can use the `applyHostStyleVariables` utility (or `useHostStyleVariables` if they prefer a React hook) to easily populate the host-provided CSS variables into their style sheet
|
||||
- Apps can use the `applyDocumentTheme` utility (or `useDocumentTheme` if they prefer a React hook) to easily respond to Host Context `theme` changes in a way that is compatible with the host's light/dark color variables
|
||||
|
||||
Example usage of standardized CSS variables:
|
||||
|
|
|
|||
Loading…
Reference in a new issue