feat(YouTube/Custom Shorts action buttons): add outlined version of actual youtube shorts action buttons (#59)

* Add files via upload

* Update ShortsActionButtonsPatch.kt

* change folder name
This commit is contained in:
MondayNitro 2024-07-03 15:06:31 +05:30 committed by GitHub
parent a69b14061b
commit 2df3a7f2da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
55 changed files with 23 additions and 2 deletions

View File

@ -16,7 +16,7 @@ object ShortsActionButtonsPatch : BaseResourcePatch(
dependencies = setOf(SettingsPatch::class),
compatiblePackages = COMPATIBLE_PACKAGE
) {
private const val DEFAULT_ICON = "round"
private const val DEFAULT_ICON = "youtubeoutline"
private const val YOUTUBE_ICON = "youtube"
private val IconType = stringPatchOption(
@ -25,7 +25,8 @@ object ShortsActionButtonsPatch : BaseResourcePatch(
values = mapOf(
"Outline" to "outline",
"OutlineCircle" to "outlinecircle",
"Round" to DEFAULT_ICON,
"Round" to "round",
"YoutubeOutline" to DEFAULT_ICON,
"YouTube" to YOUTUBE_ICON
),
title = "Shorts icon style ",

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:name="vector" android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:name="path" android:pathData="M 29 5.667 L 29.012 27.445 C 29.012 28.182 28.415 28.779 27.679 28.779 C 27.325 28.78 26.986 28.639 26.735 28.389 L 22.666 24 L 5.667 24 C 4.2 24 3 22.8 3 21.333 L 3 5.667 C 3 4.2 4.2 3 5.667 3 L 26.347 3 C 27.813 3 29 4.2 29 5.667 Z M 8 10.5 C 8 9.672 8.671 9 9.5 9 L 22.5 9 C 23.328 9 24 9.672 24 10.5 C 24 11.329 23.328 12 22.5 12 L 9.5 12 C 8.671 12 8 11.329 8 10.5 Z M 9.5 15 C 8.671 15 8 15.672 8 16.5 C 8 17.328 8.671 18 9.5 18 L 18.5 18 C 19.328 18 20 17.328 20 16.5 C 20 15.672 19.328 15 18.5 15 L 9.5 15 Z" android:strokeColor="#ffffffff" android:strokeWidth="1.25" />
</vector>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:name="vector" android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:name="path" android:pathData="M 5.282 20 C 4.674 20 4.099 19.724 3.72 19.25 L 3.012 18.365 C 2.49 17.712 2.429 16.803 2.859 16.086 L 4.075 14.059 L 3.384 12.332 C 2.995 11.36 3.142 10.256 3.77 9.418 L 4.667 8.222 L 4.667 6 C 4.667 4.896 5.562 4 6.667 4 L 19.333 4 C 20.438 4 21.333 4.896 21.333 6 L 21.333 19.171 C 21.333 20.005 21.073 20.818 20.588 21.496 L 15.337 28.848 C 15.2 29.04 14.949 29.11 14.733 29.017 L 14.662 28.987 C 12.828 28.201 11.853 26.183 12.378 24.258 L 13.54 20 L 5.282 20 Z M 26 18.669 C 27.105 18.669 28 17.774 28 16.669 L 28 6.003 C 28 4.898 27.105 4.003 26 4.003 L 23.333 4.003 L 23.333 18.669 L 26 18.669 Z" android:strokeColor="#ffffffff" android:strokeWidth="1.25" />
</vector>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:name="vector" android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:name="path" android:pathData="M 25.718 11.998 C 26.326 11.998 26.901 12.274 27.28 12.748 L 27.988 13.633 C 28.51 14.286 28.571 15.194 28.141 15.911 L 26.925 17.938 L 27.616 19.665 C 28.005 20.637 27.858 21.742 27.23 22.58 L 26.333 23.776 L 26.333 25.998 C 26.333 27.102 25.438 27.998 24.333 27.998 L 11.667 27.998 C 10.562 27.998 9.667 27.102 9.667 25.998 L 9.667 12.827 C 9.667 11.993 9.927 11.18 10.412 10.502 L 15.663 3.149 C 15.8 2.958 16.051 2.888 16.267 2.98 L 16.338 3.011 C 18.172 3.797 19.147 5.815 18.622 7.74 L 17.46 11.998 L 25.718 11.998 Z M 5 13.329 C 3.895 13.329 3 14.224 3 15.329 L 3 25.995 C 3 27.1 3.895 27.995 5 27.995 L 7.667 27.995 L 7.667 13.329 L 5 13.329 Z" android:strokeColor="#ffffffff" android:strokeWidth="1.25" />
</vector>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:name="vector" android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:name="path" android:pathData="M 17.738 5.266 L 28.674 15.262 C 29.108 15.659 29.108 16.342 28.674 16.739 L 17.738 26.736 C 17.096 27.322 16.063 26.867 16.063 25.997 L 16.063 21.622 L 16.063 21.622 C 9.926 21.622 6.691 23.938 5.162 25.597 C 4.807 25.981 3.973 25.734 4 25.212 C 4.226 20.832 5.861 10.889 16.063 10.889 L 16.063 10.889 L 16.063 6.004 C 16.063 5.134 17.096 4.679 17.738 5.266 Z" android:strokeColor="#ffffffff" android:strokeWidth="1.25" />
</vector>