react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

refactor: remove mode from theme

Open lukewalczak opened this issue 6 months ago • 2 comments

Changes

The main purpose of this PR is removing the concept of theme modes (adaptive and exact) that were previously used to control how dark theme was applied. This simplifies the theming system by removing this additional layer of complexity, making the dark theme behavior more straightforward and consistent.

  1. Documentation Changes:
  • Removed documentation about dark theme modes (adaptive and exact) from the theming guide
  • Removed references to dark theme mode in component documentation
  1. Theme Changes:
  • Removed mode: 'adaptive' from theme
  • Removed mode-related theme overrides from example components
  1. Card Component:
  • Removed dark adaptive mode logic and animations
  • Simplified elevation animation to use a single animated value

lukewalczak avatar May 14 '25 14:05 lukewalczak

The mobile version of example app from this branch is ready! You can see it here.

github-actions[bot] avatar May 14 '25 14:05 github-actions[bot]

Hey @lukewalczak, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

callstack-bot avatar May 14 '25 14:05 callstack-bot