From f4dd29abc2175a3dc59ccce37b14a352c6e1f431 Mon Sep 17 00:00:00 2001 From: dongjinlong Date: Tue, 26 Mar 2024 22:16:10 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: dongjinlong --- docs/themeadapter-appcompat.md | 3 ++- docs/themeadapter-core.md | 2 +- docs/themeadapter-material.md | 2 +- docs/themeadapter-material3.md | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/themeadapter-appcompat.md b/docs/themeadapter-appcompat.md index 5c146c2c0..c8ed8575f 100644 --- a/docs/themeadapter-appcompat.md +++ b/docs/themeadapter-appcompat.md @@ -10,12 +10,13 @@ Recommendation: Use the [Material Theme Builder](https://m3.material.io/theme-bu You 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. -## Original Documenation +## Original Documentation A library that enables the reuse of [AppCompat][appcompat] XML themes, for theming in [Jetpack Compose][compose]. The basis of theming in [Jetpack Compose][compose] is the [`MaterialTheme`][materialtheme] composable, where you provide [`Colors`][colors], [`Shapes`][shapes] and [`Typography`][typography] instances containing your styling parameters: +
``` kotlin MaterialTheme( typography = type, diff --git a/docs/themeadapter-core.md b/docs/themeadapter-core.md index 7c272a18c..cdc4e4eba 100644 --- a/docs/themeadapter-core.md +++ b/docs/themeadapter-core.md @@ -10,7 +10,7 @@ Recommendation: Use the [Material Theme Builder](https://m3.material.io/theme-bu You 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. -## Original Documenation +## Original Documentation A library that includes common utilities that enable the reuse of XML themes, for theming in [Jetpack Compose][compose]. diff --git a/docs/themeadapter-material.md b/docs/themeadapter-material.md index e2430ccf7..e14d0acdf 100644 --- a/docs/themeadapter-material.md +++ b/docs/themeadapter-material.md @@ -10,7 +10,7 @@ Recommendation: Use the [Material Theme Builder](https://m3.material.io/theme-bu You 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. -## Original Documenation +## Original Documentation A library that enables the reuse of [MDC-Android][mdc] Material 2 XML themes, for theming in [Jetpack Compose][compose]. diff --git a/docs/themeadapter-material3.md b/docs/themeadapter-material3.md index 73403826b..c0d13b6e9 100644 --- a/docs/themeadapter-material3.md +++ b/docs/themeadapter-material3.md @@ -10,7 +10,7 @@ Recommendation: Use the [Material Theme Builder](https://m3.material.io/theme-bu You 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. -## Original Documenation +## Original Documentation A library that enables the reuse of [MDC-Android][mdc] Material 3 XML themes, for theming in [Jetpack Compose][compose]. ![Material 3 Theme Adapter header](themeadapter/material3-header.png)