https://github.com/material-components/material-components-android-compose-theme-adapter
A library that enables reuse of Material themes defined in XML for theming in Jetpack Compose.
https://github.com/material-components/material-components-android-compose-theme-adapter
Last synced: 7 months ago
JSON representation
A library that enables reuse of Material themes defined in XML for theming in Jetpack Compose.
- Host: GitHub
- URL: https://github.com/material-components/material-components-android-compose-theme-adapter
- Owner: material-components
- License: apache-2.0
- Created: 2020-07-20T14:43:12.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2023-08-24T18:35:39.000Z (over 2 years ago)
- Last Synced: 2024-03-25T20:23:58.765Z (almost 2 years ago)
- Language: Kotlin
- Homepage: https://material-components.github.io/material-components-android-compose-theme-adapter/
- Size: 4 MB
- Stars: 415
- Watchers: 23
- Forks: 44
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# MDC-Android Compose Theme Adapter
## Deprecated
**Material Theme Adapter is deprecated. Use the Material Theme Builder tool, to generate a matching XML and Compose theme implementation for your app. See [Migrating XML themes to Compose][migratexmltocompose] to learn more.**
## License
```
Copyright 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
[migratexmltocompose]: https://developer.android.com/jetpack/compose/designsystems/views-to-compose
[compose]: https://developer.android.com/jetpack/compose
[mdc]: https://github.com/material-components/material-components-android
[appcompat]: https://developer.android.com/jetpack/androidx/releases/appcompat
[materialtheme]: https://developer.android.com/reference/kotlin/androidx/compose/material/MaterialTheme
[colors]: https://developer.android.com/reference/kotlin/androidx/compose/material/Colors
[typography]: https://developer.android.com/reference/kotlin/androidx/compose/material/Typography
[shapes]: https://developer.android.com/reference/kotlin/androidx/compose/material/Shapes
[m3materialtheme]: https://developer.android.com/reference/kotlin/androidx/compose/material3/MaterialTheme
[m3colorscheme]: https://developer.android.com/reference/kotlin/androidx/compose/material3/ColorScheme
[m3shapes]: https://developer.android.com/reference/kotlin/androidx/compose/material3/Shapes
[m3typography]: https://developer.android.com/reference/kotlin/androidx/compose/material3/Typography
[accompanist]: https://github.com/google/accompanist
[themeadaptermateriallib]: https://google.github.io/accompanist/themeadapter-material
[themeadaptermaterial3lib]: https://google.github.io/accompanist/themeadapter-material3
[themeadaptercorelib]: https://google.github.io/accompanist/themeadapter-core