Skip to content

docs: align dynamic color setup and component mappings - #68

Merged
rdlabo merged 1 commit into
mainfrom
docs/dynamic-colors-stable
Nov 9, 2026
Merged

rdlabo merged 1 commit into
mainfrom
docs/dynamic-colors-stable

Conversation

@rdlabo

@rdlabo rdlabo commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

The dynamic-color guide still described the native API as experimental, and the color-system table no longer matched the current component styles. Document the supported plugin root imports and correct the mappings to preserve Ionic's default white surfaces, separate light/medium/dark palettes, and supplied Material foreground pairs.

Add installation/native rebuild instructions, class-based dark palette setup, controller lifecycle and error handling, pure conversion contracts, troubleshooting, and current validation scope. Correct the base/panel, searchbar and overlay assignments against the Sass implementation. Update README navigation text and stale demo adapter comments; historical validation records retain their original context. Runtime code and CSS are unchanged.

Companion plugin PR: webview-native-ui/capacitor-plugin#38

Validation:

  • Theme build and lint passed.
  • All 34 dynamic-color unit tests passed.
  • Five TypeScript documentation examples across both guides type-checked against built declarations.
  • Checked documented component assignments against src/styles/components/_colors.scss.

No screenshot baseline changes are needed: this PR changes documentation and comments only.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Playwright test results

passed  265 passed

Details

stats  265 tests across 18 suites
duration  2 minutes, 59 seconds
commit  0845938
info  This detailed result covers Ionic 9 only. Ionic 8 runs against the same screenshots in a separate matrix job; check the workflow run for both results. To update the screenshots, comment with /update-screenshots.

github-actions Bot added a commit that referenced this pull request Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

📊 Ionic 9 Playwright Test Report

View the detailed Ionic 9 report: https://webview-native-ui.github.io/ionic-theme-md3/pr-68/

Ionic 8 runs against the same screenshots in a separate matrix job. View both results in the workflow run.

@rdlabo
rdlabo merged commit 1eb3de1 into main Nov 9, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant