From ae58042e6ba48498b3da6b0b007a3b0264630c04 Mon Sep 17 00:00:00 2001 From: loki5512344 Date: Sun, 25 Oct 2026 10:25:47 +0100 Subject: [PATCH] feat(client): bundle the Lucide icon set Adds the SVG icons used by the interface (ISC license, partly MIT) with the upstream license file and a third-party notice in docs/THIRD_PARTY.md. --- docs/THIRD_PARTY.md | 23 +++++++--- src/ui/slint/assets/icons/LICENSE | 43 +++++++++++++++++++ src/ui/slint/assets/icons/at-sign.svg | 16 +++++++ src/ui/slint/assets/icons/audio-lines.svg | 20 +++++++++ src/ui/slint/assets/icons/ban.svg | 16 +++++++ src/ui/slint/assets/icons/bell.svg | 16 +++++++ src/ui/slint/assets/icons/check.svg | 15 +++++++ src/ui/slint/assets/icons/chevron-down.svg | 15 +++++++ src/ui/slint/assets/icons/circle.svg | 15 +++++++ .../slint/assets/icons/corner-down-right.svg | 16 +++++++ src/ui/slint/assets/icons/hash.svg | 18 ++++++++ src/ui/slint/assets/icons/headphone-off.svg | 19 ++++++++ src/ui/slint/assets/icons/headphones.svg | 15 +++++++ src/ui/slint/assets/icons/house.svg | 16 +++++++ src/ui/slint/assets/icons/image.svg | 17 ++++++++ src/ui/slint/assets/icons/key-round.svg | 16 +++++++ src/ui/slint/assets/icons/log-out.svg | 17 ++++++++ src/ui/slint/assets/icons/mic-off.svg | 20 +++++++++ src/ui/slint/assets/icons/mic.svg | 17 ++++++++ src/ui/slint/assets/icons/minus.svg | 15 +++++++ src/ui/slint/assets/icons/monitor.svg | 17 ++++++++ src/ui/slint/assets/icons/palette.svg | 19 ++++++++ src/ui/slint/assets/icons/pencil.svg | 16 +++++++ src/ui/slint/assets/icons/phone-off.svg | 17 ++++++++ src/ui/slint/assets/icons/pin.svg | 16 +++++++ src/ui/slint/assets/icons/plus.svg | 16 +++++++ src/ui/slint/assets/icons/reply.svg | 16 +++++++ src/ui/slint/assets/icons/screen-share.svg | 19 ++++++++ src/ui/slint/assets/icons/search.svg | 16 +++++++ src/ui/slint/assets/icons/send.svg | 16 +++++++ src/ui/slint/assets/icons/settings.svg | 16 +++++++ src/ui/slint/assets/icons/shield-check.svg | 16 +++++++ src/ui/slint/assets/icons/smile-plus.svg | 20 +++++++++ src/ui/slint/assets/icons/smile.svg | 18 ++++++++ src/ui/slint/assets/icons/trash-2.svg | 19 ++++++++ src/ui/slint/assets/icons/user-plus.svg | 18 ++++++++ src/ui/slint/assets/icons/user.svg | 16 +++++++ src/ui/slint/assets/icons/users.svg | 18 ++++++++ src/ui/slint/assets/icons/volume-2.svg | 17 ++++++++ src/ui/slint/assets/icons/webhook.svg | 17 ++++++++ src/ui/slint/assets/icons/x.svg | 16 +++++++ 41 files changed, 719 insertions(+), 5 deletions(-) create mode 100644 src/ui/slint/assets/icons/LICENSE create mode 100644 src/ui/slint/assets/icons/at-sign.svg create mode 100644 src/ui/slint/assets/icons/audio-lines.svg create mode 100644 src/ui/slint/assets/icons/ban.svg create mode 100644 src/ui/slint/assets/icons/bell.svg create mode 100644 src/ui/slint/assets/icons/check.svg create mode 100644 src/ui/slint/assets/icons/chevron-down.svg create mode 100644 src/ui/slint/assets/icons/circle.svg create mode 100644 src/ui/slint/assets/icons/corner-down-right.svg create mode 100644 src/ui/slint/assets/icons/hash.svg create mode 100644 src/ui/slint/assets/icons/headphone-off.svg create mode 100644 src/ui/slint/assets/icons/headphones.svg create mode 100644 src/ui/slint/assets/icons/house.svg create mode 100644 src/ui/slint/assets/icons/image.svg create mode 100644 src/ui/slint/assets/icons/key-round.svg create mode 100644 src/ui/slint/assets/icons/log-out.svg create mode 100644 src/ui/slint/assets/icons/mic-off.svg create mode 100644 src/ui/slint/assets/icons/mic.svg create mode 100644 src/ui/slint/assets/icons/minus.svg create mode 100644 src/ui/slint/assets/icons/monitor.svg create mode 100644 src/ui/slint/assets/icons/palette.svg create mode 100644 src/ui/slint/assets/icons/pencil.svg create mode 100644 src/ui/slint/assets/icons/phone-off.svg create mode 100644 src/ui/slint/assets/icons/pin.svg create mode 100644 src/ui/slint/assets/icons/plus.svg create mode 100644 src/ui/slint/assets/icons/reply.svg create mode 100644 src/ui/slint/assets/icons/screen-share.svg create mode 100644 src/ui/slint/assets/icons/search.svg create mode 100644 src/ui/slint/assets/icons/send.svg create mode 100644 src/ui/slint/assets/icons/settings.svg create mode 100644 src/ui/slint/assets/icons/shield-check.svg create mode 100644 src/ui/slint/assets/icons/smile-plus.svg create mode 100644 src/ui/slint/assets/icons/smile.svg create mode 100644 src/ui/slint/assets/icons/trash-2.svg create mode 100644 src/ui/slint/assets/icons/user-plus.svg create mode 100644 src/ui/slint/assets/icons/user.svg create mode 100644 src/ui/slint/assets/icons/users.svg create mode 100644 src/ui/slint/assets/icons/volume-2.svg create mode 100644 src/ui/slint/assets/icons/webhook.svg create mode 100644 src/ui/slint/assets/icons/x.svg diff --git a/docs/THIRD_PARTY.md b/docs/THIRD_PARTY.md index 03362d8..ba8535c 100644 --- a/docs/THIRD_PARTY.md +++ b/docs/THIRD_PARTY.md @@ -1,4 +1,21 @@ -# Third-party material +# Third-party assets + +The desktop client bundles two sets of third-party artwork and generates its own notification sounds. The artwork licenses permit redistribution inside a GPL-3.0 application as long as the notices below are kept. + +## Lucide icons (ISC, partly MIT) + +- Source: [Lucide](https://lucide.dev), package `lucide-static` 1.61.0. +- License: ISC, with the icons derived from Feather under the MIT license. The full text is in `src/ui/slint/assets/icons/LICENSE` (copied unchanged from the package). +- Files: `src/ui/slint/assets/icons/*.svg`. The only modification is replacing `currentColor` with black, so that Slint can tint the icon with `colorize` using the active theme colour. +- Use: `Symbol` in `src/ui/slint/theme.slint` selects an icon by name and `ActionButton` uses it for its `icon` property. To add an icon, copy the SVG from the Lucide package, replace `currentColor` with `#000000` and add its name to the `Symbol` list. + +## Noto Emoji images (Apache-2.0) + +- Source: Google Noto Emoji artwork as published in the npm package `emoji-datasource-google` 16.0.0 (`img/google/64`). The package code is MIT; the images are Google's Noto Emoji artwork, licensed under the Apache License 2.0. +- License: Apache License 2.0, full text in `src/ui/slint/assets/emoji/LICENSE`. +- Files: `src/ui/slint/assets/emoji/*.png` (a subset of about 190 emoji in 64 px), `src/ui/emoji/catalog.tsv` (categories and English and Russian search keywords) and `src/ui/emoji/images.rs` (the list of embedded files). +- Why images: Slint's renderers cannot rely on a colour emoji font being installed, so emoji in the picker and in reaction chips are drawn from these images. +- No modifications were made to the images. ## Notification sounds @@ -6,7 +23,3 @@ The notification sounds are not recordings. They are generated at runtime by `src/audio/sounds/synth.rs` (sine tones with two quiet harmonics, a short attack, an exponential decay and a fade-out). No third-party audio files, samples or presets are bundled, so they carry no extra attribution or licence: they are part of VNOX-Client under GPL-3.0. - -## Interface icons - -Icon sets and their licences (Lucide, ISC) are documented with the icon assets. diff --git a/src/ui/slint/assets/icons/LICENSE b/src/ui/slint/assets/icons/LICENSE new file mode 100644 index 0000000..718bb3f --- /dev/null +++ b/src/ui/slint/assets/icons/LICENSE @@ -0,0 +1,43 @@ +ISC License + +Copyright (c) 2026 Lucide Icons and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +--- + +The following Lucide icons are derived from the Feather project: + +airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out + +The MIT License (MIT) (for the icons listed above) + +Copyright (c) 2013-present Cole Bemis + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/ui/slint/assets/icons/at-sign.svg b/src/ui/slint/assets/icons/at-sign.svg new file mode 100644 index 0000000..fdd513d --- /dev/null +++ b/src/ui/slint/assets/icons/at-sign.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/audio-lines.svg b/src/ui/slint/assets/icons/audio-lines.svg new file mode 100644 index 0000000..1db0c53 --- /dev/null +++ b/src/ui/slint/assets/icons/audio-lines.svg @@ -0,0 +1,20 @@ + + + + + + + + + diff --git a/src/ui/slint/assets/icons/ban.svg b/src/ui/slint/assets/icons/ban.svg new file mode 100644 index 0000000..46cbb2c --- /dev/null +++ b/src/ui/slint/assets/icons/ban.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/bell.svg b/src/ui/slint/assets/icons/bell.svg new file mode 100644 index 0000000..aa91a2c --- /dev/null +++ b/src/ui/slint/assets/icons/bell.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/check.svg b/src/ui/slint/assets/icons/check.svg new file mode 100644 index 0000000..38fa0cc --- /dev/null +++ b/src/ui/slint/assets/icons/check.svg @@ -0,0 +1,15 @@ + + + + diff --git a/src/ui/slint/assets/icons/chevron-down.svg b/src/ui/slint/assets/icons/chevron-down.svg new file mode 100644 index 0000000..a8a6b5d --- /dev/null +++ b/src/ui/slint/assets/icons/chevron-down.svg @@ -0,0 +1,15 @@ + + + + diff --git a/src/ui/slint/assets/icons/circle.svg b/src/ui/slint/assets/icons/circle.svg new file mode 100644 index 0000000..4fd52d3 --- /dev/null +++ b/src/ui/slint/assets/icons/circle.svg @@ -0,0 +1,15 @@ + + + + diff --git a/src/ui/slint/assets/icons/corner-down-right.svg b/src/ui/slint/assets/icons/corner-down-right.svg new file mode 100644 index 0000000..fcd9091 --- /dev/null +++ b/src/ui/slint/assets/icons/corner-down-right.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/hash.svg b/src/ui/slint/assets/icons/hash.svg new file mode 100644 index 0000000..b8902b0 --- /dev/null +++ b/src/ui/slint/assets/icons/hash.svg @@ -0,0 +1,18 @@ + + + + + + + diff --git a/src/ui/slint/assets/icons/headphone-off.svg b/src/ui/slint/assets/icons/headphone-off.svg new file mode 100644 index 0000000..0525b1b --- /dev/null +++ b/src/ui/slint/assets/icons/headphone-off.svg @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/src/ui/slint/assets/icons/headphones.svg b/src/ui/slint/assets/icons/headphones.svg new file mode 100644 index 0000000..8c37ab5 --- /dev/null +++ b/src/ui/slint/assets/icons/headphones.svg @@ -0,0 +1,15 @@ + + + + diff --git a/src/ui/slint/assets/icons/house.svg b/src/ui/slint/assets/icons/house.svg new file mode 100644 index 0000000..32705ef --- /dev/null +++ b/src/ui/slint/assets/icons/house.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/image.svg b/src/ui/slint/assets/icons/image.svg new file mode 100644 index 0000000..cc6b429 --- /dev/null +++ b/src/ui/slint/assets/icons/image.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/src/ui/slint/assets/icons/key-round.svg b/src/ui/slint/assets/icons/key-round.svg new file mode 100644 index 0000000..6672612 --- /dev/null +++ b/src/ui/slint/assets/icons/key-round.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/log-out.svg b/src/ui/slint/assets/icons/log-out.svg new file mode 100644 index 0000000..d36a670 --- /dev/null +++ b/src/ui/slint/assets/icons/log-out.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/src/ui/slint/assets/icons/mic-off.svg b/src/ui/slint/assets/icons/mic-off.svg new file mode 100644 index 0000000..b1f4d20 --- /dev/null +++ b/src/ui/slint/assets/icons/mic-off.svg @@ -0,0 +1,20 @@ + + + + + + + + + diff --git a/src/ui/slint/assets/icons/mic.svg b/src/ui/slint/assets/icons/mic.svg new file mode 100644 index 0000000..0177087 --- /dev/null +++ b/src/ui/slint/assets/icons/mic.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/src/ui/slint/assets/icons/minus.svg b/src/ui/slint/assets/icons/minus.svg new file mode 100644 index 0000000..5b2110d --- /dev/null +++ b/src/ui/slint/assets/icons/minus.svg @@ -0,0 +1,15 @@ + + + + diff --git a/src/ui/slint/assets/icons/monitor.svg b/src/ui/slint/assets/icons/monitor.svg new file mode 100644 index 0000000..c6430cf --- /dev/null +++ b/src/ui/slint/assets/icons/monitor.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/src/ui/slint/assets/icons/palette.svg b/src/ui/slint/assets/icons/palette.svg new file mode 100644 index 0000000..3ee1dfd --- /dev/null +++ b/src/ui/slint/assets/icons/palette.svg @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/src/ui/slint/assets/icons/pencil.svg b/src/ui/slint/assets/icons/pencil.svg new file mode 100644 index 0000000..1c2a71b --- /dev/null +++ b/src/ui/slint/assets/icons/pencil.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/phone-off.svg b/src/ui/slint/assets/icons/phone-off.svg new file mode 100644 index 0000000..f71c35a --- /dev/null +++ b/src/ui/slint/assets/icons/phone-off.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/src/ui/slint/assets/icons/pin.svg b/src/ui/slint/assets/icons/pin.svg new file mode 100644 index 0000000..fc10661 --- /dev/null +++ b/src/ui/slint/assets/icons/pin.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/plus.svg b/src/ui/slint/assets/icons/plus.svg new file mode 100644 index 0000000..9b435a9 --- /dev/null +++ b/src/ui/slint/assets/icons/plus.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/reply.svg b/src/ui/slint/assets/icons/reply.svg new file mode 100644 index 0000000..28d571d --- /dev/null +++ b/src/ui/slint/assets/icons/reply.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/screen-share.svg b/src/ui/slint/assets/icons/screen-share.svg new file mode 100644 index 0000000..791e8f5 --- /dev/null +++ b/src/ui/slint/assets/icons/screen-share.svg @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/src/ui/slint/assets/icons/search.svg b/src/ui/slint/assets/icons/search.svg new file mode 100644 index 0000000..18a60c3 --- /dev/null +++ b/src/ui/slint/assets/icons/search.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/send.svg b/src/ui/slint/assets/icons/send.svg new file mode 100644 index 0000000..b033f22 --- /dev/null +++ b/src/ui/slint/assets/icons/send.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/settings.svg b/src/ui/slint/assets/icons/settings.svg new file mode 100644 index 0000000..446be5e --- /dev/null +++ b/src/ui/slint/assets/icons/settings.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/shield-check.svg b/src/ui/slint/assets/icons/shield-check.svg new file mode 100644 index 0000000..9e6840c --- /dev/null +++ b/src/ui/slint/assets/icons/shield-check.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/smile-plus.svg b/src/ui/slint/assets/icons/smile-plus.svg new file mode 100644 index 0000000..f167032 --- /dev/null +++ b/src/ui/slint/assets/icons/smile-plus.svg @@ -0,0 +1,20 @@ + + + + + + + + + diff --git a/src/ui/slint/assets/icons/smile.svg b/src/ui/slint/assets/icons/smile.svg new file mode 100644 index 0000000..25d77df --- /dev/null +++ b/src/ui/slint/assets/icons/smile.svg @@ -0,0 +1,18 @@ + + + + + + + diff --git a/src/ui/slint/assets/icons/trash-2.svg b/src/ui/slint/assets/icons/trash-2.svg new file mode 100644 index 0000000..9ad7f23 --- /dev/null +++ b/src/ui/slint/assets/icons/trash-2.svg @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/src/ui/slint/assets/icons/user-plus.svg b/src/ui/slint/assets/icons/user-plus.svg new file mode 100644 index 0000000..aaa4428 --- /dev/null +++ b/src/ui/slint/assets/icons/user-plus.svg @@ -0,0 +1,18 @@ + + + + + + + diff --git a/src/ui/slint/assets/icons/user.svg b/src/ui/slint/assets/icons/user.svg new file mode 100644 index 0000000..39dbf84 --- /dev/null +++ b/src/ui/slint/assets/icons/user.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/src/ui/slint/assets/icons/users.svg b/src/ui/slint/assets/icons/users.svg new file mode 100644 index 0000000..2dcf298 --- /dev/null +++ b/src/ui/slint/assets/icons/users.svg @@ -0,0 +1,18 @@ + + + + + + + diff --git a/src/ui/slint/assets/icons/volume-2.svg b/src/ui/slint/assets/icons/volume-2.svg new file mode 100644 index 0000000..72c1a23 --- /dev/null +++ b/src/ui/slint/assets/icons/volume-2.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/src/ui/slint/assets/icons/webhook.svg b/src/ui/slint/assets/icons/webhook.svg new file mode 100644 index 0000000..fdeeefd --- /dev/null +++ b/src/ui/slint/assets/icons/webhook.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/src/ui/slint/assets/icons/x.svg b/src/ui/slint/assets/icons/x.svg new file mode 100644 index 0000000..346a21a --- /dev/null +++ b/src/ui/slint/assets/icons/x.svg @@ -0,0 +1,16 @@ + + + + +