Skip to content

Commit 7fdf568

Browse files
authored
MacOS 26 app icon for Live-Preview (#9442)
MacOS 26 introduced Liquid Glass and a change to app icons. They now require a background, and to support 'default', 'dark' and 'transparent' variants. Apple Icon Composer was used to create a new icon, then exported to Xcode which builds the file into a *.icns file. This shows a default icon on systems older OS's and a correct looking and behaving icon on the latest OS.
1 parent 3294619 commit 7fdf568

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

REUSE.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ path = [
2020
"docs/astro/public/favicon-32x32.png",
2121
"docs/astro/public/favicon.ico",
2222
"docs/astro/src/content/docs/reference/elements/slint-logo.png",
23+
"logo/slint-logo.icns",
2324
]
2425
precedence = "aggregate"
2526
SPDX-FileCopyrightText = "Copyright © SixtyFPS GmbH <[email protected]>"

logo/slint-logo.icns

41.2 KB
Binary file not shown.

tools/lsp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ keywords = ["lsp", "ui", "toolkit"]
1616

1717
[package.metadata.bundle]
1818
name = "Slint Live Preview"
19-
icon = ["../../logo/slint-logo-small-light.png"]
19+
icon = ["../../logo/slint-logo.icns"]
2020

2121
[[bin]]
2222
name = "slint-lsp"

xtask/src/license_headers_check.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ static LICENSE_LOCATION_FOR_FILE: LazyLock<Vec<(regex::Regex, LicenseLocation)>>
506506
("\\.css$", LicenseLocation::NoLicense),
507507
("\\.gitattributes$", LicenseLocation::NoLicense),
508508
("\\.gitignore$", LicenseLocation::NoLicense),
509+
("\\.icns$", LicenseLocation::NoLicense),
509510
("\\.ico$", LicenseLocation::NoLicense),
510511
("\\.vscodeignore$", LicenseLocation::NoLicense),
511512
("\\.dockerignore$", LicenseLocation::NoLicense),

0 commit comments

Comments
 (0)