1# Core Theme Adapter 2 3[](https://search.maven.org/search?q=g:com.google.accompanist) 4 5!!! warning 6 **This library is deprecated, and the API is no longer maintained.** The original documentation is below. 7 8## Migration 9Recommendation: Use the [Material Theme Builder](https://m3.material.io/theme-builder) tool, or an alternative design tool, to generate a matching XML and Compose theme implementation for your app. See [Migrating XML themes to Compose](https://developer.android.com/jetpack/compose/designsystems/views-to-compose) to learn more. 10 11You can checkout [Material Design 3 in Compose](https://developer.android.com/jetpack/compose/designsystems/material3#material-theming) to learn more about creating and adding theme to your app using Material Theme Builder. 12 13## Original Documenation 14 15A library that includes common utilities that enable the reuse of XML themes, for theming in [Jetpack Compose][compose]. 16 17See the [API][api] for more details. 18 19--- 20 21## Usage 22 23[](https://search.maven.org/search?q=g:com.google.accompanist) 24 25``` groovy 26repositories { 27 mavenCentral() 28} 29 30dependencies { 31 implementation "com.google.accompanist:accompanist-themeadapter-core:<version>" 32} 33``` 34 35### Library Snapshots 36 37Snapshots of the current development version of this library are available, which track the latest commit. See [here](../using-snapshot-version) for more information on how to use them. 38 39--- 40 41## Contributions 42 43Please contribute! We will gladly review any pull requests. 44Make sure to read the [Contributing](../contributing) page first though. 45 46## License 47 48``` 49Copyright 2022 The Android Open Source Project 50 51Licensed under the Apache License, Version 2.0 (the "License"); 52you may not use this file except in compliance with the License. 53You may obtain a copy of the License at 54 55 https://www.apache.org/licenses/LICENSE-2.0 56 57Unless required by applicable law or agreed to in writing, software 58distributed under the License is distributed on an "AS IS" BASIS, 59WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 60See the License for the specific language governing permissions and 61limitations under the License. 62``` 63 64[compose]: https://developer.android.com/jetpack/compose 65[api]: ../api/themeadapter-core 66