Skip to content

Commit 12c5916

Browse files
Change Catalog app design
1 parent 91f6816 commit 12c5916

File tree

2 files changed

+268
-381
lines changed
  • core/ui/src/main/java/co/yml/coreui/core/ui/templates
  • feature/ytag/src/main/java/co/yml/coreui/feature/ytag/ui

2 files changed

+268
-381
lines changed

core/ui/src/main/java/co/yml/coreui/core/ui/templates/AppBar.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ fun AppBar() {
4444
* @param title title of the screen
4545
* @param onBackPressed implementation of back press event
4646
*/
47+
@OptIn(ExperimentalMaterial3Api::class)
4748
@Composable
4849
fun AppBarWithBackButton(title: String, onBackPressed: () -> Unit) {
4950
Surface(shadowElevation = dimensionResource(id = R.dimen.padding_small)) {
@@ -68,7 +69,7 @@ fun AppBarWithBackButton(title: String, onBackPressed: () -> Unit) {
6869
Icon(
6970
painter = painterResource(id = R.drawable.ic_back_arrow),
7071
contentDescription = "Back",
71-
tint = Color.Black
72+
tint = CoreUICatalogTheme.colors.primary
7273
)
7374
}
7475
}

0 commit comments

Comments
 (0)