Skip to content

Commit

Permalink
Merge pull request #19 from Team-B1ND/feature/1.0.5
Browse files Browse the repository at this point in the history
Relese 1.0.5
  • Loading branch information
wnsgur1 authored Sep 10, 2024
2 parents ee60944 + b882675 commit 1e5d896
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![version](https://img.shields.io/badge/version-1.0.4-blue)
![version](https://img.shields.io/badge/version-1.0.5-blue)

## How to use?
in your project
Expand Down
2 changes: 1 addition & 1 deletion dodam-design-system/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mavenPublishing {
coordinates(
groupId = "com.b1nd.dodam",
artifactId = "dodam-design-system",
version = "1.0.4"
version = "1.0.5"
)

pom {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ enum class ButtonRole {
Primary,
Secondary,
Assistive,
Negative,
}

@Stable
Expand Down Expand Up @@ -153,6 +154,12 @@ private fun ButtonRole.buttonColors(): ButtonColors {
containerColor = colors.fillNormal,
contentColor = colors.labelNeutral,
)
ButtonRole.Negative ->{
ButtonColors(
containerColor = colors.statusNegative,
contentColor = colors.staticWhite,
)
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ fun DodamDefaultTopAppBar(
actionIcons = actionIcons,
) {
Row(
modifier = Modifier.height(TopAppBarDefaults.MinimumContentHeight),
modifier = Modifier
.height(TopAppBarDefaults.MinimumContentHeight)
.padding(start = 4.dp),
verticalAlignment = Alignment.CenterVertically,
) {
Spacer(modifier = Modifier.width(TopAppBarDefaults.TitleStartSpacing))
Expand Down

0 comments on commit 1e5d896

Please sign in to comment.