PM-15040: Update Login screen button icons (#4329)

This commit is contained in:
David Perez 2024-11-19 09:04:16 -06:00 committed by GitHub
parent 90b638eff0
commit 95552a7a55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 28 additions and 28 deletions

View file

@ -272,7 +272,7 @@ private fun LoginScreenContent(
if (state.shouldShowLoginWithDevice) {
BitwardenOutlinedButton(
label = stringResource(id = R.string.log_in_with_device),
icon = rememberVectorPainter(id = R.drawable.ic_mobile),
icon = rememberVectorPainter(id = R.drawable.ic_mobile_small),
onClick = onLoginWithDeviceClick,
modifier = Modifier
.testTag("LogInWithAnotherDeviceButton")
@ -285,7 +285,7 @@ private fun LoginScreenContent(
BitwardenOutlinedButton(
label = stringResource(id = R.string.log_in_sso),
icon = rememberVectorPainter(id = R.drawable.ic_briefcase),
icon = rememberVectorPainter(id = R.drawable.ic_enterprise_small),
onClick = onSingleSignOnClick,
modifier = Modifier
.testTag("LogInWithSsoButton")

View file

@ -1,13 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="18dp"
android:height="18dp"
android:viewportHeight="18"
android:viewportWidth="18">
<group>
<clip-path android:pathData="M1.5,1.5h15v15h-15z" />
<path
android:fillColor="#175DDC"
android:fillType="evenOdd"
android:pathData="M7.125,4.313V5.25H10.875V4.313H7.125ZM6.188,3.844V5.25H1.969C1.71,5.25 1.5,5.46 1.5,5.719V15.094C1.5,15.353 1.71,15.563 1.969,15.563H16.031C16.29,15.563 16.5,15.353 16.5,15.094V5.719C16.5,5.46 16.29,5.25 16.031,5.25H11.813V3.844C11.813,3.585 11.603,3.375 11.344,3.375H6.656C6.397,3.375 6.188,3.585 6.188,3.844ZM15.563,7.125V6.188H2.438V7.125C2.438,8.161 3.277,9 4.313,9H7.125V8.531C7.125,8.272 7.335,8.063 7.594,8.063H10.406C10.665,8.063 10.875,8.272 10.875,8.531V9H13.688C14.723,9 15.563,8.161 15.563,7.125ZM10.875,9.938V10.406C10.875,10.665 10.665,10.875 10.406,10.875H7.594C7.335,10.875 7.125,10.665 7.125,10.406V9.938H4.313C3.592,9.938 2.935,9.667 2.438,9.221V14.625H15.563V9.221C15.065,9.667 14.408,9.938 13.688,9.938H10.875ZM8.063,9H9.938V9.938H8.063V9Z" />
</group>
</vector>

View file

@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="17dp"
android:height="16dp"
android:viewportWidth="17"
android:viewportHeight="16">
<path
android:fillColor="#175DDC"
android:fillType="evenOdd"
android:pathData="M9.434,1.577L11.649,2.5H13.314L15.317,1.948C15.954,1.772 16.583,2.251 16.583,2.912V8.667C16.583,9.491 16.012,10.183 15.244,10.368L14.883,10.85C14.615,11.207 14.195,11.417 13.749,11.417H13.433L13.356,11.701C13.199,12.288 12.685,12.705 12.086,12.747L12.055,12.868C11.866,13.627 11.096,14.089 10.337,13.899L6.567,12.957C5.851,12.778 5.188,12.435 4.628,11.955L0.94,8.794C0.607,8.509 0.416,8.093 0.416,7.655V2.913C0.416,2.251 1.049,1.771 1.687,1.951L3.831,2.554L7.621,1.471C8.219,1.3 8.859,1.337 9.434,1.577ZM8.033,2.913C8.302,2.836 8.59,2.852 8.849,2.958C8.622,3.089 8.409,3.247 8.215,3.43L5.259,6.215C4.61,6.827 4.635,7.866 5.311,8.446L5.771,8.84C6.763,9.69 8.217,9.725 9.249,8.923L10.467,7.975L12.005,9.341C12.258,9.567 12.536,9.759 12.831,9.917H12.282L11.924,11.25L10.914,11.25L10.62,12.424L6.931,11.501C6.441,11.379 5.987,11.144 5.604,10.816L1.916,7.655V3.573L3.834,4.113L8.033,2.913ZM13.703,3.949L15.083,3.568V8.667C15.083,8.805 14.971,8.917 14.833,8.917C14.158,8.917 13.506,8.669 13.001,8.22L10.531,6.025L8.328,7.738C7.859,8.103 7.198,8.087 6.747,7.701L6.288,7.307L9.243,4.522C9.599,4.187 10.069,4 10.558,4H13.326C13.453,4 13.58,3.983 13.703,3.949Z" />
<path
android:fillColor="#175DDC"
android:pathData="M3.154,12.097C2.84,11.828 2.366,11.864 2.097,12.179C1.827,12.493 1.864,12.967 2.178,13.236L3.887,14.701C4.408,15.148 5.052,15.427 5.734,15.503L7.917,15.745C8.328,15.791 8.699,15.495 8.745,15.083C8.791,14.671 8.494,14.3 8.082,14.255L5.899,14.012C5.517,13.97 5.156,13.813 4.863,13.562L3.154,12.097Z" />
</vector>

View file

@ -1,13 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M10.438,5.938C10.023,5.938 9.688,6.273 9.688,6.688C9.688,7.102 10.023,7.438 10.438,7.438H13.563C13.977,7.438 14.313,7.102 14.313,6.688C14.313,6.273 13.977,5.938 13.563,5.938H10.438Z"
android:fillColor="#175DDC"/>
<path
android:pathData="M4.5,4C4.5,2.895 5.395,2 6.5,2H17.5C18.605,2 19.5,2.895 19.5,4V20C19.5,21.105 18.605,22 17.5,22H6.5C5.395,22 4.5,21.105 4.5,20V4ZM6.5,3.5H17.5C17.776,3.5 18,3.724 18,4V20C18,20.276 17.776,20.5 17.5,20.5H6.5C6.224,20.5 6,20.276 6,20V4C6,3.724 6.224,3.5 6.5,3.5Z"
android:fillColor="#175DDC"
android:fillType="evenOdd"/>
</vector>

View file

@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="17dp"
android:height="16dp"
android:viewportWidth="17"
android:viewportHeight="16">
<path
android:fillColor="#175DDC"
android:pathData="M7.25,3C6.836,3 6.5,3.336 6.5,3.75C6.5,4.164 6.836,4.5 7.25,4.5H9.75C10.164,4.5 10.5,4.164 10.5,3.75C10.5,3.336 10.164,3 9.75,3H7.25Z" />
<path
android:fillColor="#175DDC"
android:fillType="evenOdd"
android:pathData="M2.5,2C2.5,0.895 3.395,0 4.5,0H12.5C13.605,0 14.5,0.895 14.5,2V14C14.5,15.105 13.605,16 12.5,16H4.5C3.395,16 2.5,15.105 2.5,14V2ZM4.5,1.5H12.5C12.776,1.5 13,1.724 13,2V14C13,14.276 12.776,14.5 12.5,14.5H4.5C4.224,14.5 4,14.276 4,14V2C4,1.724 4.224,1.5 4.5,1.5Z" />
</vector>