1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-1102 App | Enhancement | Design fixes, buttons typography (#3137)

* DROID-1102 fix letter spacing

* DROID-1102 xml buttons

* DROID-1102 compose buttons

* DROID-1102 fix buttons style
This commit is contained in:
Konstantin Ivanov 2023-04-29 13:21:59 +02:00 committed by uburoiubu
parent 7ae8be1947
commit 053705fe27
No known key found for this signature in database
GPG key ID: C8FB80E0A595FBB6
5 changed files with 64 additions and 42 deletions

View file

@ -94,7 +94,7 @@ class ComposeButtonsPrimaryFragment : BaseComposeFragment() {
.wrapContentHeight()
.align(CenterHorizontally),
text = "Button",
size = ButtonSize.XSmall
size = ButtonSize.XSmallSecondary
)
ButtonSecondary(
onClick = {},
@ -103,7 +103,7 @@ class ComposeButtonsPrimaryFragment : BaseComposeFragment() {
.align(CenterHorizontally),
text = "Button",
enabled = false,
size = ButtonSize.XSmall
size = ButtonSize.XSmallSecondary
)
ButtonWarning(
onClick = {},
@ -144,7 +144,7 @@ class ComposeButtonsPrimaryFragment : BaseComposeFragment() {
.wrapContentHeight()
.align(CenterHorizontally),
text = "Button",
size = ButtonSize.Small
size = ButtonSize.SmallSecondary
)
ButtonSecondary(
onClick = {},
@ -153,7 +153,7 @@ class ComposeButtonsPrimaryFragment : BaseComposeFragment() {
.align(CenterHorizontally),
text = "Button",
enabled = false,
size = ButtonSize.Small
size = ButtonSize.SmallSecondary
)
ButtonWarning(
onClick = {},
@ -197,7 +197,7 @@ class ComposeButtonsPrimaryFragment : BaseComposeFragment() {
.padding(horizontal = 16.dp, vertical = 8.dp)
.align(CenterHorizontally),
text = "Button",
size = ButtonSize.Medium
size = ButtonSize.MediumSecondary
)
ButtonSecondary(
onClick = {},
@ -207,7 +207,7 @@ class ComposeButtonsPrimaryFragment : BaseComposeFragment() {
.align(CenterHorizontally),
text = "Button",
enabled = false,
size = ButtonSize.Medium
size = ButtonSize.MediumSecondary
)
ButtonWarning(
onClick = {},
@ -255,7 +255,7 @@ class ComposeButtonsPrimaryFragment : BaseComposeFragment() {
.padding(horizontal = 16.dp, vertical = 8.dp)
.align(CenterHorizontally),
text = "Button",
size = ButtonSize.Large
size = ButtonSize.LargeSecondary
)
ButtonSecondary(
onClick = {},
@ -266,7 +266,7 @@ class ComposeButtonsPrimaryFragment : BaseComposeFragment() {
.align(CenterHorizontally),
text = "Button",
enabled = false,
size = ButtonSize.Large
size = ButtonSize.LargeSecondary
)
ButtonWarning(
onClick = {},