Skip to content

Commit

Permalink
Merge pull request #162 from kiwicom/tokens-autoupdate
Browse files Browse the repository at this point in the history
Add `ColoredSignal`, `ColoredTelegram`, `ColoredViber` icons
  • Loading branch information
hrach authored Jun 6, 2022
2 parents 400584e + b4e5ef0 commit 048fa0b
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 7 deletions.
12 changes: 12 additions & 0 deletions icons/src/main/java/kiwi/orbit/compose/icons/Icons.kt
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,22 @@ public object Icons {
@Composable
get() = painterResource(R.drawable.ic_orbit_colored_messenger)

public val ColoredSignal: Painter
@Composable
get() = painterResource(R.drawable.ic_orbit_colored_signal)

public val ColoredTelegram: Painter
@Composable
get() = painterResource(R.drawable.ic_orbit_colored_telegram)

public val ColoredTwitter: Painter
@Composable
get() = painterResource(R.drawable.ic_orbit_colored_twitter)

public val ColoredViber: Painter
@Composable
get() = painterResource(R.drawable.ic_orbit_colored_viber)

public val ColoredWhatsapp: Painter
@Composable
get() = painterResource(R.drawable.ic_orbit_colored_whatsapp)
Expand Down
3 changes: 2 additions & 1 deletion icons/src/main/res/drawable/ic_orbit_colored_facebook.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
android:viewportHeight="24">
<path
android:pathData="M19.556,2C20.905,2 22,3.095 22,4.444V19.556C22,20.905 20.905,22 19.556,22H15.398V14.464H17.999L18.494,11.237H15.398V9.142C15.398,8.26 15.83,7.399 17.217,7.399H18.625V4.651C18.625,4.651 17.347,4.433 16.126,4.433C13.575,4.433 11.908,5.979 11.908,8.777V11.237H9.074V14.464H11.908V22H4.444C3.095,22 2,20.905 2,19.556V4.444C2,3.095 3.095,2 4.444,2L19.556,2Z"
android:fillColor="#1777F2"/>
android:fillColor="#1777F2"
android:fillType="evenOdd"/>
</vector>
6 changes: 4 additions & 2 deletions icons/src/main/res/drawable/ic_orbit_colored_messenger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M12,2C6.367,2 2,6.126 2,11.7C2,14.615 3.195,17.135 5.141,18.875C5.304,19.021 5.403,19.226 5.409,19.445L5.464,21.224C5.481,21.791 6.067,22.16 6.586,21.931L8.571,21.055C8.739,20.981 8.928,20.967 9.105,21.016C10.017,21.266 10.988,21.4 12,21.4C17.633,21.4 22,17.274 22,11.7C22,6.126 17.633,2 12,2Z">
android:pathData="M12,2C6.367,2 2,6.126 2,11.7C2,14.615 3.195,17.135 5.141,18.875C5.304,19.021 5.403,19.226 5.409,19.445L5.464,21.224C5.481,21.791 6.067,22.16 6.586,21.931L8.571,21.055C8.739,20.981 8.928,20.967 9.105,21.016C10.017,21.266 10.988,21.4 12,21.4C17.633,21.4 22,17.274 22,11.7C22,6.126 17.633,2 12,2Z"
android:fillType="evenOdd">
<aapt:attr name="android:fillColor">
<gradient
android:centerX="5.85"
Expand All @@ -21,5 +22,6 @@
</path>
<path
android:pathData="M5.995,14.537L8.933,9.876C9.4,9.135 10.4,8.95 11.101,9.476L13.438,11.228C13.652,11.389 13.947,11.388 14.161,11.226L17.316,8.832C17.737,8.512 18.287,9.016 18.005,9.463L15.068,14.124C14.6,14.865 13.6,15.05 12.899,14.524L10.562,12.772C10.348,12.611 10.053,12.612 9.839,12.774L6.684,15.168C6.263,15.488 5.713,14.984 5.995,14.537Z"
android:fillColor="#ffffff"/>
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
</vector>
9 changes: 9 additions & 0 deletions icons/src/main/res/drawable/ic_orbit_colored_signal.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<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="M9.6,2.292L9.825,3.201C8.94,3.419 8.093,3.769 7.313,4.24L6.831,3.437C7.691,2.918 8.625,2.532 9.6,2.292ZM14.4,2.292L14.175,3.201C15.06,3.419 15.907,3.769 16.688,4.24L17.172,3.437C16.311,2.918 15.377,2.532 14.4,2.292ZM3.437,6.831C2.918,7.691 2.532,8.624 2.292,9.599L3.202,9.824C3.419,8.939 3.77,8.092 4.241,7.312L3.437,6.831ZM2.937,11.999C2.937,11.545 2.971,11.091 3.039,10.642L2.112,10.501C1.962,11.494 1.962,12.504 2.112,13.498L3.039,13.357C2.971,12.908 2.937,12.454 2.937,11.999ZM17.169,20.561L16.688,19.758C15.908,20.229 15.062,20.579 14.178,20.797L14.403,21.706C15.377,21.466 16.31,21.08 17.169,20.561ZM21.063,11.999C21.063,12.454 21.029,12.908 20.961,13.357L21.888,13.498C22.038,12.504 22.038,11.494 21.888,10.501L20.961,10.642C21.029,11.091 21.063,11.545 21.063,11.999ZM21.708,14.399L20.798,14.174C20.581,15.059 20.23,15.906 19.759,16.686L20.563,17.171C21.082,16.31 21.468,15.375 21.708,14.399ZM13.358,20.961C12.458,21.096 11.542,21.096 10.642,20.961L10.502,21.888C11.495,22.038 12.505,22.038 13.498,21.888L13.358,20.961ZM19.295,17.375C18.755,18.107 18.108,18.754 17.375,19.294L17.931,20.049C18.739,19.455 19.454,18.743 20.05,17.936L19.295,17.375ZM17.375,4.704C18.108,5.245 18.755,5.892 19.295,6.625L20.05,6.062C19.455,5.256 18.743,4.544 17.938,3.95L17.375,4.704ZM4.705,6.625C5.245,5.892 5.892,5.245 6.625,4.704L6.063,3.95C5.257,4.544 4.545,5.256 3.95,6.062L4.705,6.625ZM20.563,6.831L19.759,7.312C20.23,8.091 20.58,8.937 20.798,9.821L21.708,9.596C21.468,8.622 21.081,7.69 20.563,6.831ZM10.642,3.039C11.542,2.904 12.458,2.904 13.358,3.039L13.498,2.112C12.505,1.962 11.495,1.962 10.502,2.112L10.642,3.039ZM5.186,20.297L3.25,20.749L3.702,18.813L2.789,18.599L2.337,20.535C2.264,20.85 2.358,21.182 2.587,21.411C2.817,21.64 3.148,21.735 3.464,21.661L5.398,21.217L5.186,20.297ZM2.984,17.763L3.897,17.975L4.209,16.633C3.754,15.868 3.414,15.039 3.202,14.174L2.292,14.399C2.496,15.227 2.806,16.026 3.214,16.775L2.984,17.763ZM7.359,19.794L6.017,20.106L6.23,21.019L7.217,20.789C7.966,21.197 8.765,21.507 9.594,21.711L9.819,20.802C8.956,20.586 8.129,20.245 7.366,19.788L7.359,19.794ZM12,3.875C9.043,3.876 6.321,5.484 4.892,8.071C3.462,10.659 3.552,13.819 5.125,16.322L4.344,19.655L7.677,18.874C10.6,20.715 14.368,20.506 17.07,18.353C19.772,16.201 20.817,12.575 19.675,9.314C18.534,6.054 15.455,3.872 12,3.875Z"
android:fillColor="#3A76F0"/>
</vector>
25 changes: 25 additions & 0 deletions icons/src/main/res/drawable/ic_orbit_colored_telegram.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M12,22C17.523,22 22,17.523 22,12C22,6.477 17.523,2 12,2C6.477,2 2,6.477 2,12C2,17.523 6.477,22 12,22Z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="12"
android:startY="2"
android:endX="12"
android:endY="21.852"
android:type="linear">
<item android:offset="0" android:color="#FF2AABEE"/>
<item android:offset="1" android:color="#FF229ED9"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M6.527,11.894C9.442,10.624 11.386,9.787 12.358,9.382C15.135,8.227 15.712,8.027 16.089,8.02C16.171,8.019 16.356,8.039 16.476,8.136C16.577,8.218 16.605,8.329 16.618,8.407C16.632,8.485 16.648,8.662 16.635,8.801C16.485,10.382 15.833,14.219 15.502,15.99C15.362,16.74 15.086,16.991 14.819,17.015C14.238,17.069 13.797,16.632 13.235,16.263C12.354,15.686 11.857,15.327 11.003,14.764C10.016,14.113 10.656,13.756 11.218,13.171C11.366,13.018 13.924,10.691 13.974,10.48C13.98,10.454 13.986,10.355 13.927,10.303C13.869,10.251 13.783,10.269 13.72,10.283C13.632,10.303 12.226,11.233 9.502,13.071C9.103,13.345 8.742,13.479 8.418,13.472C8.061,13.464 7.374,13.27 6.863,13.104C6.237,12.9 5.739,12.793 5.783,12.447C5.805,12.267 6.053,12.083 6.527,11.894Z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
</vector>
19 changes: 19 additions & 0 deletions icons/src/main/res/drawable/ic_orbit_colored_viber.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<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="M20.079,3.146C19.533,2.641 17.323,1.038 12.402,1.016C12.402,1.016 6.599,0.666 3.77,3.261C2.195,4.836 1.641,7.141 1.583,9.998C1.525,12.855 1.449,18.21 6.611,19.662H6.616L6.612,21.878C6.612,21.878 6.579,22.774 7.17,22.957C7.884,23.179 8.304,22.497 8.986,21.763C9.36,21.359 9.877,20.767 10.267,20.314C13.797,20.611 16.512,19.932 16.82,19.831C17.533,19.6 21.566,19.084 22.222,13.729C22.899,8.21 21.895,4.719 20.079,3.146Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M18.931,4.261C18.469,3.841 16.474,2.587 12.311,2.569C12.311,2.569 7.382,2.245 4.989,4.413C3.658,5.728 3.209,7.683 3.16,10.069C3.111,12.455 2.856,17.014 7.22,18.226C7.22,18.226 7.203,21.611 7.201,21.908C7.201,22.116 7.234,22.258 7.353,22.288C7.439,22.309 7.567,22.264 7.676,22.156C8.374,21.455 10.608,18.759 10.608,18.759C13.606,18.955 15.991,18.363 16.248,18.279C16.853,18.085 20.124,17.804 20.677,13.332C21.25,8.722 20.467,5.576 18.931,4.261Z"
android:fillColor="#7360F2"/>
<path
android:pathData="M11.574,5.214C11.575,5.061 11.7,4.937 11.854,4.938C13.469,4.949 14.834,5.487 15.93,6.555C17.035,7.633 17.582,9.1 17.596,10.921C17.597,11.075 17.473,11.201 17.32,11.202C17.166,11.203 17.041,11.079 17.039,10.926C17.026,9.219 16.518,7.906 15.542,6.954C14.556,5.993 13.332,5.505 11.85,5.494C11.696,5.493 11.573,5.368 11.574,5.214ZM12.065,6.64C12.076,6.486 12.21,6.371 12.363,6.382C13.531,6.468 14.472,6.867 15.158,7.615C15.835,8.356 16.157,9.277 16.134,10.358C16.131,10.512 16.003,10.633 15.85,10.63C15.696,10.627 15.574,10.499 15.578,10.346C15.598,9.393 15.318,8.615 14.747,7.991C14.178,7.37 13.382,7.015 12.322,6.937C12.169,6.926 12.054,6.793 12.065,6.64ZM12.487,8.139C12.495,7.985 12.626,7.867 12.779,7.875C13.354,7.905 13.831,8.079 14.172,8.431C14.511,8.782 14.677,9.271 14.706,9.859C14.714,10.013 14.595,10.143 14.442,10.151C14.288,10.159 14.158,10.04 14.15,9.887C14.125,9.383 13.987,9.041 13.771,8.818C13.557,8.597 13.231,8.456 12.75,8.431C12.597,8.423 12.479,8.292 12.487,8.139Z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
<path
android:pathData="M12.82,13.601C12.82,13.601 13.211,13.634 13.422,13.374L13.832,12.858C14.031,12.601 14.509,12.438 14.977,12.699C15.328,12.899 15.668,13.116 15.997,13.35C16.308,13.579 16.944,14.11 16.946,14.11C17.249,14.366 17.319,14.741 17.113,15.137C17.113,15.14 17.111,15.144 17.111,15.146C16.884,15.54 16.595,15.895 16.256,16.198C16.252,16.2 16.252,16.202 16.249,16.204C15.954,16.45 15.665,16.59 15.381,16.624C15.339,16.631 15.296,16.634 15.254,16.632C15.129,16.633 15.004,16.614 14.885,16.575L14.876,16.561C14.438,16.438 13.707,16.129 12.49,15.457C11.785,15.073 11.115,14.63 10.485,14.133C10.17,13.884 9.869,13.617 9.584,13.334L9.492,13.243C9.482,13.233 9.472,13.222 9.462,13.212C9.179,12.927 8.912,12.626 8.662,12.311C8.165,11.681 7.722,11.01 7.338,10.306C6.667,9.089 6.358,8.358 6.234,7.92L6.221,7.911C6.182,7.792 6.163,7.667 6.164,7.542C6.162,7.499 6.165,7.457 6.172,7.415C6.207,7.131 6.347,6.842 6.592,6.546C6.594,6.543 6.596,6.543 6.598,6.539C6.901,6.2 7.257,5.911 7.651,5.684C7.653,5.684 7.657,5.682 7.659,5.682C8.055,5.476 8.431,5.546 8.686,5.847C8.688,5.849 9.218,6.486 9.446,6.796C9.68,7.126 9.897,7.466 10.097,7.818C10.358,8.285 10.195,8.764 9.938,8.962L9.422,9.373C9.161,9.583 9.195,9.974 9.195,9.974C9.195,9.974 9.961,12.871 12.82,13.601Z"
android:fillColor="#ffffff"/>
</vector>
9 changes: 5 additions & 4 deletions icons/src/main/res/drawable/ic_orbit_colored_whatsapp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M3.138,20.862L7.074,19.78C8.485,20.666 10.191,21.191 11.995,21.191C17.079,21.191 21.18,17.09 21.18,12.005C21.18,6.921 17.079,2.82 11.995,2.82C6.91,2.82 2.81,6.921 2.81,12.005C2.81,13.81 3.334,15.515 4.22,16.926L3.138,20.862Z"
android:pathData="M2.357,21.643L6.643,20.464C8.179,21.429 10.036,22 12,22C17.536,22 22,17.536 22,12C22,6.464 17.536,2 12,2C6.464,2 2,6.464 2,12C2,13.964 2.571,15.821 3.536,17.357L2.357,21.643Z"
android:fillColor="#25D366"/>
<path
android:pathData="M1.99,12.005C1.99,6.468 6.457,2 11.995,2C17.532,2 22,6.468 22,12.005C22,17.543 17.532,22.01 11.995,22.01C10.164,22.01 8.426,21.514 6.953,20.664L1.965,22.035L3.336,17.047C2.486,15.574 1.99,13.836 1.99,12.005ZM11.995,3.64C7.363,3.64 3.63,7.374 3.63,12.005C3.63,13.651 4.109,15.206 4.915,16.49L5.107,16.795L4.311,19.689L7.205,18.893L7.51,19.085C8.794,19.891 10.349,20.37 11.995,20.37C16.626,20.37 20.36,16.637 20.36,12.005C20.36,7.374 16.626,3.64 11.995,3.64Z"
android:fillColor="#ffffff"/>
android:pathData="M1.027,11.986C1.027,5.906 5.933,1 12.014,1C18.094,1 23,5.906 23,11.986C23,18.067 18.094,22.972 12.014,22.972C10.003,22.972 8.095,22.427 6.477,21.494L1,23L2.506,17.523C1.573,15.905 1.027,13.997 1.027,11.986ZM12.014,2.801C6.928,2.801 2.829,6.9 2.829,11.986C2.829,13.793 3.354,15.501 4.24,16.91L4.45,17.246L3.576,20.424L6.754,19.55L7.09,19.76C8.499,20.646 10.207,21.171 12.014,21.171C17.1,21.171 21.199,17.072 21.199,11.986C21.199,6.9 17.1,2.801 12.014,2.801Z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
<path
android:pathData="M16.555,14.498C15.931,15.81 14.783,15.974 14.783,15.974C13.799,16.171 12.552,15.745 11.568,15.286C10.158,14.63 8.944,13.58 8.124,12.235C7.763,11.611 7.435,10.89 7.402,10.201C7.402,10.201 7.271,9.053 8.386,8.134C8.485,8.069 8.583,8.036 8.714,8.036H9.206C9.403,8.036 9.6,8.167 9.666,8.364L10.42,10.201C10.486,10.398 10.453,10.595 10.322,10.759L9.83,11.283C9.666,11.448 9.666,11.677 9.764,11.874C9.797,11.94 9.863,12.038 9.961,12.136C10.551,12.924 11.339,13.514 12.224,13.908C12.356,13.973 12.454,14.006 12.552,14.039C12.782,14.105 12.979,14.006 13.11,13.842L13.504,13.252C13.602,13.088 13.799,12.989 13.996,13.022L15.964,13.317C16.161,13.35 16.325,13.514 16.39,13.711L16.522,14.203C16.587,14.269 16.587,14.4 16.555,14.498Z"
android:pathData="M17.021,14.724C16.336,16.165 15.075,16.345 15.075,16.345C13.995,16.561 12.626,16.093 11.545,15.588C9.997,14.868 8.664,13.715 7.763,12.238C7.367,11.554 7.007,10.762 6.971,10.005C6.971,10.005 6.827,8.744 8.051,7.736C8.159,7.664 8.268,7.628 8.412,7.628H8.952C9.168,7.628 9.384,7.772 9.456,7.988L10.285,10.005C10.357,10.221 10.321,10.437 10.177,10.617L9.636,11.194C9.456,11.374 9.456,11.626 9.564,11.842C9.6,11.914 9.672,12.022 9.78,12.13C10.429,12.995 11.293,13.643 12.266,14.075C12.41,14.148 12.518,14.184 12.626,14.219C12.878,14.292 13.094,14.184 13.238,14.003L13.671,13.355C13.779,13.175 13.995,13.067 14.211,13.103L16.372,13.427C16.588,13.463 16.768,13.643 16.84,13.859L16.985,14.4C17.057,14.472 17.057,14.616 17.021,14.724Z"
android:fillColor="#ffffff"/>
</vector>

0 comments on commit 048fa0b

Please sign in to comment.