mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-04 08:56:59 +01:00
The sidebar header and the login page used the generic folder-remote-symbolic icon. Ship the app icon from packaging/ in the GUI resources and use it in both places, so the in-app brand matches the launcher even when the app runs uninstalled.
23 lines
1.4 KiB
XML
23 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gresources>
|
|
<!-- Icons we ship ourselves because no icon theme has them. Registered as an
|
|
icon-theme resource path at startup, so they resolve by name (and recolour
|
|
with the theme) exactly like a stock symbolic icon. -->
|
|
<gresource prefix="/de/nils/protondrivelinux/icons">
|
|
<file preprocess="xml-stripblanks">scalable/actions/pdfs-build-thumbnails-symbolic.svg</file>
|
|
<file preprocess="xml-stripblanks">scalable/actions/pdfs-folder-upload-symbolic.svg</file>
|
|
<file preprocess="xml-stripblanks">scalable/actions/pdfs-upload-symbolic.svg</file>
|
|
<file preprocess="xml-stripblanks">scalable/actions/pdfs-offline-symbolic.svg</file>
|
|
<file preprocess="xml-stripblanks">scalable/actions/pdfs-online-only-symbolic.svg</file>
|
|
<!-- The app icon, from the one file packaging installs, so the in-app brand
|
|
matches the launcher and resolves even when nothing is installed. -->
|
|
<file alias="scalable/apps/io.narl.proton-drive-linux.svg" preprocess="xml-stripblanks">../../../packaging/io.narl.proton-drive-linux.svg</file>
|
|
</gresource>
|
|
<!-- The app stylesheet, loaded once at startup. Colours come from the
|
|
libadwaita palette so the app follows the system accent, light/dark and
|
|
high contrast; the Proton purple accent is a separate, opt-in provider. -->
|
|
<gresource prefix="/de/nils/protondrivelinux">
|
|
<file>style.css</file>
|
|
</gresource>
|
|
</gresources>
|