feat(macOS): Use .icon format for macOS app bundle

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
This commit is contained in:
Iva HornandClaude Opus 4.7 committed 2026-06-09 09:24:09 +02:00
1 parent 1c5c5ddb37
commit 2517359d05
16 files changed
+262 -320

No files matched your search

-5
View File
@@ -22,11 +22,6 @@ set( APPLICATION_VENDOR "Nextcloud GmbH" )
set( APPLICATION_UPDATE_URL "https://updates.nextcloud.org/client/" CACHE STRING "URL for updater" )
set( APPLICATION_HELP_URL "" CACHE STRING "URL for the help menu" )
if(APPLE AND (APPLICATION_NAME STREQUAL "Nextcloud" OR NEXTCLOUD_DEV) AND EXISTS "${CMAKE_SOURCE_DIR}/theme/colored/Nextcloud-macOS-icon.svg")
set( APPLICATION_ICON_NAME "Nextcloud-macOS" )
message("Using macOS-specific application icon: ${APPLICATION_ICON_NAME}")
endif()
set( APPLICATION_ICON_SET "SVG" )
set( APPLICATION_SERVER_URL "" CACHE STRING "URL for the server to use. If entered, the UI field will be pre-filled with it" )
set( APPLICATION_SERVER_URL_ENFORCE ON ) # If set and APPLICATION_SERVER_URL is defined, the server can only connect to the pre-defined URL
+1 -1
View File
@@ -18,7 +18,7 @@ if(APPLE)
set( CPACK_GENERATOR "DragNDrop" )
set( CPACK_SOURCE_GENERATOR "")
set( CPACK_PACKAGE_FILE_NAME ${APPLICATION_SHORTNAME}-${CPACK_PACKAGE_VERSION} )
set( CPACK_PACKAGE_ICON ${CMAKE_BINARY_DIR}/src/gui/${APPLICATION_ICON_NAME}.icns)
set( CPACK_PACKAGE_ICON ${CMAKE_BINARY_DIR}/src/gui/AppIconCompiled/AppIcon.icns)
set( CPACK_DMG_DS_STORE "${CMAKE_SOURCE_DIR}/admin/osx/DS_Store.in")
# set( CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_SOURCE_DIR}/admin/osx/DMGBackground.png" )
+1 -1
View File
@@ -114,7 +114,7 @@ SPDX-FileCopyrightText = "2018 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "GPL-2.0-or-later"
[[annotations]]
path = ["admin/osx/installer-background.png","admin/osx/installer-background.svg","admin/osx/installer-background_2x.png", "admin/win/msi/gui/banner.bmp","admin/win/msi/gui/banner.svg","admin/win/msi/gui/dialog.bmp", "admin/win/nsi/installer.ico", "admin/win/nsi/page_header.bmp", "admin/win/nsi/welcome.bmp", "doc/_shared_assets/themes/nextcloud_com/static/img/logo.svg", "doc/_shared_assets/static/logo-blue.pdf","doc/_shared_assets/static/logo-blue.png", "doc/logo-blue.pdf", "theme/talk-app.svg", "theme/*/deck.svg", "theme/*/talk-app.svg","theme/*/wizard-nextcloud.png","theme/*/wizard-nextcloud.svg","theme/*/[email protected]","theme/*/wizard-talk.png","theme/*/wizard-talk.svg","theme/*/[email protected]", "theme/colored/talk-bordered.svg", "theme/colored/icons/Nextcloud-icon-win-folder.svg", "theme/colored/Nextcloud-icon-square.svg", "theme/colored/Nextcloud-icon.svg", "theme/colored/Nextcloud-macOS-icon.svg", "theme/colored/Nextcloud-macOS-sidebar.svg", "theme/colored/Nextcloud-w10startmenu.svg", "theme/colored/Nextcloud-w10starttile.png", "theme/colored/wizard_logo.png", "theme/colored/wizard_logo.svg", "theme/colored/[email protected]"]
path = ["admin/osx/installer-background.png","admin/osx/installer-background.svg","admin/osx/installer-background_2x.png", "admin/win/msi/gui/banner.bmp","admin/win/msi/gui/banner.svg","admin/win/msi/gui/dialog.bmp", "admin/win/nsi/installer.ico", "admin/win/nsi/page_header.bmp", "admin/win/nsi/welcome.bmp", "doc/_shared_assets/themes/nextcloud_com/static/img/logo.svg", "doc/_shared_assets/static/logo-blue.pdf","doc/_shared_assets/static/logo-blue.png", "doc/logo-blue.pdf", "theme/talk-app.svg", "theme/*/deck.svg", "theme/*/talk-app.svg","theme/*/wizard-nextcloud.png","theme/*/wizard-nextcloud.svg","theme/*/[email protected]","theme/*/wizard-talk.png","theme/*/wizard-talk.svg","theme/*/[email protected]", "theme/colored/talk-bordered.svg", "theme/colored/icons/Nextcloud-icon-win-folder.svg", "theme/colored/Nextcloud-icon-square.svg", "theme/colored/Nextcloud-icon.svg", "theme/colored/AppIcon.icon/icon.json", "theme/colored/AppIcon.icon/Assets/*", "theme/colored/Nextcloud-w10startmenu.svg", "theme/colored/Nextcloud-w10starttile.png", "theme/colored/wizard_logo.png", "theme/colored/wizard_logo.svg", "theme/colored/[email protected]"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2016 Nextcloud GmbH"
SPDX-License-Identifier = "LicenseRef-NextcloudTrademarks"
@@ -0,0 +1,75 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: GPL-2.0-or-later
# Locate `actool` once. Prefer the version inside the active Xcode toolchain
# (xcrun), falling back to whatever is on PATH.
if(NOT ACTOOL_EXECUTABLE)
execute_process(
COMMAND xcrun --find actool
OUTPUT_VARIABLE _actool_path
OUTPUT_STRIP_TRAILING_WHITESPACE
RESULT_VARIABLE _actool_lookup
ERROR_QUIET)
if(_actool_lookup EQUAL 0 AND EXISTS "${_actool_path}")
set(ACTOOL_EXECUTABLE "${_actool_path}" CACHE FILEPATH "Apple asset catalog compiler")
else()
find_program(ACTOOL_EXECUTABLE actool)
endif()
if(NOT ACTOOL_EXECUTABLE)
message(FATAL_ERROR "actool not found. Install Xcode (or the Command Line Tools) to compile Icon Composer .icon sources.")
endif()
endif()
# Compile an Icon Composer `.icon` bundle into the modern macOS asset catalog
# format (`Assets.car`) plus a loose `<app-icon-name>.icns` fallback.
#
# compile_apple_icon_composer(<icon_source> <out_dir> <out_var>)
#
# Arguments:
# icon_source Absolute path to the source `.icon` directory.
# out_dir Directory where actool writes its output (Assets.car,
# <app-icon-name>.icns, partial Info.plist). Created on demand.
# out_var Name of a parent-scope variable that receives the list of
# generated source files to attach to the macOS bundle target.
# Outputs are tagged with MACOSX_PACKAGE_LOCATION=Resources so
# they land in `<app>.app/Contents/Resources/` automatically.
#
# actool requires its input argument to be a *parent directory* containing the
# `.icon`, not the `.icon` itself, so we stage the icon into a build-side
# folder first.
function(compile_apple_icon_composer icon_source out_dir out_var)
get_filename_component(_icon_name "${icon_source}" NAME_WE)
set(_staging_dir "${out_dir}/Sources")
set(_staged_icon "${_staging_dir}/${_icon_name}.icon")
set(_assets_car "${out_dir}/Assets.car")
set(_app_icns "${out_dir}/${_icon_name}.icns")
set(_partial_plist "${out_dir}/${_icon_name}.partial.plist")
file(MAKE_DIRECTORY "${out_dir}" "${_staging_dir}")
add_custom_command(
OUTPUT "${_assets_car}" "${_app_icns}" "${_partial_plist}"
COMMAND ${CMAKE_COMMAND} -E rm -rf "${_staged_icon}"
COMMAND ${CMAKE_COMMAND} -E copy_directory "${icon_source}" "${_staged_icon}"
COMMAND "${ACTOOL_EXECUTABLE}"
"${_staged_icon}"
--platform macosx
--minimum-deployment-target "${CMAKE_OSX_DEPLOYMENT_TARGET}"
--target-device mac
--app-icon "${_icon_name}"
--standalone-icon-behavior all
--compile "${out_dir}"
--output-partial-info-plist "${_partial_plist}"
--errors --warnings
--output-format human-readable-text
DEPENDS "${icon_source}/icon.json"
WORKING_DIRECTORY "${out_dir}"
COMMENT "Compiling Icon Composer bundle ${_icon_name}.icon with actool"
VERBATIM)
set_source_files_properties("${_assets_car}" "${_app_icns}" PROPERTIES
MACOSX_PACKAGE_LOCATION Resources
GENERATED TRUE)
set(${out_var} "${_assets_car}" "${_app_icns}" PARENT_SCOPE)
endfunction()
+3 -1
View File
@@ -19,7 +19,9 @@
<key>CFBundleExecutable</key>
<string>@APPLICATION_NAME@</string>
<key>CFBundleIconFile</key>
<string>@[email protected]</string>
<string>AppIcon</string>
<key>CFBundleIconName</key>
<string>AppIcon</string>
<key>CFBundleIdentifier</key>
<string>@APPLICATION_REV_DOMAIN@</string>
<key>CFBundleInfoDictionaryVersion</key>
+1 -1
View File
@@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2014 ownCloud GmbH
# SPDX-License-Identifier: GPL-2.0-or-later
if(APPLE)
set(OC_OEM_SHARE_ICNS "${CMAKE_BINARY_DIR}/src/gui/${APPLICATION_ICON_NAME}.icns")
set(OC_OEM_SHARE_ICNS "${CMAKE_BINARY_DIR}/src/gui/AppIconCompiled/AppIcon.icns")
if (NEXTCLOUD_DEV)
set(XCODE_TARGET_CONFIGURATION "Debug")
@@ -1,5 +1,5 @@
{
"originHash" : "8f26ef5980fd6743c42a9528e8af0e6bb1160646507b45d0ef74f6cd19da5953",
"originHash" : "ad2fabef3f8c4e5fae5744c0f0ebc476847ccf47a09730d368fe211fdfb0aade",
"pins" : [
{
"identity" : "alamofire",
@@ -24,8 +24,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/nextcloud/NextcloudKit",
"state" : {
"revision" : "6f25e101f5833d4d01961c5012acb37d526fffd2",
"version" : "7.2.8"
"revision" : "ef7b20a5dab6061d4139f943e824981369ef949e",
"version" : "7.3.3"
}
},
{
+8 -14
View File
@@ -409,15 +409,6 @@ if ((APPLICATION_ICON_SET MATCHES "PNG")
file(TOUCH "${theme_dir}/colored/${APPLICATION_ICON_NAME}-icon.svg")
endif()
if(APPLE)
set(MACOS_SIDEBAR_ICON_SVG "${theme_dir}/colored/${APPLICATION_ICON_NAME}-sidebar.svg")
generate_sized_png_from_svg(${MACOS_SIDEBAR_ICON_SVG} 16)
generate_sized_png_from_svg(${MACOS_SIDEBAR_ICON_SVG} 32)
generate_sized_png_from_svg(${MACOS_SIDEBAR_ICON_SVG} 64)
generate_sized_png_from_svg(${MACOS_SIDEBAR_ICON_SVG} 128)
generate_sized_png_from_svg(${MACOS_SIDEBAR_ICON_SVG} 256)
endif()
if(WIN32)
set(STARTMENU_ICON_SVG "${theme_dir}/colored/${APPLICATION_ICON_NAME}-w10startmenu.svg")
generate_sized_png_from_svg(${STARTMENU_ICON_SVG} 70)
@@ -444,12 +435,15 @@ endif()
file(GLOB OWNCLOUD_ICONS "${theme_dir}/colored/*-${APPLICATION_ICON_NAME}-icon*")
if(APPLE)
file(GLOB_RECURSE OWNCLOUD_SIDEBAR_ICONS "${theme_dir}/colored/*-${APPLICATION_ICON_NAME}-sidebar*")
MESSAGE(STATUS "OWNCLOUD_SIDEBAR_ICONS: ${APPLICATION_ICON_NAME}: ${OWNCLOUD_SIDEBAR_ICONS}")
include(CompileAppleIconComposer)
compile_apple_icon_composer(
"${CMAKE_SOURCE_DIR}/theme/colored/AppIcon.icon"
"${CMAKE_CURRENT_BINARY_DIR}/AppIconCompiled"
APP_ICON)
else()
ecm_add_app_icon(APP_ICON ICONS "${OWNCLOUD_ICONS}" OUTFILE_BASENAME "${APPLICATION_ICON_NAME}")
endif()
ecm_add_app_icon(APP_ICON ICONS "${OWNCLOUD_ICONS}" SIDEBAR_ICONS "${OWNCLOUD_SIDEBAR_ICONS}" OUTFILE_BASENAME "${APPLICATION_ICON_NAME}")
if(WIN32 AND EXISTS ${APP_ICON_WIN_FOLDER_SVG})
get_filename_component(output_icon_name_win ${APP_ICON_WIN_FOLDER_SVG} NAME_WLE)
# Product icon (for smallest size)
@@ -565,7 +559,7 @@ if(NOT BUILD_OWNCLOUD_OSX_BUNDLE)
)
else()
# set(CMAKE_INSTALL_PREFIX ".") # Examples use /Applications. hurmpf.
set(MACOSX_BUNDLE_ICON_FILE "${APPLICATION_ICON_NAME}.icns")
set(MACOSX_BUNDLE_ICON_FILE "AppIcon")
# we must add MACOSX_BUNDLE only if building a bundle
add_executable(nextcloud WIN32 MACOSX_BUNDLE main.cpp ${APP_ICON})
+7
View File
@@ -173,6 +173,13 @@ if (WIN32)
add_definitions(-DUMDF_USING_NTSTATUS)
endif()
if(APPLE)
list(APPEND libsync_SRCS
theme_mac.h
theme_mac.mm
)
endif()
if(TOKEN_AUTH_ONLY)
set (libsync_SRCS
${libsync_SRCS}
+9
View File
@@ -29,6 +29,10 @@
#include <windows.h>
#endif
#ifdef Q_OS_MACOS
#include "theme_mac.h"
#endif
#include "nextcloudtheme.h"
#ifdef THEME_INCLUDE
@@ -256,6 +260,11 @@ QString Theme::configFileName() const
QIcon Theme::applicationIcon() const
{
#ifdef Q_OS_MACOS
if (auto bundleIcon = loadAppIconFromBundle(); !bundleIcon.isNull()) {
return bundleIcon;
}
#endif
return themeIcon(QStringLiteral(APPLICATION_ICON_NAME "-icon"));
}
+19
View File
@@ -0,0 +1,19 @@
/*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QIcon>
namespace OCC {
/**
* Build a QIcon from the AppIcon asset compiled into the app bundle's
* Assets.car by `actool`. Returns an empty QIcon when run outside of an
* assembled bundle (e.g. development binaries).
*/
QIcon loadAppIconFromBundle();
}
+74
View File
@@ -0,0 +1,74 @@
/*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "theme_mac.h"
#include <QByteArray>
#include <QImage>
#include <QPixmap>
#import <AppKit/AppKit.h>
namespace OCC {
namespace {
QPixmap pixmapFromNSImage(NSImage *image, int side)
{
if (!image) {
return {};
}
NSImage *resized = [[NSImage alloc] initWithSize:NSMakeSize(side, side)];
[resized lockFocus];
[image drawInRect:NSMakeRect(0, 0, side, side)
fromRect:NSZeroRect
operation:NSCompositingOperationCopy
fraction:1.0
respectFlipped:YES
hints:nil];
[resized unlockFocus];
NSData *tiff = [resized TIFFRepresentation];
if (!tiff) {
return {};
}
NSBitmapImageRep *bitmap = [NSBitmapImageRep imageRepWithData:tiff];
NSData *png = [bitmap representationUsingType:NSBitmapImageFileTypePNG properties:@{}];
if (!png) {
return {};
}
const QByteArray bytes(reinterpret_cast<const char *>(png.bytes), static_cast<int>(png.length));
QImage decoded;
if (!decoded.loadFromData(bytes, "PNG")) {
return {};
}
return QPixmap::fromImage(std::move(decoded));
}
}
QIcon loadAppIconFromBundle()
{
@autoreleasepool {
NSImage *appIcon = [NSImage imageNamed:@"AppIcon"];
if (!appIcon) {
return {};
}
QIcon icon;
for (int side : {16, 32, 64, 128, 256, 512, 1024}) {
const auto pixmap = pixmapFromNSImage(appIcon, side);
if (!pixmap.isNull()) {
icon.addPixmap(pixmap);
}
}
return icon;
}
}
}
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" version="1.1" viewBox="0 0 141.49 99.6">
<!-- Generator: Adobe Illustrator 30.3.0, SVG Export Plug-In . SVG Version: 2.1.3 Build 182) -->
<defs>
<style>
.st0 {
fill: #fff;
}
</style>
</defs>
<path id="path1052" class="st0" d="M70.83,22.15c-12.59,0-23.26,8.54-26.57,20.1-2.88-6.14-9.1-10.43-16.28-10.43-9.87,0-17.98,8.11-17.98,17.98s8.11,17.99,17.98,17.99c7.18,0,13.41-4.3,16.28-10.44,3.31,11.57,13.98,20.11,26.57,20.11s23.12-8.41,26.51-19.85c2.93,6,9.08,10.18,16.15,10.18,9.87,0,17.99-8.12,17.99-17.99s-8.12-17.98-17.99-17.98c-7.07,0-13.23,4.18-16.15,10.17-3.39-11.44-14.01-19.84-26.51-19.84h0ZM70.83,32.7c9.51,0,17.1,7.59,17.1,17.1s-7.59,17.1-17.1,17.1-17.1-7.59-17.1-17.1,7.59-17.1,17.1-17.1ZM27.98,42.37c4.16,0,7.43,3.26,7.43,7.43s-3.26,7.43-7.43,7.43-7.43-3.26-7.43-7.43,3.26-7.43,7.43-7.43ZM113.5,42.37c4.17,0,7.43,3.26,7.43,7.43s-3.26,7.43-7.43,7.43-7.43-3.26-7.43-7.43,3.26-7.43,7.43-7.43Z" inkscape:connector-curvature="0" inkscape:export-filename="Nextcloud Hub logo variants.png" inkscape:export-xdpi="300" inkscape:export-ydpi="300"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

+49
View File
@@ -0,0 +1,49 @@
{
"fill" : {
"linear-gradient" : [
"display-p3:0.10980,0.68627,1.00000,1.00000",
"srgb:0.00000,0.50980,0.78824,1.00000"
],
"orientation" : {
"start" : {
"x" : 0.5,
"y" : 0
},
"stop" : {
"x" : 0.5,
"y" : 0.7
}
}
},
"groups" : [
{
"layers" : [
{
"image-name" : "Nextcloud-logo-white.svg",
"name" : "Nextcloud-logo-white",
"position" : {
"scale" : 6.8,
"translation-in-points" : [
0,
0
]
}
}
],
"shadow" : {
"kind" : "neutral",
"opacity" : 0.5
},
"translucency" : {
"enabled" : true,
"value" : 0.5
}
}
],
"supported-platforms" : {
"circles" : [
"watchOS"
],
"squares" : "shared"
}
}
-287
View File
@@ -1,287 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
<g
id="squircle-shadow"
opacity="0.55"
style="filter:url(#squircle-shadow-filter)"
>
<use
id="fill"
xlink:href="#squircle-path"
fill="black"
/>
</g>
<use
id="squircle-figure"
xlink:href="#squircle-path"
fill="url(#squircle-gradient)"
/>
<g
id="squircle-top-edge-figure"
mask="url(#squircle-mask)"
opacity="0.40"
style="filter:url(#squircle-top-edge-filter)"
>
<rect
id="fill"
mask="url(#squircle-edge-mask)"
width="100%"
height="100%"
fill="white"
/>
</g>
<g
id="squircle-bottom-edge-figure"
mask="url(#squircle-mask)"
opacity="0.40"
style="filter:url(#squircle-bottom-edge-filter)"
>
<rect
id="fill"
mask="url(#squircle-edge-mask)"
width="100%"
height="100%"
fill="black"
/>
</g>
<g
id="logo-shadow"
opacity="0.40"
style="filter:url(#logo-shadow-filter)"
>
<rect
id="fill"
mask="url(#logo-mask)"
width="100%"
height="100%"
fill="black"
/>
</g>
<g
id="logo-figure"
mask="url(#logo-mask)"
>
<rect
id="fill"
width="100%"
height="100%"
fill="white"
/>
</g>
<g
id="logo-top-edge-figure"
mask="url(#logo-mask)"
opacity="0.20"
style="filter:url(#logo-top-edge-filter)"
>
<rect
id="fill"
mask="url(#logo-edge-mask)"
width="100%"
height="100%"
fill="black"
/>
</g>
<g
id="logo-bottom-edge-figure"
mask="url(#logo-mask)"
opacity="0.40"
style="filter:url(#logo-bottom-edge-filter)"
>
<rect
id="fill"
mask="url(#logo-edge-mask)"
width="100%"
height="100%"
fill="black"
/>
</g>
<defs>
<path
id="squircle-path"
d="M468.997,100L357.361,100.406C347.554,100.406 337.747,100.402 327.94,100.462C319.678,100.514 311.421,100.607 303.161,100.83C285.167,101.315 267.014,102.373 249.217,105.565C231.164,108.801 214.36,114.085 197.959,122.414C181.835,130.602 167.082,141.297 154.291,154.057C141.501,166.816 130.78,181.53 122.573,197.609C114.217,213.98 108.919,230.752 105.673,248.771C102.477,266.517 101.418,284.618 100.931,302.563C100.709,310.8 100.613,319.039 100.563,327.279C100.503,337.063 100,349.216 100,358.999L100,554.998L100.508,667.427C100.508,677.223 100.504,687.019 100.563,696.815C100.613,705.067 100.709,713.317 100.932,721.566C101.418,739.542 102.479,757.675 105.678,775.452C108.923,793.485 114.22,810.27 122.569,826.653C130.777,842.759 141.5,857.495 154.291,870.272C167.081,883.049 181.831,893.757 197.951,901.956C214.362,910.302 231.174,915.595 249.238,918.836C267.026,922.029 285.174,923.087 303.161,923.574C311.421,923.796 319.679,923.891 327.941,923.941C337.748,924 347.554,924 357.361,924L667.643,924C677.432,924 687.219,924 697.008,923.941C705.253,923.891 713.495,923.796 721.738,923.574C739.698,923.087 757.816,922.027 775.579,918.832C793.597,915.59 810.367,910.299 826.738,901.959C842.83,893.761 857.555,883.051 870.321,870.272C883.086,857.497 893.786,842.763 901.978,826.661C910.317,810.269 915.603,793.476 918.843,775.431C922.034,757.66 923.092,739.534 923.577,721.566C923.8,713.316 923.894,705.066 923.945,696.815C924,687.019 924,677.223 924,667.427L924,356.627C924,346.845 924,337.062 923.945,327.279C923.894,319.038 923.8,310.799 923.576,302.563C923.092,284.609 922.033,266.502 918.84,248.75C915.602,230.74 910.314,213.979 901.982,197.616C893.789,181.533 883.088,166.817 870.321,154.057C857.556,141.299 842.834,130.605 826.746,122.418C810.365,114.083 793.587,108.797 775.558,105.56C757.803,102.372 739.691,101.315 721.738,100.83C713.495,100.607 705.253,100.514 697.008,100.462C687.219,100.402 677.432,100.406 667.643,100.406L553.997,100L468.997,100Z"
/>
<mask
id="squircle-mask"
>
<use
xlink:href="#squircle-path"
fill= "white"
/>
</mask>
<linearGradient
id="squircle-gradient"
gradientTransform="rotate(90)"
>
<stop
offset="0%"
stop-color="#1CB3FF"
/>
<stop
offset="100%"
stop-color="#0088CC"
/>
</linearGradient>
<filter
id="squircle-shadow-filter"
>
<feOffset
result="offOut"
in="SourceGraphic"
dx="0"
dy="10"
/>
<feGaussianBlur
result="blurOut"
in="offOut"
stdDeviation="10"
/>
<feBlend
in="SourceGraphic"
in2="blurOut"
mode="normal"
/>
</filter>
<mask
id="squircle-edge-mask"
>
<rect
id="fill"
width="100%"
height="100%"
fill="white"
/>
<use
xlink:href="#squircle-path"
fill= "black"
/>
</mask>
<filter
id="squircle-top-edge-filter"
>
<feOffset
result="offOut"
in="SourceGraphic"
dx="0"
dy="4"
/>
<feGaussianBlur
result="blurOut"
in="offOut"
stdDeviation="4"
/>
<feBlend
in="SourceGraphic"
in2="blurOut"
mode="normal"
/>
</filter>
<filter
id="squircle-bottom-edge-filter"
>
<feOffset
result="offOut"
in="SourceGraphic"
dx="0"
dy="-4"
/>
<feGaussianBlur
result="blurOut"
in="offOut"
stdDeviation="4"
/>
<feBlend
in="SourceGraphic"
in2="blurOut"
mode="normal"
/>
</filter>
<mask
id="logo-mask"
>
<circle cx="292" cy="512" r="100" fill="white" />
<circle cx="512" cy="512" r="152.5" fill="white" />
<circle cx="732" cy="512" r="100" fill="white" />
<circle cx="292" cy="512" r="40" fill="black" />
<circle cx="512" cy="512" r="92.5" fill="black" />
<circle cx="732" cy="512" r="40" fill="black" />
</mask>
<filter
id="logo-shadow-filter"
>
<feOffset
result="offOut"
in="SourceGraphic"
dx="0"
dy="10"
/>
<feGaussianBlur
result="blurOut"
in="offOut"
stdDeviation="10"
/>
<feBlend
in="SourceGraphic"
in2="blurOut"
mode="normal"
/>
</filter>
<mask
id="logo-edge-mask"
>
<rect
id="fill"
width="100%"
height="100%"
fill="white"
/>
<circle cx="292" cy="512" r="100" fill="black" />
<circle cx="512" cy="512" r="152.5" fill="black" />
<circle cx="732" cy="512" r="100" fill="black" />
<circle cx="292" cy="512" r="40" fill="white" />
<circle cx="512" cy="512" r="92.5" fill="white" />
<circle cx="732" cy="512" r="40" fill="white" />
</mask>
<filter
id="logo-top-edge-filter"
>
<feOffset
result="offOut"
in="SourceGraphic"
dx="0"
dy="2"
/>
<feGaussianBlur
result="blurOut"
in="offOut"
stdDeviation="2"
/>
<feBlend
in="SourceGraphic"
in2="blurOut"
mode="normal"
/>
</filter>
<filter
id="logo-bottom-edge-filter"
>
<feOffset
result="offOut"
in="SourceGraphic"
dx="0"
dy="-2"
/>
<feGaussianBlur
result="blurOut"
in="offOut"
stdDeviation="2"
/>
<feBlend
in="SourceGraphic"
in2="blurOut"
mode="normal"
/>
</filter>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 9.2 KiB

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 128 128" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="none" stroke="black" stroke-width="7px">
<circle id="right" cx="102.5" cy="64" r="14"/>
<circle id="center" cx="64" cy="64" r="24.5"/>
<circle id="left" cx="25.5" cy="64" r="14"/>
</svg>

Before

Width:  |  Height:  |  Size: 461 B