Skip to content

[ui][compose] move DynamicTheme as Host.colorScheme#41413

Merged
Kudo merged 2 commits intomainfrom
@kudo/jetpack-compose/remove-dynamic-theme
Dec 14, 2025
Merged

[ui][compose] move DynamicTheme as Host.colorScheme#41413
Kudo merged 2 commits intomainfrom
@kudo/jetpack-compose/remove-dynamic-theme

Conversation

@Kudo
Copy link
Copy Markdown
Contributor

@Kudo Kudo commented Dec 4, 2025

Why

move tight coupled DynamicTheme in native compose views into Host colorScheme prop

How

  • add dedicated HostView.kt
  • add colorScheme prop for Host
  • remove DynamicTheme

Test Plan

tested in NCL switch component (and switching colorScheme)

Checklist

Copy link
Copy Markdown
Contributor Author

Kudo commented Dec 4, 2025

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Dec 4, 2025
@expo-bot
Copy link
Copy Markdown
Collaborator

expo-bot commented Dec 4, 2025

The Pull Request introduced fingerprint changes against the base commit: ed5035a

Fingerprint diff
[
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "../../packages/expo-ui/android",
      "reasons": [
        "expoAutolinkingAndroid"
      ],
      "hash": "04adccbab30396483749b362cdbc3024f7977043"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "../../packages/expo-ui/android",
      "reasons": [
        "expoAutolinkingAndroid"
      ],
      "hash": "e1b4547ec0e2985c5063fae8e215d9fcddd6f64c"
    }
  }
]

Generated by PR labeler 🤖

@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Dec 4, 2025
@Kudo Kudo marked this pull request as ready for review December 4, 2025 19:33
@Kudo Kudo requested a review from aleqsio December 4, 2025 19:33
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 4, 2025

Subscribed to pull request

File Patterns Mentions
packages/expo-ui/** @aleqsio, @behenate, @douglowder

Generated by CodeMention

@Kudo Kudo force-pushed the @kudo/jetpack-compose/remove-dynamic-theme branch from 12dd64f to 3f745b1 Compare December 11, 2025 09:40
Copy link
Copy Markdown
Contributor

@aleqsio aleqsio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the refactor!

@Kudo Kudo mentioned this pull request Dec 12, 2025
3 tasks
@Kudo Kudo merged commit 8c3eb21 into main Dec 14, 2025
12 checks passed
@Kudo Kudo deleted the @kudo/jetpack-compose/remove-dynamic-theme branch December 14, 2025 15:00
kimchi-developer pushed a commit to kimchi-developer/expo that referenced this pull request Dec 15, 2025
# Why

move tight coupled `DynamicTheme` in native compose views into Host `colorScheme` prop

# How

- add dedicated HostView.kt
- add `colorScheme` prop for Host
- remove DynamicTheme
aleqsio pushed a commit that referenced this pull request Dec 22, 2025
# Why

move tight coupled `DynamicTheme` in native compose views into Host `colorScheme` prop

# How

- add dedicated HostView.kt
- add `colorScheme` prop for Host
- remove DynamicTheme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: fingerprint changed bot: passed checks ExpoBot has nothing to complain about

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants