mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-24 03:36:51 +00:00
refactor: update color definitions for dark theme consistency
This commit is contained in:
@@ -59,7 +59,7 @@ fun MediaResumeButton(
|
||||
) {
|
||||
val scheme = MaterialTheme.colorScheme
|
||||
val primaryColor = scheme.primary
|
||||
val onPrimaryColor = scheme.onPrimary
|
||||
val defaultColor = scheme.surface
|
||||
val shape = RoundedCornerShape(50)
|
||||
var isFocused by remember { mutableStateOf(false) }
|
||||
val scale by animateFloatAsState(
|
||||
@@ -93,7 +93,7 @@ fun MediaResumeButton(
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.fillMaxSize()
|
||||
.background(onPrimaryColor),
|
||||
.background(defaultColor),
|
||||
contentAlignment = Alignment.Center
|
||||
) {
|
||||
ResumeButtonContent(
|
||||
@@ -123,7 +123,7 @@ fun MediaResumeButton(
|
||||
) {
|
||||
ResumeButtonContent(
|
||||
text = text,
|
||||
color = onPrimaryColor,
|
||||
color = defaultColor,
|
||||
textSize = textSize,
|
||||
iconSize = iconSize
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user