From: Shannon Sterz <s.sterz@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager 6/9] ui: use svg version of xterm.js logo instead of a png
Date: Tue, 26 Aug 2025 16:58:33 +0200 [thread overview]
Message-ID: <20250826145836.302748-7-s.sterz@proxmox.com> (raw)
In-Reply-To: <20250826145836.302748-1-s.sterz@proxmox.com>
this allows the icon to look sharp on high-res monitors.
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
www/css/ext6-pve.css | 3 ++-
www/images/Makefile | 6 +++---
www/images/xtermjs.png | Bin 729 -> 0 bytes
www/images/xtermjs.svg | 11 +++++++++++
4 files changed, 16 insertions(+), 4 deletions(-)
delete mode 100644 www/images/xtermjs.png
create mode 100644 www/images/xtermjs.svg
diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index b45f1b42b..8ae477ed3 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -392,7 +392,8 @@
}
.pve-itype-icon-xtermjs {
- background-image: url(../images/xtermjs.png);
+ background-size: 16px;
+ background-image: url(../images/xtermjs.svg);
}
.pve-itype-icon-usb {
diff --git a/www/images/Makefile b/www/images/Makefile
index 0fa6177ac..87cda5204 100644
--- a/www/images/Makefile
+++ b/www/images/Makefile
@@ -30,8 +30,8 @@ all:
# ceph logos are from
# http://ceph.com/logos/
-# xtermjs.png is a cropped version of the logo found on
-# https://github.com/xtermjs/xterm.js
+# xtermjs.svg was copied from the xtermjs-branding sources:
+# https://github.com/xtermjs/xtermjs-branding/blob/master/logo.svg
GNOME_IMAGES = \
checked.png \
@@ -54,7 +54,7 @@ IMAGES = $(GNOME_IMAGES) \
tigervnc.png \
virt-viewer.svg \
novnc.svg \
- xtermjs.png \
+ xtermjs.svg \
favicon.ico \
snapshot.png \
computer-on.png \
diff --git a/www/images/xtermjs.png b/www/images/xtermjs.png
deleted file mode 100644
index b999d36d3c40a2805b90f8939cb3d4cd3585eb55..0000000000000000000000000000000000000000
GIT binary patch
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/images/xtermjs.svg
@@ -0,0 +1,11 @@
+<?xml version="1.0" standalone="yes"?>
+<svg width="140" height="140" viewBox="0 0 140 140" version="1.1" xmlns="http://www.w3.org/2000/svg">
+ <mask id="mask">
+ <rect x="0" y="0" width="100%" height="100%" fill="white"/>
+ <path d="m10 0 l30 0 l50 60 l-50 60 l-30 0 l50 -60"/>
+ </mask>
+ <g transform="translate(5,10)">
+ <path d="m130 0 l-30 0 l-50 60 l50 60 l30 0 l-50 -60" fill="#5DA5D5" mask="url(#mask)"/>
+ <path d="m0 0 l30 0 l50 60 l-50 60 l-30 0 l50 -60" fill="#2D2E2C"/>
+ </g>
+</svg>
--
2.47.2
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-08-26 14:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-26 14:58 [pve-devel] [PATCH manager 0/9] remove all blurry icons Shannon Sterz
2025-08-26 14:58 ` [pve-devel] [PATCH manager 1/9] fix #6599: ui: use font-awesome hdd icon instead of png Shannon Sterz
2025-08-26 14:58 ` [pve-devel] [PATCH manager 2/9] ui: remove all occurences of icon-display.png Shannon Sterz
2025-08-26 14:58 ` [pve-devel] [PATCH manager 3/9] ui: replace the gif spinner from extjs with an svg Shannon Sterz
2025-08-26 14:58 ` [pve-devel] [PATCH manager 4/9] ui: use svg version of the noVnc icon Shannon Sterz
2025-08-26 14:58 ` [pve-devel] [PATCH manager 5/9] ui: use svg version of the virt viewer icon Shannon Sterz
2025-08-26 14:58 ` Shannon Sterz [this message]
2025-08-26 14:58 ` [pve-devel] [PATCH manager 7/9] ui: use the svg version for the cd icon in a storage's treelist Shannon Sterz
2025-08-26 14:58 ` [pve-devel] [PATCH manager 8/9] ui: replace the ceph logo png with an svg version Shannon Sterz
2025-08-26 14:58 ` [pve-devel] [PATCH manager 9/9] ui: remove unused png icons and their asset files Shannon Sterz
2025-08-26 15:04 ` [pve-devel] [PATCH manager 0/9] remove all blurry icons Shannon Sterz
2025-08-28 21:45 ` Thomas Lamprecht
2025-08-29 9:26 ` Shannon Sterz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250826145836.302748-7-s.sterz@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.