diff --git a/branding/make-icons.sh b/branding/make-icons.sh index 4b97dbf6..c391dc59 100755 --- a/branding/make-icons.sh +++ b/branding/make-icons.sh @@ -44,6 +44,19 @@ white "$WORDMARK" x64 icons/about_product_logo_white@2x.png render "$MARK" 16x16 icons/favicon_product.png render "$MARK" 32x32 icons/favicon_product@2x.png +echo "== WebUI marks that upstream ships as Chrome-logo SVG files" +# WebUI pages load these by file name, not through the product logo. The symbol is the design system's +# shipped PNG, wrapped unmodified in an SVG so the file name and type stay what WebUI expects. +# chrome_logo_dark.svg cr-toolbar / cr-drawer header in dark mode: Solid White, for dark grounds. +# chrome_product_cr23 omnibox action icon, drawn as a CSS mask: only its alpha is used. +wrap() { + printf '\n' \ + "$2" "$2" "$2" "$2" "$2" "$2" "$(base64 -w0 "$1")" > "$3" +} +mkdir -p webui +wrap "$REDROB_DESIGN_SYSTEM/assets/Symbol/redrob-symbol-solid-white.png" 24 webui/chrome_logo_dark.svg +wrap "$REDROB_DESIGN_SYSTEM/assets/Symbol/redrob-symbol-solid.png" 16 webui/chrome_product_cr23.svg + echo "== Windows document/PDF association icons" # Upstream draws a page behind the glyph; until we have that art these are the app icon, which is honest # rather than wrong -- the association still shows Redrob. diff --git a/branding/manifest b/branding/manifest index 736625e1..113e44cc 100644 --- a/branding/manifest +++ b/branding/manifest @@ -100,6 +100,15 @@ branding/icons/mac/appiconset/appicon_512.png chrome/app/theme/chromium/m branding/icons/mac/appiconset/appicon_1024.png chrome/app/theme/chromium/mac/Assets.xcassets/AppIcon.appiconset/appicon_1024.png binary branding/icons/mac/iconset/icon_256x256.png chrome/app/theme/chromium/mac/Assets.xcassets/Icon.iconset/icon_256x256.png binary branding/icons/mac/iconset/icon_256x256@2x.png chrome/app/theme/chromium/mac/Assets.xcassets/Icon.iconset/icon_256x256@2x.png binary +# The Windows "Set as default" modal draws a mock of Settings > Apps > Default apps. Upstream's mock +# spells "Google Chrome" in outlined glyphs; ours swaps those two runs for naming Redrob Browser. +branding/webui/settings_illustration.svg chrome/browser/resources/default_browser/default_browser_modal/settings_illustration.svg text +# WebUI marks loaded by file name rather than through the product logo (branding/make-icons.sh). +# cr-toolbar and cr-drawer show chrome_logo_dark.svg as the page header icon in dark mode -- history, +# downloads, bookmarks, extensions -- so a dark-mode user saw the Chrome logo on every one of them. +branding/webui/chrome_logo_dark.svg ui/webui/resources/images/chrome_logo_dark.svg binary +# The omnibox action ("pedal") icon in the WebUI searchbox, a monochrome Chrome logo used as a mask. +branding/webui/chrome_product_cr23.svg ui/webui/resources/cr_components/searchbox/icons/chrome_product_cr23.svg binary diff --git a/branding/webui/chrome_logo_dark.svg b/branding/webui/chrome_logo_dark.svg new file mode 100644 index 00000000..6250d84f --- /dev/null +++ b/branding/webui/chrome_logo_dark.svg @@ -0,0 +1 @@ + diff --git a/branding/webui/chrome_product_cr23.svg b/branding/webui/chrome_product_cr23.svg new file mode 100644 index 00000000..0cfb3645 --- /dev/null +++ b/branding/webui/chrome_product_cr23.svg @@ -0,0 +1 @@ + diff --git a/branding/webui/settings_illustration.svg b/branding/webui/settings_illustration.svg new file mode 100644 index 00000000..d2f97f5c --- /dev/null +++ b/branding/webui/settings_illustration.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + +Redrob Browser + + + + + +Make Redrob Browser your default browser + + + + + + + + + + + + + + + + + \ No newline at end of file