Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions branding/make-icons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<svg xmlns="http://www.w3.org/2000/svg" width="%s" height="%s" viewBox="0 0 %s %s"><image width="%s" height="%s" href="data:image/png;base64,%s"/></svg>\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.
Expand Down
9 changes: 9 additions & 0 deletions branding/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -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 <text> 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



1 change: 1 addition & 0 deletions branding/webui/chrome_logo_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions branding/webui/chrome_product_cr23.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading