diff --git a/patches/helium/ui/helium-logo-icons.patch b/patches/helium/ui/helium-logo-icons.patch index ff14be36..6cd24abb 100644 --- a/patches/helium/ui/helium-logo-icons.patch +++ b/patches/helium/ui/helium-logo-icons.patch @@ -1,148 +1,3 @@ ---- a/chrome/app/vector_icons/browser_logo.icon -+++ b/chrome/app/vector_icons/browser_logo.icon -@@ -1,46 +1,26 @@ --// Copyright 2023 The Chromium Authors --// Use of this source code is governed by a BSD-style license that can be --// found in the LICENSE file. -+// Copyright 2025 The Helium Authors -+// You can use, redistribute, and/or modify this source code under -+// the terms of the GPL-3.0 license that can be found in the LICENSE file. - --CANVAS_DIMENSIONS, 16, --MOVE_TO, 5.5, 8.02, --R_CUBIC_TO, 0, 0.7, 0.24, 1.29, 0.73, 1.77, --R_ARC_TO, 2.41, 2.41, 0, 0, 0, 1.77, 0.73, --R_CUBIC_TO, 0.7, 0, 1.29, -0.24, 1.77, -0.73, --R_ARC_TO, 2.41, 2.41, 0, 0, 0, 0.73, -1.77, --R_CUBIC_TO, 0, -0.69, -0.24, -1.28, -0.73, -1.77, --ARC_TO, 2.41, 2.41, 0, 0, 0, 8, 5.52, --R_CUBIC_TO, -0.69, 0, -1.28, 0.24, -1.77, 0.73, --R_ARC_TO, 2.41, 2.41, 0, 0, 0, -0.73, 1.77, -+CANVAS_DIMENSIONS, 56, -+FILL_RULE_NONZERO, -+MOVE_TO, 26, 51, -+R_ARC_TO, 1, 1, 0, 0, 0, 4, 0, -+V_LINE_TO, 5, -+ARC_TO, 1, 1, 0, 0, 0, 26, 5, - CLOSE, --MOVE_TO, 8, 11.77, --R_CUBIC_TO, 0.13, 0, 0.25, 0, 0.39, -0.01, --R_CUBIC_TO, 0.14, -0.01, 0.26, -0.03, 0.39, -0.06, --LINE_TO, 7.09, 14.59, --R_CUBIC_TO, -1.66, -0.18, -3.03, -0.9, -4.11, -2.16, --R_CUBIC_TO, -1.08, -1.26, -1.62, -2.73, -1.62, -4.41, --R_ARC_TO, 6.54, 6.54, 0, 0, 1, 0.66, -2.86, --R_LINE_TO, 2.77, 4.73, --R_CUBIC_TO, 0.33, 0.59, 0.77, 1.05, 1.35, 1.38, --R_CUBIC_TO, 0.58, 0.33, 1.2, 0.5, 1.87, 0.5, -+MOVE_TO, 9, 6, -+ARC_TO, 1, 1, 0, 0, 0, 6, 9, -+LINE_TO, 47, 50, -+R_ARC_TO, 1, 1, 0, 0, 0, 3, -3, - CLOSE, --MOVE_TO, 8, 4.27, --R_CUBIC_TO, -0.82, 0, -1.55, 0.24, -2.19, 0.73, --ARC_TO, 3.79, 3.79, 0, 0, 0, 4.46, 6.87, --LINE_TO, 2.77, 3.94, --R_ARC_TO, 6.2, 6.2, 0, 0, 1, 2.29, -1.9, --ARC_TO, 6.64, 6.64, 0, 0, 1, 8, 1.38, --R_CUBIC_TO, 1.09, 0, 2.13, 0.26, 3.09, 0.77, --R_ARC_TO, 6.72, 6.72, 0, 0, 1, 2.38, 2.12, -+MOVE_TO, 5, 26, -+R_ARC_TO, 1, 1, 0, 0, 0, 0, 4, -+H_LINE_TO, 51, -+R_ARC_TO, 1, 1, 0, 0, 0, 0, -4, - CLOSE, --R_MOVE_TO, 6.16, 1.25, --R_CUBIC_TO, 0.17, 0.41, 0.3, 0.82, 0.37, 1.23, --R_CUBIC_TO, 0.08, 0.42, 0.12, 0.84, 0.12, 1.27, --R_CUBIC_TO, 0, 1.79, -0.58, 3.29, -1.73, 4.5, --R_CUBIC_TO, -1.15, 1.22, -2.62, 1.93, -4.41, 2.12, --R_LINE_TO, 2.71, -4.75, --R_CUBIC_TO, 0.16, -0.29, 0.29, -0.59, 0.38, -0.9, --R_ARC_TO, 3.34, 3.34, 0, 0, 0, 0.14, -0.97, --R_CUBIC_TO, 0, -0.46, -0.09, -0.91, -0.26, -1.34, --R_ARC_TO, 4.12, 4.12, 0, 0, 0, -0.71, -1.16, -+MOVE_TO, 6, 47, -+R_ARC_TO, 1, 1, 0, 0, 0, 3, 3, -+LINE_TO, 50, 9, -+ARC_TO, 1, 1, 0, 0, 0, 47, 6, - CLOSE ---- a/components/omnibox/browser/vector_icons/product_chrome_refresh.icon -+++ b/components/omnibox/browser/vector_icons/product_chrome_refresh.icon -@@ -1,51 +1,26 @@ --// Copyright 2023 The Chromium Authors --// Use of this source code is governed by a BSD-style license that can be --// found in the LICENSE file. -+// Copyright 2025 The Helium Authors -+// You can use, redistribute, and/or modify this source code under -+// the terms of the GPL-3.0 license that can be found in the LICENSE file. - --CANVAS_DIMENSIONS, 15, --MOVE_TO, 4.92, 7.5, --R_CUBIC_TO, 0, 0.71, 0.25, 1.31, 0.76, 1.82, --R_CUBIC_TO, 0.51, 0.51, 1.12, 0.76, 1.82, 0.76, --R_CUBIC_TO, 0.7, 0, 1.31, -0.25, 1.82, -0.76, --R_CUBIC_TO, 0.51, -0.51, 0.76, -1.12, 0.76, -1.82, --R_CUBIC_TO, 0, -0.7, -0.25, -1.31, -0.76, -1.82, --R_ARC_TO, 2.49, 2.49, 0, 0, 0, -1.82, -0.76, --R_CUBIC_TO, -0.7, 0, -1.31, 0.25, -1.82, 0.76, --R_ARC_TO, 2.49, 2.49, 0, 0, 0, -0.76, 1.82, -+CANVAS_DIMENSIONS, 56, -+FILL_RULE_NONZERO, -+MOVE_TO, 26, 51, -+R_ARC_TO, 1, 1, 0, 0, 0, 4, 0, -+V_LINE_TO, 5, -+ARC_TO, 1, 1, 0, 0, 0, 26, 5, - CLOSE, --MOVE_TO, 7.5, 11.48, --R_CUBIC_TO, 0.14, 0, 0.28, 0, 0.41, -0.02, --R_CUBIC_TO, 0.13, -0.01, 0.26, -0.04, 0.39, -0.07, --LINE_TO, 6.77, 14.06, --R_CUBIC_TO, -1.65, -0.19, -3.04, -0.89, -4.15, -2.12, --CUBIC_TO, 1.5, 10.71, 0.94, 9.24, 0.94, 7.55, --R_CUBIC_TO, 0, -0.46, 0.05, -0.9, 0.13, -1.33, --R_CUBIC_TO, 0.08, -0.44, 0.22, -0.85, 0.39, -1.25, --R_LINE_TO, 2.63, 4.55, --R_CUBIC_TO, 0.34, 0.59, 0.81, 1.07, 1.41, 1.43, --R_CUBIC_TO, 0.6, 0.36, 1.26, 0.54, 2.01, 0.54, -+MOVE_TO, 9, 6, -+ARC_TO, 1, 1, 0, 0, 0, 6, 9, -+LINE_TO, 47, 50, -+R_ARC_TO, 1, 1, 0, 0, 0, 3, -3, - CLOSE, --R_MOVE_TO, 0, -7.87, --R_CUBIC_TO, -0.87, 0, -1.65, 0.25, -2.33, 0.77, --R_ARC_TO, 3.95, 3.95, 0, 0, 0, -1.42, 1.94, --LINE_TO, 2.21, 3.66, --R_ARC_TO, 6.79, 6.79, 0, 0, 1, 2.27, -1.94, --CUBIC_TO, 5.4, 1.22, 6.4, 0.98, 7.5, 0.98, --R_CUBIC_TO, 1.1, 0, 2.08, 0.24, 2.99, 0.72, --ARC_TO, 6.66, 6.66, 0, 0, 1, 12.76, 3.6, --H_LINE_TO, 7.51, --R_LINE_TO, -0.01, 0.01, -+MOVE_TO, 5, 26, -+R_ARC_TO, 1, 1, 0, 0, 0, 0, 4, -+H_LINE_TO, 51, -+R_ARC_TO, 1, 1, 0, 0, 0, 0, -4, - CLOSE, --R_MOVE_TO, 6.01, 1.31, --R_CUBIC_TO, 0.19, 0.4, 0.32, 0.83, 0.41, 1.27, --R_CUBIC_TO, 0.09, 0.44, 0.15, 0.89, 0.15, 1.36, --R_CUBIC_TO, 0, 1.7, -0.55, 3.16, -1.68, 4.38, --R_CUBIC_TO, -1.11, 1.23, -2.47, 1.93, -4.1, 2.13, --R_LINE_TO, 2.63, -4.55, --R_CUBIC_TO, 0.17, -0.28, 0.29, -0.59, 0.38, -0.92, --R_CUBIC_TO, 0.09, -0.34, 0.15, -0.69, 0.15, -1.05, --R_CUBIC_TO, 0, -0.52, -0.09, -0.99, -0.28, -1.42, --R_ARC_TO, 3.96, 3.96, 0, 0, 0, -0.74, -1.2, --R_H_LINE_TO, 3.08, --R_V_LINE_TO, 0.01, -+MOVE_TO, 6, 47, -+R_ARC_TO, 1, 1, 0, 0, 0, 3, 3, -+LINE_TO, 50, 9, -+ARC_TO, 1, 1, 0, 0, 0, 47, 6, - CLOSE --- a/ui/webui/resources/cr_elements/icons.html.ts +++ b/ui/webui/resources/cr_elements/icons.html.ts @@ -114,9 +114,8 @@ div.innerHTML = getTrustedHTML` diff --git a/resources/branding/product_logo.icon b/resources/branding/product_logo.icon new file mode 100644 index 00000000..4f44d383 --- /dev/null +++ b/resources/branding/product_logo.icon @@ -0,0 +1,26 @@ +// Copyright 2025 The Helium Authors +// You can use, redistribute, and/or modify this source code under +// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +CANVAS_DIMENSIONS, 56, +FILL_RULE_NONZERO, +MOVE_TO, 26, 51, +R_ARC_TO, 1, 1, 0, 0, 0, 4, 0, +V_LINE_TO, 5, +ARC_TO, 1, 1, 0, 0, 0, 26, 5, +CLOSE, +MOVE_TO, 9, 6, +ARC_TO, 1, 1, 0, 0, 0, 6, 9, +LINE_TO, 47, 50, +R_ARC_TO, 1, 1, 0, 0, 0, 3, -3, +CLOSE, +MOVE_TO, 5, 26, +R_ARC_TO, 1, 1, 0, 0, 0, 0, 4, +H_LINE_TO, 51, +R_ARC_TO, 1, 1, 0, 0, 0, 0, -4, +CLOSE, +MOVE_TO, 6, 47, +R_ARC_TO, 1, 1, 0, 0, 0, 3, 3, +LINE_TO, 50, 9, +ARC_TO, 1, 1, 0, 0, 0, 47, 6, +CLOSE diff --git a/resources/helium_resources.txt b/resources/helium_resources.txt index 8f4230d7..755fc351 100644 --- a/resources/helium_resources.txt +++ b/resources/helium_resources.txt @@ -55,3 +55,6 @@ branding/product_icon/16x16.png chrome/app/theme/default_100_percent/chromium/li branding/product_icon/32x32.png chrome/app/theme/default_100_percent/chromium/linux/product_logo_32.png branding/product_logo.svg chrome/app/theme/chromium/product_logo.svg + +branding/product_logo.icon chrome/app/vector_icons/browser_logo.icon +branding/product_logo.icon components/omnibox/browser/vector_icons/product_chrome_refresh.icon