From aac5615f50c752d102315ddf8f13825a86fd1e0d Mon Sep 17 00:00:00 2001 From: rdlabo Date: Mon, 9 Nov 2026 16:19:49 +0900 Subject: [PATCH] docs: import native dynamic colors from package root --- docs/dynamic-colors.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/dynamic-colors.md b/docs/dynamic-colors.md index 0cf827f..4326547 100644 --- a/docs/dynamic-colors.md +++ b/docs/dynamic-colors.md @@ -6,13 +6,13 @@ algorithms. Older Android, iOS, and Web use the existing Ionic palette and compo See [color system](color-system.md): Ionic palettes alone are sufficient; native Material roles only refine optional CSS tokens. -Use a capacitor-plugin build exposing `getDynamicColorScheme` and -`addDynamicColorListener` (these APIs are introduced alongside this feature). -The `dynamic-colors` entrypoints avoid importing Native UI projection or Ionic -transitions. No activation of Native UI projection is needed. +Import the experimental `getDynamicColorScheme` and `addDynamicColorListener` +APIs from the `@rdlabo/capacitor-native-ui` root entrypoint. No activation of Native +UI projection is needed. The theme conversion helper remains available from +`@rdlabo/ionic-theme-md3/dynamic-colors`. ```ts -import { getDynamicColorScheme, addDynamicColorListener } from '@rdlabo/capacitor-native-ui/dynamic-colors'; +import { getDynamicColorScheme, addDynamicColorListener } from '@rdlabo/capacitor-native-ui'; import { enableDynamicColors } from '@rdlabo/ionic-theme-md3/dynamic-colors'; const theme = await enableDynamicColors({