Skip to content

Commit

Permalink
deps(automated): Update icons (#8)
Browse files Browse the repository at this point in the history
fix: Apply Zeta icons across repo

---------

Co-authored-by: zeta-icons-bot <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
3 people authored Oct 25, 2024
1 parent 445100e commit 990ec23
Show file tree
Hide file tree
Showing 1,640 changed files with 9,703 additions and 2,777 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
inputDense.setHint("Connected left view");

ImageView image = new ImageView(getContext());
image.setImageResource(R.drawable.ic_arrow_forward);
image.setImageResource(R.drawable.ic_chevron_right_sharp);
image.setPadding(24, 0, 24, 0);
image.setImageTintList(ColorStateList.valueOf(ContextCompat.getColor(requireContext(), R.color.zebra_hint)));

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_text_input.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/Zds.TextInput"
zebra:endIconDrawable="@drawable/ic_error"
zebra:endIconDrawable="@drawable/ic_info_sharp"
zebra:hint="@string/app_name"
zebra:label="Custom label"
zebra:label_style="mandatory"
Expand Down
2 changes: 1 addition & 1 deletion components/docs/components/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ All views have public visibility and can be used in code by accessing them direc
android:layout_width="match_parent" android:layout_height="wrap_content"
android:theme="@style/Zds.TextInput" style="@style/Zds.TextInput" zebra:label="Custom label"
zebra:label_style="mandatory" zebra:hint="@string/app_name" zebra:prefixText="$"
zebra:suffixText="@" zebra:endIconDrawable="@drawable/ic_error"
zebra:suffixText="@" zebra:endIconDrawable="@drawable/ic_info_sharp"
zebra:startIconDrawable="@drawable/ic_baseline_star_24" />
```

Expand Down
12 changes: 6 additions & 6 deletions components/src/main/java/com/zebra/zds/ZdsBanner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -137,43 +137,43 @@ class ZdsBanner : FrameLayout {
var colorTint = ContextCompat.getColor(context, R.color.zebra_control)
var colorStroke = ContextCompat.getColor(context, R.color.zebra_grey_subtle_stroke)
var colorBackground = ContextCompat.getColor(context, R.color.zebra_control_inverse)
var iconResId = R.drawable.ic_error
var iconResId = R.drawable.ic_info_sharp

when (style) {
Style.DEFAULT -> {
colorTint = ContextCompat.getColor(context, R.color.zebra_control)
colorStroke = ContextCompat.getColor(context, R.color.zebra_grey_subtle_stroke)
colorBackground = ContextCompat.getColor(context, R.color.zebra_control_inverse)
iconResId = R.drawable.ic_error
iconResId = R.drawable.ic_info_sharp
}

Style.INFO -> {
colorTint = ContextCompat.getColor(context, R.color.zebra_purple)
colorStroke = ContextCompat.getColor(context, R.color.zebra_purple_stroke)
colorBackground = ContextCompat.getColor(context, R.color.zebra_purple_banner)
iconResId = R.drawable.ic_error
iconResId = R.drawable.ic_info_sharp
}

Style.POSITIVE -> {
colorTint = ContextCompat.getColor(context, R.color.zebra_green)
colorStroke = ContextCompat.getColor(context, R.color.zebra_green_stroke)
colorBackground = ContextCompat.getColor(context, R.color.zebra_green_banner)
iconResId = R.drawable.ic_check_circle
iconResId = R.drawable.ic_check_circle_sharp
}

Style.WARNING -> {
colorTint = ContextCompat.getColor(context, R.color.zebra_yellow_enabled)
colorStroke = ContextCompat.getColor(context, R.color.zebra_yellow_stroke)
colorBackground = ContextCompat.getColor(context, R.color.zebra_yellow_banner)
iconResId = R.drawable.ic_round_warning
iconResId = R.drawable.ic_warning_round
}

Style.NEGATIVE -> {
colorTint = ContextCompat.getColor(context, R.color.zebra_red_enabled)
colorStroke = ContextCompat.getColor(context, R.color.zebra_red_inverse)
colorBackground =
ContextCompat.getColor(context, R.color.zebra_red_error_background)
iconResId = R.drawable.ic_error
iconResId = R.drawable.ic_info_sharp
}
}

Expand Down
10 changes: 5 additions & 5 deletions components/src/main/java/com/zebra/zds/ZdsSystemBanner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -127,32 +127,32 @@ class ZdsSystemBanner : FrameLayout {
private fun applyStyle(style: Style) {
var colorTint = ContextCompat.getColor(context, R.color.textPrimary)
var colorBackground = ContextCompat.getColor(context, R.color.zebra_blue_enabled)
var iconResId = R.drawable.ic_error
var iconResId = R.drawable.ic_info_sharp

when (style) {
Style.DEFAULT -> {
colorTint = ContextCompat.getColor(context, R.color.textPrimary)
colorBackground = ContextCompat.getColor(context, R.color.zebra_blue_enabled)
iconResId = R.drawable.ic_error
iconResId = R.drawable.ic_info_sharp
}

Style.POSITIVE -> {
colorTint = ContextCompat.getColor(context, R.color.textPrimary)
colorBackground = ContextCompat.getColor(context, R.color.zebra_green_system_banner)
iconResId = R.drawable.ic_check_circle
iconResId = R.drawable.ic_check_circle_sharp
}

Style.WARNING -> {
colorTint = ContextCompat.getColor(context, R.color.textPrimaryVariant)
colorBackground =
ContextCompat.getColor(context, R.color.zebra_yellow_system_banner)
iconResId = R.drawable.ic_round_warning
iconResId = R.drawable.ic_warning_round
}

Style.NEGATIVE -> {
colorTint = ContextCompat.getColor(context, R.color.textPrimary)
colorBackground = ContextCompat.getColor(context, R.color.zebra_red_enabled)
iconResId = R.drawable.ic_error
iconResId = R.drawable.ic_info_sharp
}
}

Expand Down
5 changes: 0 additions & 5 deletions components/src/main/res/drawable/ic_action_mode_close.xml

This file was deleted.

5 changes: 0 additions & 5 deletions components/src/main/res/drawable/ic_activity_24.xml

This file was deleted.

9 changes: 9 additions & 0 deletions components/src/main/res/drawable/ic_activity_round.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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M479.844 350.108C501.025 351.401 519.805 364.181 528.78 383.412L686.34 721.04L774.59 579.84C785.17 562.915 803.72 552.63 823.685 552.63H997.365C1029.34 552.63 1055.26 578.55 1055.26 610.525C1055.26 642.5 1029.34 668.42 997.365 668.42H855.77L728.04 872.79C716.795 890.785 696.6 901.185 675.42 899.89C654.235 898.6 635.46 885.82 626.485 866.59L468.923 528.96L380.673 670.16C370.094 687.085 351.54 697.37 331.579 697.37H157.894C125.92 697.37 100 671.45 100 639.475C100 607.5 125.92 581.58 157.894 581.58H299.49L427.22 377.211C438.469 359.214 458.661 348.815 479.844 350.108Z" />
</vector>
9 changes: 9 additions & 0 deletions components/src/main/res/drawable/ic_activity_sharp.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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M479.844 350.108C501.025 351.401 519.805 364.181 528.78 383.412L686.34 721.04L774.59 579.84C785.17 562.915 803.72 552.63 823.685 552.63H997.365C1029.34 552.63 1055.26 578.55 1055.26 610.525C1055.26 642.5 1029.34 668.42 997.365 668.42H855.77L728.04 872.79C716.795 890.785 696.6 901.185 675.42 899.89C654.235 898.6 635.46 885.82 626.485 866.59L468.923 528.96L380.673 670.16C370.094 687.085 351.54 697.37 331.579 697.37H157.894C125.92 697.37 100 671.45 100 639.475C100 607.5 125.92 581.58 157.894 581.58H299.49L427.22 377.211C438.469 359.214 458.661 348.815 479.844 350.108Z" />
</vector>
5 changes: 0 additions & 5 deletions components/src/main/res/drawable/ic_add_24.xml

This file was deleted.

5 changes: 0 additions & 5 deletions components/src/main/res/drawable/ic_add_alert_24.xml

This file was deleted.

9 changes: 9 additions & 0 deletions components/src/main/res/drawable/ic_add_alert_round.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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M924.375 879.685H979.69C1010.11 879.685 1035 904.58 1035 935C1035 965.42 1010.11 990.31 979.69 990.31H205.313C174.891 990.31 150 965.42 150 935C150 904.58 174.891 879.685 205.313 879.685H260.625V492.5C260.625 338.178 366.272 208.194 509.53 171.688V132.969C509.53 87.059 546.59 50 592.5 50C638.41 50 675.47 87.059 675.47 132.969V171.688C818.73 208.194 924.375 338.178 924.375 492.5V879.685ZM647.815 658.435H703.125C733.545 658.435 758.44 633.545 758.44 603.125C758.44 572.705 733.545 547.81 703.125 547.81H647.815V492.5C647.815 462.078 622.92 437.188 592.5 437.188C562.08 437.188 537.19 462.078 537.19 492.5V547.81H481.875C451.453 547.81 426.563 572.705 426.563 603.125C426.563 633.545 451.453 658.435 481.875 658.435H537.19V713.75C537.19 744.17 562.08 769.06 592.5 769.06C622.92 769.06 647.815 744.17 647.815 713.75V658.435ZM703.125 1045.625C703.125 1106.47 653.345 1156.25 592.5 1156.25C531.655 1156.25 481.875 1106.47 481.875 1045.625H703.125Z" />
</vector>
9 changes: 9 additions & 0 deletions components/src/main/res/drawable/ic_add_alert_sharp.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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M600 1150C655 1150 699.5 1105.5 699.5 1050.5H500.5C500.5 1105.5 545 1150 600 1150ZM950 850V550C950 382.5 832 242.5 675 208.5V75H525V208.5C368 242.5 250 382.5 250 550V850L150 950V1000H1050V950L950 850ZM800 650.5H650V800.5H550V650.5H400V550H550V400H650V550H800V650.5Z" />
</vector>
5 changes: 0 additions & 5 deletions components/src/main/res/drawable/ic_add_box_24.xml

This file was deleted.

9 changes: 9 additions & 0 deletions components/src/main/res/drawable/ic_add_box_round.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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M950 150H250C194.5 150 150 195 150 250V950C150 1005 194.5 1050 250 1050H950C1005 1050 1050 1005 1050 950V250C1050 195 1005 150 950 150ZM800 650H650V800C650 827.5 627.5 850 600 850C572.5 850 550 827.5 550 800V650H400C372.5 650 350 627.5 350 600C350 572.5 372.5 550 400 550H550V400C550 372.5 572.5 350 600 350C627.5 350 650 372.5 650 400V550H800C827.5 550 850 572.5 850 600C850 627.5 827.5 650 800 650Z" />
</vector>
9 changes: 9 additions & 0 deletions components/src/main/res/drawable/ic_add_box_sharp.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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M1050 150H150V1050H1050V150ZM850 650H650V850H550V650H350V550H550V350H650V550H850V650Z" />
</vector>
5 changes: 0 additions & 5 deletions components/src/main/res/drawable/ic_add_call_24.xml

This file was deleted.

9 changes: 9 additions & 0 deletions components/src/main/res/drawable/ic_add_call_round.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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M699.99 400H799.99V500C799.99 527.5 822.49 550 849.99 550C877.49 550 899.99 527.5 899.99 500V400H999.99C1027.49 400 1049.99 377.5 1049.99 350C1049.99 322.5 1027.49 300 999.99 300H899.99V200C899.99 172.5 877.49 150 849.99 150C822.49 150 799.99 172.5 799.99 200V300H699.99C672.49 300 649.99 322.5 649.99 350C649.99 377.5 672.49 400 699.99 400ZM960.49 763.5L833.49 749C802.99 745.5 772.99 756 751.49 777.5L659.49 869.5C517.99 797.5 401.99 682 329.989 540L422.49 447.5C443.99 426 454.49 395.5 450.99 365.5L436.489 239.5C430.99 189 387.989 150.5 337.49 150.5H250.99C194.489 150.5 147.49 197.5 150.989 254C177.489 681 518.99 1022 945.49 1048.5C1001.99 1052 1048.99 1005 1048.99 948.5V862C1049.49 812 1010.99 769 960.49 763.5Z" />
</vector>
9 changes: 9 additions & 0 deletions components/src/main/res/drawable/ic_add_call_sharp.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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M1049.995 300H899.995V150H799.995V300H649.995V400H799.995V550H899.995V400H1049.995V300ZM1049.995 773L786.495 742.5L660.495 868.5C518.995 796.5 402.995 681 330.995 539L457.495 412.5L426.995 150H151.495C122.495 659 540.995 1077.5 1049.995 1048.5V773Z" />
</vector>
5 changes: 0 additions & 5 deletions components/src/main/res/drawable/ic_add_circle_24.xml

This file was deleted.

5 changes: 0 additions & 5 deletions components/src/main/res/drawable/ic_add_circle_outline_24.xml

This file was deleted.

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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M600 350C572.5 350 550 372.5 550 400V550H400C372.5 550 350 572.5 350 600C350 627.5 372.5 650 400 650H550V800C550 827.5 572.5 850 600 850C627.5 850 650 827.5 650 800V650H800C827.5 650 850 627.5 850 600C850 572.5 827.5 550 800 550H650V400C650 372.5 627.5 350 600 350ZM600 100C324 100 100 324 100 600C100 876 324 1100 600 1100C876 1100 1100 876 1100 600C1100 324 876 100 600 100ZM600 1000C379.5 1000 200 820.5 200 600C200 379.5 379.5 200 600 200C820.5 200 1000 379.5 1000 600C1000 820.5 820.5 1000 600 1000Z" />
</vector>
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="1200"
android:viewportHeight="1200">
<path
android:fillColor="@android:color/black"
android:pathData="M650 350H550V550H350V650H550V850H650V650H850V550H650V350ZM600 100C324 100 100 324 100 600C100 876 324 1100 600 1100C876 1100 1100 876 1100 600C1100 324 876 100 600 100ZM600 1000C379.5 1000 200 820.5 200 600C200 379.5 379.5 200 600 200C820.5 200 1000 379.5 1000 600C1000 820.5 820.5 1000 600 1000Z" />
</vector>
Loading

0 comments on commit 990ec23

Please sign in to comment.