openkylin-theme/icons
likehomedream 9938c08473 add some icons 2023-11-21 17:26:03 +08:00
..
cursors 同步平板改动 2023-04-12 14:41:28 +08:00
ukui-icon-theme-classical add some icons 2023-11-21 17:26:03 +08:00
ukui-icon-theme-default add some icons 2023-11-21 17:26:03 +08:00
ukui-icon-theme-fashion add some icons 2023-11-21 17:26:03 +08:00
README.md update 2022-07-17 22:09:36 +08:00
build.sh Update 2023-03-17 13:48:47 +08:00
check.sh 同步平板改动 2023-04-12 14:41:28 +08:00
meson.build 同步平板改动 2023-04-12 14:41:28 +08:00

README.md

第三方图标规范:

根据freedesktop中描述

In order to have a place for third party applications to install their icons there should always exist a theme called "hicolor".

为了给第三方应用程序提供一个安装图标的位置应该始终存在一个名为“hicolor”的主题。

根据freedesktop的继承关系中描述

If no theme is specified implementations are required to add the "hicolor" theme to the inheritance tree.

如果没有指定主题,则要求实现者将 "hicolor "主题添加到继承树中。当我们的自研应用存在于其他桌面环境时,应作为第三方应用>将我们的图标应该放在hicolor主题里。

So, you're an application author, and want to install application icons so that they work in the KDE and Gnome menus. Minimally you should install a 48x48 icon in the hicolor theme. This means installing a PNG file in $prefix/share/icons/hicolor/48x48/apps.

作为应用程序的开发者为了在当前桌面环境菜单中正常显示我们至少需要在hicolor中安装48x48尺寸的图标。$prefix/share/icons/hicolor/48x48/apps。为了更好的将图标显示规避显示模糊的风险以及表达我们的设计语言请将svg图标安装在$prefix/share/icons/hicolor/scalable/ 下。程序内所需要的其他图标以及线性图标同样的根据设计提供的图标尺寸放在hicolor中 相应的尺寸目录下。

freedesktop规范原文链接https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#icon_lookup