mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 18:06:55 +00:00
This is a maintenance commit with no released build.
* Added: `npm run font` command for editing the Fontello icon font. Use it to get started, then start the development server with `npm start` and changes will automatically save when you click `Export Font` from Fontello. * Changed: The list of Fontello icons is now extracted from our Fontello config file so that it doesn't have to be manually updated.
This commit is contained in:
parent
1c0f7edab5
commit
38c87840af
23 changed files with 1502 additions and 166 deletions
|
@ -75,88 +75,9 @@
|
|||
let id = 0;
|
||||
|
||||
import {escape_regex, deep_copy, debounce} from 'utilities/object';
|
||||
import {load, ICONS as FA_ICONS, ALIASES as FA_ALIASES} from 'utilities/font-awesome';
|
||||
import { maybeLoad } from '../utilities/font-awesome';
|
||||
import {load, maybeLoad, ICONS as FA_ICONS, ALIASES as FA_ALIASES} from 'utilities/font-awesome';
|
||||
|
||||
const FFZ_ICONS = [
|
||||
'cancel',
|
||||
'zreknarf',
|
||||
'search',
|
||||
'clock',
|
||||
'star',
|
||||
'star-empty',
|
||||
'down-dir',
|
||||
'right-dir',
|
||||
'attention',
|
||||
'ok',
|
||||
'cog',
|
||||
'plus',
|
||||
'folder-open',
|
||||
'download',
|
||||
'upload',
|
||||
'floppy',
|
||||
'crown',
|
||||
'verified',
|
||||
'heart',
|
||||
'heart-empty',
|
||||
'tag',
|
||||
'tags',
|
||||
'retweet',
|
||||
'thumbs-up',
|
||||
'thumbs-down',
|
||||
'bell',
|
||||
'pencil',
|
||||
'info',
|
||||
'help',
|
||||
'calendar',
|
||||
'left-dir',
|
||||
'inventory',
|
||||
'lock',
|
||||
'lock-open',
|
||||
'arrows-cw',
|
||||
'ignore',
|
||||
'block',
|
||||
'pin',
|
||||
'pin-outline',
|
||||
'gift',
|
||||
'discord',
|
||||
'eye',
|
||||
'eye-off',
|
||||
'views',
|
||||
'conversations',
|
||||
'channels',
|
||||
'camera',
|
||||
'cw',
|
||||
'up-dir',
|
||||
'up-big',
|
||||
'play',
|
||||
'user',
|
||||
'clip',
|
||||
'link-ext',
|
||||
'twitter',
|
||||
'github',
|
||||
'sort-down',
|
||||
'sort-up',
|
||||
'gauge',
|
||||
'download-cloud',
|
||||
'upload-cloud',
|
||||
'smile',
|
||||
'keyboard',
|
||||
'calendar-empty',
|
||||
'ellipsis-vert',
|
||||
'sort-alt-up',
|
||||
'sort-alt-down',
|
||||
'language',
|
||||
'twitch',
|
||||
'bell-off',
|
||||
'trash',
|
||||
'eyedropper',
|
||||
'user-secret',
|
||||
'window-maximize',
|
||||
'window-minimize',
|
||||
'window-restore',
|
||||
'window-close'
|
||||
];
|
||||
import FFZ_ICONS from 'utilities/ffz-icons';
|
||||
|
||||
const FFZ_ALIASES = {
|
||||
'block': ['ban', 'block'],
|
||||
|
|
84
src/utilities/ffz-icons.js
Normal file
84
src/utilities/ffz-icons.js
Normal file
|
@ -0,0 +1,84 @@
|
|||
'use strict';
|
||||
// This is a generated file. To update it, please run: npm run font:update
|
||||
/* eslint quotes: 0 */
|
||||
|
||||
export default [
|
||||
"window-minimize",
|
||||
"window-maximize",
|
||||
"cancel",
|
||||
"zreknarf",
|
||||
"search",
|
||||
"window-close",
|
||||
"window-restore",
|
||||
"clock",
|
||||
"star",
|
||||
"star-empty",
|
||||
"twitch",
|
||||
"twitter",
|
||||
"down-dir",
|
||||
"right-dir",
|
||||
"keyboard",
|
||||
"attention",
|
||||
"ok",
|
||||
"cog",
|
||||
"plus",
|
||||
"ellipsis-vert",
|
||||
"trash",
|
||||
"folder-open",
|
||||
"download",
|
||||
"upload",
|
||||
"download-cloud",
|
||||
"upload-cloud",
|
||||
"floppy",
|
||||
"gauge",
|
||||
"crown",
|
||||
"verified",
|
||||
"heart",
|
||||
"heart-empty",
|
||||
"tag",
|
||||
"tags",
|
||||
"retweet",
|
||||
"thumbs-up",
|
||||
"thumbs-down",
|
||||
"bell",
|
||||
"bell-off",
|
||||
"pencil",
|
||||
"info",
|
||||
"help",
|
||||
"calendar",
|
||||
"calendar-empty",
|
||||
"left-dir",
|
||||
"inventory",
|
||||
"lock",
|
||||
"lock-open",
|
||||
"arrows-cw",
|
||||
"ignore",
|
||||
"block",
|
||||
"pin",
|
||||
"pin-outline",
|
||||
"gift",
|
||||
"link-ext",
|
||||
"eyedropper",
|
||||
"eye",
|
||||
"eye-off",
|
||||
"discord",
|
||||
"views",
|
||||
"conversations",
|
||||
"user-secret",
|
||||
"github",
|
||||
"channels",
|
||||
"camera",
|
||||
"smile",
|
||||
"cw",
|
||||
"up-dir",
|
||||
"up-big",
|
||||
"play",
|
||||
"language",
|
||||
"sort-up",
|
||||
"sort-down",
|
||||
"sort-alt-up",
|
||||
"sort-alt-down",
|
||||
"user",
|
||||
"clip",
|
||||
"youtube-play"
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue