Commit 19ab292 1 parent fbdf8db commit 19ab292 Copy full SHA for 19ab292
File tree 3 files changed +1
-8
lines changed
library-compose/src/main/java/com/spendesk/grapes/compose
3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ fun GrapesTopAppBar(
43
43
TopAppBar (
44
44
modifier = modifier,
45
45
title = title,
46
- contentColor = GrapesTheme .colors.mainBlack,
47
46
backgroundColor = GrapesTheme .colors.mainWhite,
47
+ contentColor = GrapesTheme .colors.structureComplementary,
48
48
navigationIcon = navigationIcon,
49
49
actions = actions,
50
50
elevation = elevationDp
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ import androidx.compose.ui.graphics.Color
12
12
data class GrapesColors (
13
13
@Deprecated(" Use semantic color" )
14
14
val mainWhite : Color ,
15
- @Deprecated(" Use semantic color" )
16
- val mainBlack : Color ,
17
15
18
16
val google : Color ,
19
17
@@ -57,9 +55,6 @@ data class GrapesColors(
57
55
val isLight : Boolean ,
58
56
)
59
57
60
- // Legacy colors
61
- val mainBlack = Color (0xFF000000 )
62
-
63
58
val google = Color (0xFF4285F4 )
64
59
65
60
// Colors
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ fun lightColorsPalette(
16
16
primaryLightest : Color = purpleLightest,
17
17
18
18
white : Color = grayWhite,
19
- black : Color = mainBlack,
20
19
surface : Color = white,
21
20
complementary : Color = purpleDarker,
22
21
background : Color = graySuperLightest,
@@ -49,7 +48,6 @@ fun lightColorsPalette(
49
48
alertLightest : Color = redLightest,
50
49
): GrapesColors = GrapesColors (
51
50
mainWhite = white,
52
- mainBlack = black,
53
51
google = google,
54
52
primaryDark = primaryDark,
55
53
primaryNormal = primaryNormal,
You can’t perform that action at this time.
0 commit comments