-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from eshc123/dev
[RELEASE]
- Loading branch information
Showing
32 changed files
with
1,623 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
core/designsystem/src/main/java/com/eshc/goonersapp/core/designsystem/component/Badge.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package com.eshc.goonersapp.core.designsystem.component | ||
|
||
import androidx.compose.foundation.layout.Box | ||
import androidx.compose.foundation.layout.fillMaxSize | ||
import androidx.compose.foundation.layout.height | ||
import androidx.compose.foundation.layout.width | ||
import androidx.compose.foundation.shape.RoundedCornerShape | ||
import androidx.compose.material3.Card | ||
import androidx.compose.material3.CardDefaults | ||
import androidx.compose.material3.Text | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Alignment | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.graphics.Color | ||
import androidx.compose.ui.unit.dp | ||
import com.eshc.goonersapp.core.designsystem.theme.ColorFF000000 | ||
import com.eshc.goonersapp.core.designsystem.theme.GnrTypography | ||
|
||
@Composable | ||
fun MatchItemResultChip( | ||
result: String, | ||
color: Color, | ||
modifier: Modifier = Modifier | ||
) { | ||
Card( | ||
modifier = modifier, | ||
shape = RoundedCornerShape(3.dp), | ||
colors = CardDefaults.cardColors( | ||
containerColor = color, | ||
contentColor = ColorFF000000 | ||
) | ||
) { | ||
Box( | ||
modifier = Modifier.fillMaxSize(), | ||
contentAlignment = Alignment.Center | ||
) { | ||
Text( | ||
text = result, | ||
style = GnrTypography.descriptionMedium | ||
) | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...system/src/main/java/com/eshc/goonersapp/core/designsystem/component/HorizontalDivider.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.eshc.goonersapp.core.designsystem.component | ||
|
||
import androidx.compose.material3.HorizontalDivider | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.graphics.Color | ||
import androidx.compose.ui.unit.Dp | ||
import androidx.compose.ui.unit.dp | ||
import com.eshc.goonersapp.core.designsystem.theme.ColorFFDCDCDC | ||
|
||
@Composable | ||
fun GnrHorizontalDivider( | ||
modifier: Modifier = Modifier, | ||
color: Color = ColorFFDCDCDC, | ||
thickness: Dp = 1.dp | ||
) { | ||
HorizontalDivider(modifier, thickness, color) | ||
} |
Oops, something went wrong.