You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Desktop: Resolves #3137: Switch to Font Awesome as icon library
This commit is contained in:
@@ -52,7 +52,7 @@ pluginAssets[2] = function(theme:any) {
|
||||
|
||||
ul.joplin-checklist li::before {
|
||||
content:"\\f14a";
|
||||
font-family:ForkAwesome;
|
||||
font-family:"Font Awesome 5 Free";
|
||||
background-size: 16px 16px;
|
||||
pointer-events: all;
|
||||
cursor: pointer;
|
||||
|
||||
@@ -1085,15 +1085,15 @@ class Setting extends BaseModel {
|
||||
}
|
||||
|
||||
static sectionNameToIcon(name) {
|
||||
if (name === 'general') return 'fa-sliders';
|
||||
if (name === 'sync') return 'fa-refresh';
|
||||
if (name === 'appearance') return 'fa-pencil';
|
||||
if (name === 'note') return 'fa-file-text-o';
|
||||
if (name === 'plugins') return 'fa-puzzle-piece';
|
||||
if (name === 'application') return 'fa-cog';
|
||||
if (name === 'revisionService') return 'fa-archive-org';
|
||||
if (name === 'encryption') return 'fa-key-modern';
|
||||
if (name === 'server') return 'fa-hand-scissors-o';
|
||||
if (name === 'general') return 'fas fa-sliders-h';
|
||||
if (name === 'sync') return 'fas fa-sync-alt';
|
||||
if (name === 'appearance') return 'fas fa-pencil-alt';
|
||||
if (name === 'note') return 'far fa-file-alt';
|
||||
if (name === 'plugins') return 'fas fa-puzzle-piece';
|
||||
if (name === 'application') return 'fas fa-cog';
|
||||
if (name === 'revisionService') return 'fas fa-history';
|
||||
if (name === 'encryption') return 'fas fa-key';
|
||||
if (name === 'server') return 'far fa-hand-scissors';
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user