Skip to content

Commit 674a982

Browse files
committed
Bake alpha in large text colors
1 parent 53be00a commit 674a982

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

WordPress/src/jetpack/java/org/wordpress/android/ui/accounts/login/components/LoopingTextWithBackground.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import androidx.compose.foundation.layout.fillMaxSize
88
import androidx.compose.foundation.layout.padding
99
import androidx.compose.runtime.Composable
1010
import androidx.compose.ui.Modifier
11-
import androidx.compose.ui.draw.alpha
1211
import androidx.compose.ui.layout.ContentScale
1312
import androidx.compose.ui.res.colorResource
1413
import androidx.compose.ui.res.painterResource
@@ -34,7 +33,6 @@ fun LoopingTextWithBackground(
3433
LoopingText(
3534
modifier = Modifier
3635
.fillMaxSize()
37-
.alpha(0.8f)
3836
.padding(horizontal = 20.dp)
3937
.then(textModifier)
4038
)

WordPress/src/jetpack/res/values-night/colors.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
<color name="bg_jetpack_login_splash_top_gradient_3">#D9001C09</color>
2121
<color name="bg_jetpack_login_splash_top_gradient_4">#00001C09</color>
2222

23-
<color name="text_color_jetpack_login_feature_odd">@color/jetpack_green_50</color>
24-
<color name="text_color_jetpack_login_feature_even">@color/jetpack_green_20</color>
23+
<color name="text_color_jetpack_login_feature_odd">#CC008710</color>
24+
<color name="text_color_jetpack_login_feature_even">#CC64CA43</color>
2525
</resources>

WordPress/src/jetpack/res/values/colors.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
<color name="bg_jetpack_login_splash_top_gradient_3">#D9F1F3EC</color>
2121
<color name="bg_jetpack_login_splash_top_gradient_4">#00F1F3EC</color>
2222

23-
<color name="text_color_jetpack_login_feature_odd">@color/jetpack_green_50</color>
24-
<color name="text_color_jetpack_login_feature_even">@color/jetpack_green_30</color>
23+
<color name="text_color_jetpack_login_feature_odd">#CC008710</color>
24+
<color name="text_color_jetpack_login_feature_even">#CC2FB41F</color>
2525
</resources>

0 commit comments

Comments
 (0)