update icon name

This commit is contained in:
daria 2025-08-19 17:13:56 +03:00
parent 3fe4d4e133
commit cdb5e93a6c
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701
7 changed files with 12 additions and 12 deletions

View File

@ -194,24 +194,24 @@ const factory = () => {
// Customize the icon used for each application.
// You can update the colors by making a copy of /customize.dist/src/less2/include/colortheme.less
AppConfig.applicationsIcon = {
file: 'drive-file',
file: 'file',
fileupload: 'drive-upload-file',
folderupload: 'drive-upload-folder',
link: 'link',
pad: 'pad',
code: 'drive-file',
code: 'file',
slide: 'slide',
poll: 'poll',
form: 'form',
whiteboard: 'whiteboard',
diagram: 'diagram',
todo: 'drive-file',
todo: 'file',
contacts: 'contacts',
calendar: 'calendar',
kanban: 'kanban',
doc: 'doc',
presentation: 'presentation',
sheet: 'drive-file',
sheet: 'file',
drive: 'drive',
teams: 'teams',
admin: 'administration',

View File

@ -11,7 +11,7 @@ define([
"drive-shared-folder": "folder-git-2", // XXX change icon
"drive-upload-file": "file-up",
"drive-upload-folder": "folder-up",
"drive-file": "file", // change name
"file": "file", // change name
"drive-recent": "clock",
"drive-owned-document": "id-card",
"drive-password-document": "file-lock",

View File

@ -1206,7 +1206,7 @@ define([
};
UI.getNewIcon = function (type) {
var icon = Icons.get('drive-file');
var icon = Icons.get('file');
if (AppConfig.applicationsIcon && AppConfig.applicationsIcon[type]) {
icon = AppConfig.applicationsIcon[type];
@ -1219,7 +1219,7 @@ define([
return icon;
};
var $defaultIcon = $(Icons.get('drive-file'));
var $defaultIcon = $(Icons.get('file'));
UI.getIcon = function (type) {
var $icon = $defaultIcon.clone();

View File

@ -3019,7 +3019,7 @@ define([
name: fromFileData.title,
id: 0,
thumbnail: thumbnail,
icon: Icons.get('drive-file'),// XXX
icon: Icons.get('file'),// XXX
}];
redraw(0);
};

View File

@ -3298,7 +3298,7 @@ define([
'data-type': 'file',
},
content: [
Icons.get('drive-file', {'class': 'cp-icon-color-file'}),
Icons.get('file', {'class': 'cp-icon-color-file'}),
Messages.type['file']
],
});

View File

@ -109,7 +109,7 @@ MessengerUI, Messages, Pages, PadTypes, Lucide, Icons) {
text: Messages.toolbar_file,
options: [],
common: Common,
iconCls: 'drive-file'
iconCls: 'file'
}).hide();
$drawer.addClass(FILE_CLS).appendTo($file);
$drawer.find('.cp-dropdown-content').addClass(DRAWER_CLS);

View File

@ -2123,9 +2123,9 @@ define([
drive: 'drive',
cursor: 'cursor',
code: 'code-file',
pad: 'drive-file',
pad: 'file',
security: 'lock',
kanban: 'drive-file', // XXX
kanban: 'file', // XXX
style: 'color-palette',
notifications: 'notification'
};