diff --git a/client/admin/brewCleanup/brewCleanup.jsx b/client/admin/brewCleanup/brewCleanup.jsx index b55a70bef..a166ae112 100644 --- a/client/admin/brewCleanup/brewCleanup.jsx +++ b/client/admin/brewCleanup/brewCleanup.jsx @@ -1,7 +1,6 @@ require('./brewCleanup.less'); const React = require('react'); const createClass = require('create-react-class'); -const cx = require('classnames'); const request = require('superagent'); diff --git a/client/admin/brewCompress/brewCompress.jsx b/client/admin/brewCompress/brewCompress.jsx index c12f430a2..2c8e5b023 100644 --- a/client/admin/brewCompress/brewCompress.jsx +++ b/client/admin/brewCompress/brewCompress.jsx @@ -1,7 +1,6 @@ require('./brewCompress.less'); const React = require('react'); const createClass = require('create-react-class'); -const cx = require('classnames'); const request = require('superagent'); diff --git a/client/components/combobox.jsx b/client/components/combobox.jsx index a6e699dcf..5fcc154bc 100644 --- a/client/components/combobox.jsx +++ b/client/components/combobox.jsx @@ -1,7 +1,6 @@ const React = require('react'); const createClass = require('create-react-class'); const _ = require('lodash'); -const cx = require('classnames'); require('./combobox.less'); const Combobox = createClass({ diff --git a/client/homebrew/brewRenderer/errorBar/errorBar.jsx b/client/homebrew/brewRenderer/errorBar/errorBar.jsx index dd5ec5bc2..d2f847306 100644 --- a/client/homebrew/brewRenderer/errorBar/errorBar.jsx +++ b/client/homebrew/brewRenderer/errorBar/errorBar.jsx @@ -2,7 +2,6 @@ require('./errorBar.less'); const React = require('react'); const createClass = require('create-react-class'); const _ = require('lodash'); -const cx = require('classnames'); const ErrorBar = createClass({ displayName : 'ErrorBar', diff --git a/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx b/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx index 5a870c108..6872d6c3e 100644 --- a/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx +++ b/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx @@ -2,7 +2,6 @@ require('./notificationPopup.less'); const React = require('react'); const createClass = require('create-react-class'); const _ = require('lodash'); -const cx = require('classnames'); //Unused variable const DISMISS_KEY = 'dismiss_notification12-04-23'; @@ -26,8 +25,8 @@ const NotificationPopup = createClass({ <>
  • Don't store IMAGES in Google Drive
    - Google Drive is not an image service, and will block images from being used - in brews if they get more views than expected. Google has confirmed they won't fix + Google Drive is not an image service, and will block images from being used + in brews if they get more views than expected. Google has confirmed they won't fix this, so we recommend you look for another image hosting service such as imgur, ImgBB or Google Photos.
  • diff --git a/client/homebrew/editor/metadataEditor/metadataEditor.jsx b/client/homebrew/editor/metadataEditor/metadataEditor.jsx index 074879b05..a59a50f74 100644 --- a/client/homebrew/editor/metadataEditor/metadataEditor.jsx +++ b/client/homebrew/editor/metadataEditor/metadataEditor.jsx @@ -3,7 +3,6 @@ require('./metadataEditor.less'); const React = require('react'); const createClass = require('create-react-class'); const _ = require('lodash'); -const cx = require('classnames'); const request = require('../../utils/request-middleware.js'); const Nav = require('naturalcrit/nav/nav.jsx'); const Combobox = require('client/components/combobox.jsx'); diff --git a/client/homebrew/editor/snippetbar/snippetbar.jsx b/client/homebrew/editor/snippetbar/snippetbar.jsx index 75fe0d736..80a97f49e 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.jsx +++ b/client/homebrew/editor/snippetbar/snippetbar.jsx @@ -161,7 +161,7 @@ const Snippetbar = createClass({ onClick={this.props.unfoldCode} > - + ; } @@ -181,7 +181,7 @@ const Snippetbar = createClass({ {this.state.themeSelector && this.renderThemeSelector()} - +
    this.props.onViewChange('text')}> diff --git a/client/homebrew/navbar/error-navitem.jsx b/client/homebrew/navbar/error-navitem.jsx index 8551408c5..59e05a253 100644 --- a/client/homebrew/navbar/error-navitem.jsx +++ b/client/homebrew/navbar/error-navitem.jsx @@ -42,7 +42,7 @@ const ErrorNavItem = createClass({
    ; } - + if(status === 412) { return Oops! @@ -51,7 +51,7 @@ const ErrorNavItem = createClass({ ; } - + if(HBErrorCode === '04') { return Oops! @@ -76,10 +76,10 @@ const ErrorNavItem = createClass({ if(response.body?.errors?.[0].reason == 'storageQuotaExceeded') { return Oops! -
    +
    Can't save because your Google Drive seems to be full! -
    - ; +
    +
    ; } if(response.req.url.match(/^\/api.*Google.*$/m)){ diff --git a/client/homebrew/navbar/help.navitem.jsx b/client/homebrew/navbar/help.navitem.jsx index 952681fd8..bf0098c8d 100644 --- a/client/homebrew/navbar/help.navitem.jsx +++ b/client/homebrew/navbar/help.navitem.jsx @@ -1,6 +1,4 @@ const React = require('react'); -const createClass = require('create-react-class'); -const _ = require('lodash'); const dedent = require('dedent-tabs').default; const Nav = require('naturalcrit/nav/nav.jsx'); diff --git a/client/homebrew/navbar/metadata.navitem.jsx b/client/homebrew/navbar/metadata.navitem.jsx index f4a09e143..2a29aec40 100644 --- a/client/homebrew/navbar/metadata.navitem.jsx +++ b/client/homebrew/navbar/metadata.navitem.jsx @@ -1,6 +1,5 @@ const React = require('react'); const createClass = require('create-react-class'); -const _ = require('lodash'); const Moment = require('moment'); const Nav = require('naturalcrit/nav/nav.jsx'); diff --git a/client/homebrew/navbar/newbrew.navitem.jsx b/client/homebrew/navbar/newbrew.navitem.jsx index 319ef3392..30d53c675 100644 --- a/client/homebrew/navbar/newbrew.navitem.jsx +++ b/client/homebrew/navbar/newbrew.navitem.jsx @@ -7,58 +7,58 @@ const BREWKEY = 'homebrewery-new'; const STYLEKEY = 'homebrewery-new-style'; const METAKEY = 'homebrewery-new-meta'; -const NewBrew = () => { - const handleFileChange = (e) => { - const file = e.target.files[0]; - if (file) { - const reader = new FileReader(); - reader.onload = (e) => { - const fileContent = e.target.result; - const newBrew = { - text: fileContent, - style: '' - }; - if(fileContent.startsWith('```metadata')) { - splitTextStyleAndMetadata(newBrew); // Modify newBrew directly - localStorage.setItem(BREWKEY, newBrew.text); - localStorage.setItem(STYLEKEY, newBrew.style); - localStorage.setItem(METAKEY, JSON.stringify(_.pick(newBrew, ['title', 'description', 'tags', 'systems', 'renderer', 'theme', 'lang']))); - window.location.href = '/new'; - } else { - alert('This file is invalid, please, enter a valid file'); - } - }; - reader.readAsText(file); - } - }; +const NewBrew = ()=>{ + const handleFileChange = (e)=>{ + const file = e.target.files[0]; + if(file) { + const reader = new FileReader(); + reader.onload = (e)=>{ + const fileContent = e.target.result; + const newBrew = { + text : fileContent, + style : '' + }; + if(fileContent.startsWith('```metadata')) { + splitTextStyleAndMetadata(newBrew); // Modify newBrew directly + localStorage.setItem(BREWKEY, newBrew.text); + localStorage.setItem(STYLEKEY, newBrew.style); + localStorage.setItem(METAKEY, JSON.stringify(_.pick(newBrew, ['title', 'description', 'tags', 'systems', 'renderer', 'theme', 'lang']))); + window.location.href = '/new'; + } else { + alert('This file is invalid, please, enter a valid file'); + } + }; + reader.readAsText(file); + } + }; - return ( - - + return ( + + new - - + + from blank - + - { document.getElementById('uploadTxt').click(); }}> - + { document.getElementById('uploadTxt').click(); }}> + from file - - - ); +
    + + ); }; module.exports = NewBrew; diff --git a/client/homebrew/navbar/print.navitem.jsx b/client/homebrew/navbar/print.navitem.jsx index 4907cad73..54af0bb41 100644 --- a/client/homebrew/navbar/print.navitem.jsx +++ b/client/homebrew/navbar/print.navitem.jsx @@ -1,5 +1,4 @@ const React = require('react'); -const createClass = require('create-react-class'); const Nav = require('naturalcrit/nav/nav.jsx'); module.exports = function(props){ diff --git a/client/homebrew/navbar/reddit.navitem.jsx b/client/homebrew/navbar/reddit.navitem.jsx index 15bc1696e..1d9f95604 100644 --- a/client/homebrew/navbar/reddit.navitem.jsx +++ b/client/homebrew/navbar/reddit.navitem.jsx @@ -1,9 +1,7 @@ const React = require('react'); const createClass = require('create-react-class'); -const cx = require('classnames'); const Nav = require('naturalcrit/nav/nav.jsx'); -const MAX_URL_SIZE = 2083; const MAIN_URL = 'https://www.reddit.com/r/UnearthedArcana/submit?selftext=true'; diff --git a/client/homebrew/pages/basePages/listPage/brewItem/brewItem.jsx b/client/homebrew/pages/basePages/listPage/brewItem/brewItem.jsx index 0369305d5..bf0624f1c 100644 --- a/client/homebrew/pages/basePages/listPage/brewItem/brewItem.jsx +++ b/client/homebrew/pages/basePages/listPage/brewItem/brewItem.jsx @@ -1,8 +1,6 @@ require('./brewItem.less'); const React = require('react'); const createClass = require('create-react-class'); -const _ = require('lodash'); -const cx = require('classnames'); const moment = require('moment'); const request = require('../../../../utils/request-middleware.js'); diff --git a/client/homebrew/pages/basePages/listPage/listPage.jsx b/client/homebrew/pages/basePages/listPage/listPage.jsx index 0b51609b5..ec557ffb1 100644 --- a/client/homebrew/pages/basePages/listPage/listPage.jsx +++ b/client/homebrew/pages/basePages/listPage/listPage.jsx @@ -262,8 +262,8 @@ const ListPage = createClass({ render : function(){ return
    {/**/} - - + + {this.props.navItems} {this.renderSortOptions()} {this.renderTagsOptions()} diff --git a/client/homebrew/pages/errorPage/errors/errorIndex.js b/client/homebrew/pages/errorPage/errors/errorIndex.js index f9d52c109..7fa24dddc 100644 --- a/client/homebrew/pages/errorPage/errors/errorIndex.js +++ b/client/homebrew/pages/errorPage/errors/errorIndex.js @@ -95,7 +95,7 @@ const errorIndex = (props)=>{ **Current Authors:** ${props.brew.authors?.map((author)=>{return `[${author}](/user/${author})`;}).join(', ') || 'Unable to list authors'} [Click here to be redirected to the brew's share page.](/share/${props.brew.shareId})`, - + // Brew load error '05' : dedent` diff --git a/client/homebrew/pages/newPage/newPage.jsx b/client/homebrew/pages/newPage/newPage.jsx index 9877651c2..f137027cd 100644 --- a/client/homebrew/pages/newPage/newPage.jsx +++ b/client/homebrew/pages/newPage/newPage.jsx @@ -2,7 +2,6 @@ require('./newPage.less'); const React = require('react'); const createClass = require('create-react-class'); -const _ = require('lodash'); const request = require('../../utils/request-middleware.js'); const Markdown = require('naturalcrit/markdown.js'); diff --git a/client/homebrew/pages/printPage/printPage.jsx b/client/homebrew/pages/printPage/printPage.jsx index 9a5a80dbf..5f512660c 100644 --- a/client/homebrew/pages/printPage/printPage.jsx +++ b/client/homebrew/pages/printPage/printPage.jsx @@ -2,7 +2,6 @@ require('./printPage.less'); const React = require('react'); const createClass = require('create-react-class'); const _ = require('lodash'); -const cx = require('classnames'); const { Meta } = require('vitreum/headtags'); const MarkdownLegacy = require('naturalcrit/markdownLegacy.js'); const Markdown = require('naturalcrit/markdown.js'); @@ -34,7 +33,7 @@ const PrintPage = createClass({ style : this.props.brew.style || undefined, renderer : this.props.brew.renderer || 'legacy', theme : this.props.brew.theme || '5ePHB', - lang : this.props.brew.lang || 'en' + lang : this.props.brew.lang || 'en' } }; }, @@ -52,7 +51,7 @@ const PrintPage = createClass({ style : styleStorage, renderer : metaStorage?.renderer || 'legacy', theme : metaStorage?.theme || '5ePHB', - lang : metaStorage?.lang || 'en' + lang : metaStorage?.lang || 'en' } }; }); @@ -96,11 +95,11 @@ const PrintPage = createClass({ return
    - + {baseThemePath && - + } - + {/* Apply CSS from Style tab */} {this.renderStyle()}
    diff --git a/client/homebrew/pages/sharePage/sharePage.jsx b/client/homebrew/pages/sharePage/sharePage.jsx index deb476c2e..2eab5f34a 100644 --- a/client/homebrew/pages/sharePage/sharePage.jsx +++ b/client/homebrew/pages/sharePage/sharePage.jsx @@ -57,7 +57,7 @@ const SharePage = createClass({ return edit - ; + ; }, render : function(){ diff --git a/client/homebrew/pages/userPage/userPage.jsx b/client/homebrew/pages/userPage/userPage.jsx index 1e051987b..01778be44 100644 --- a/client/homebrew/pages/userPage/userPage.jsx +++ b/client/homebrew/pages/userPage/userPage.jsx @@ -1,7 +1,6 @@ const React = require('react'); const createClass = require('create-react-class'); const _ = require('lodash'); -const cx = require('classnames'); const ListPage = require('../basePages/listPage/listPage.jsx'); diff --git a/server.js b/server.js index 39224bb88..6cbe07c4f 100644 --- a/server.js +++ b/server.js @@ -14,7 +14,7 @@ DB.connect(config).then(()=>{ console.log(`\n\tserver started at: ${new Date().toLocaleString()}`); console.log(`\tserver on port: ${PORT}`); - console.log(`\t${bright + cyan}Open in browser: ${reset}${underline + bright + cyan}http://localhost:${PORT}${reset}\n\n`) + console.log(`\t${bright + cyan}Open in browser: ${reset}${underline + bright + cyan}http://localhost:${PORT}${reset}\n\n`); }); }); diff --git a/server/admin.api.js b/server/admin.api.js index 5363ecc08..fe2def3ce 100644 --- a/server/admin.api.js +++ b/server/admin.api.js @@ -30,7 +30,7 @@ const junkBrewPipeline = [ { $match : { updatedAt : { $lt: Moment().subtract(30, 'days').toDate() }, lastViewed : { $lt: Moment().subtract(30, 'days').toDate() } - }}, + } }, { $project: { textBinSize: { $binarySize: '$textBin' } } }, { $match: { textBinSize: { $lt: 140 } } }, { $limit: 100 } diff --git a/server/app.js b/server/app.js index e04df77a6..a08ab4404 100644 --- a/server/app.js +++ b/server/app.js @@ -25,7 +25,7 @@ const sanitizeBrew = (brew, accessType)=>{ brew.__v = undefined; if(accessType !== 'edit' && accessType !== 'shareAuthor') { brew.editId = undefined; - } + } return brew; }; diff --git a/server/googleActions.js b/server/googleActions.js index 16537d603..93367248e 100644 --- a/server/googleActions.js +++ b/server/googleActions.js @@ -1,5 +1,4 @@ /* eslint-disable max-lines */ -const _ = require('lodash'); const googleDrive = require('@googleapis/drive'); const { nanoid } = require('nanoid'); const token = require('./token.js'); diff --git a/server/homebrew.api.js b/server/homebrew.api.js index e73a704a8..ae1abf787 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -83,9 +83,9 @@ const api = { if(accessType === 'edit' && (authorsExist && !(isAuthor || isInvited))) { const accessError = { name: 'Access Error', status: 401 }; if(req.account){ - throw { ...accessError, message: 'User is not an Author', HBErrorCode: '03', authors: stub.authors, brewTitle: stub.title, shareId: stub.shareId}; + throw { ...accessError, message: 'User is not an Author', HBErrorCode: '03', authors: stub.authors, brewTitle: stub.title, shareId: stub.shareId }; } - throw { ...accessError, message: 'User is not logged in', HBErrorCode: '04', authors: stub.authors, brewTitle: stub.title, shareId: stub.shareId}; + throw { ...accessError, message: 'User is not logged in', HBErrorCode: '04', authors: stub.authors, brewTitle: stub.title, shareId: stub.shareId }; } // If after all of that we still don't have a brew, throw an exception diff --git a/shared/helpers.js b/shared/helpers.js index 5abb93fea..42dd09e3f 100644 --- a/shared/helpers.js +++ b/shared/helpers.js @@ -1,22 +1,22 @@ const _ = require('lodash'); const yaml = require('js-yaml'); -const splitTextStyleAndMetadata = (brew) => { - brew.text = brew.text.replaceAll('\r\n', '\n'); - if (brew.text.startsWith('```metadata')) { - const index = brew.text.indexOf('```\n\n'); - const metadataSection = brew.text.slice(12, index - 1); - const metadata = yaml.load(metadataSection); - Object.assign(brew, _.pick(metadata, ['title', 'description', 'tags', 'systems', 'renderer', 'theme', 'lang'])); - brew.text = brew.text.slice(index + 5); - } - if (brew.text.startsWith('```css')) { - const index = brew.text.indexOf('```\n\n'); - brew.style = brew.text.slice(7, index - 1); - brew.text = brew.text.slice(index + 5); - } +const splitTextStyleAndMetadata = (brew)=>{ + brew.text = brew.text.replaceAll('\r\n', '\n'); + if(brew.text.startsWith('```metadata')) { + const index = brew.text.indexOf('```\n\n'); + const metadataSection = brew.text.slice(12, index - 1); + const metadata = yaml.load(metadataSection); + Object.assign(brew, _.pick(metadata, ['title', 'description', 'tags', 'systems', 'renderer', 'theme', 'lang'])); + brew.text = brew.text.slice(index + 5); + } + if(brew.text.startsWith('```css')) { + const index = brew.text.indexOf('```\n\n'); + brew.style = brew.text.slice(7, index - 1); + brew.text = brew.text.slice(index + 5); + } }; module.exports = { - splitTextStyleAndMetadata + splitTextStyleAndMetadata }; diff --git a/shared/homebrewery/renderWarnings/renderWarnings.jsx b/shared/homebrewery/renderWarnings/renderWarnings.jsx index 981fc1969..6028f1708 100644 --- a/shared/homebrewery/renderWarnings/renderWarnings.jsx +++ b/shared/homebrewery/renderWarnings/renderWarnings.jsx @@ -2,7 +2,6 @@ require('./renderWarnings.less'); const React = require('react'); const createClass = require('create-react-class'); const _ = require('lodash'); -const cx = require('classnames'); const DISMISS_KEY = 'dismiss_render_warning'; diff --git a/shared/naturalcrit/codeEditor/autocompleteEmoji.js b/shared/naturalcrit/codeEditor/autocompleteEmoji.js index 73e08de57..fae373115 100644 --- a/shared/naturalcrit/codeEditor/autocompleteEmoji.js +++ b/shared/naturalcrit/codeEditor/autocompleteEmoji.js @@ -1,11 +1,13 @@ const diceFont = require('../../../themes/fonts/iconFonts/diceFont.js'); const elderberryInn = require('../../../themes/fonts/iconFonts/elderberryInn.js'); const fontAwesome = require('../../../themes/fonts/iconFonts/fontAwesome.js'); +const gameIcons = require('../../../themes/fonts/iconFonts/gameIcons.js'); const emojis = { ...diceFont, ...elderberryInn, - ...fontAwesome + ...fontAwesome, + ...gameIcons }; const showAutocompleteEmoji = function(CodeMirror, editor) { diff --git a/shared/naturalcrit/codeEditor/codeEditor.jsx b/shared/naturalcrit/codeEditor/codeEditor.jsx index b034d1ca9..9f908d4bd 100644 --- a/shared/naturalcrit/codeEditor/codeEditor.jsx +++ b/shared/naturalcrit/codeEditor/codeEditor.jsx @@ -3,7 +3,6 @@ require('./codeEditor.less'); const React = require('react'); const createClass = require('create-react-class'); const _ = require('lodash'); -const cx = require('classnames'); const closeTag = require('./close-tag'); const autoCompleteEmoji = require('./autocompleteEmoji'); diff --git a/shared/naturalcrit/codeEditor/codeEditor.less b/shared/naturalcrit/codeEditor/codeEditor.less index 349166248..0f29eff7b 100644 --- a/shared/naturalcrit/codeEditor/codeEditor.less +++ b/shared/naturalcrit/codeEditor/codeEditor.less @@ -7,6 +7,7 @@ //Icon fonts included so they can appear in emoji autosuggest dropdown @import (less) './themes/fonts/iconFonts/diceFont.less'; @import (less) './themes/fonts/iconFonts/elderberryInn.less'; +@import (less) './themes/fonts/iconFonts/gameIcons.less'; @keyframes sourceMoveAnimation { 50% {background-color: red; color: white;} diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js index 05518b695..95431487d 100644 --- a/shared/naturalcrit/markdown.js +++ b/shared/naturalcrit/markdown.js @@ -10,6 +10,7 @@ const { markedEmoji: MarkedEmojis } = require('marked-emoji'); const diceFont = require('../../themes/fonts/iconFonts/diceFont.js'); const elderberryInn = require('../../themes/fonts/iconFonts/elderberryInn.js'); const fontAwesome = require('../../themes/fonts/iconFonts/fontAwesome.js'); +const gameIcons = require('../../themes/fonts/iconFonts/gameIcons.js'); const MathParser = require('expr-eval').Parser; const renderer = new Marked.Renderer(); @@ -688,7 +689,8 @@ const MarkedEmojiOptions = { emojis : { ...diceFont, ...elderberryInn, - ...fontAwesome + ...fontAwesome, + ...gameIcons, }, renderer : (token)=>`` }; diff --git a/shared/naturalcrit/splitPane/splitPane.jsx b/shared/naturalcrit/splitPane/splitPane.jsx index 2101480dc..b53d9de48 100644 --- a/shared/naturalcrit/splitPane/splitPane.jsx +++ b/shared/naturalcrit/splitPane/splitPane.jsx @@ -1,7 +1,6 @@ require('./splitPane.less'); const React = require('react'); const createClass = require('create-react-class'); -const _ = require('lodash'); const cx = require('classnames'); const SplitPane = createClass({ diff --git a/themes/V3/5ePHB/snippets/quote.gen.js b/themes/V3/5ePHB/snippets/quote.gen.js index c5e3d6293..c2a233255 100644 --- a/themes/V3/5ePHB/snippets/quote.gen.js +++ b/themes/V3/5ePHB/snippets/quote.gen.js @@ -1,47 +1,47 @@ -const _ = require("lodash"); +const _ = require('lodash'); const quotes = [ - "The sword glinted in the dim light, its edges keen and deadly. As the adventurer reached for it, he couldn't help but feel a surge of excitement mixed with fear. This was no ordinary blade.", - "The dragon's roar shook the ground beneath their feet, and the brave knight stood tall, his sword at the ready. He knew that this would be the battle of his life, but he was determined to emerge victorious.", - "The wizard's laboratory was a sight to behold, filled with bubbling cauldrons, ancient tomes, and strange artifacts from distant lands. As the apprentice gazed around in wonder, she knew that she was about to embark on a journey unlike any other.", - "The tavern was packed with rowdy patrons, their voices raised in song and laughter. The bard took center stage, strumming his lute and launching into a tale of adventure and heroism that had the crowd hanging on his every word.", - "The thief crept through the shadows, his eyes scanning the room for any sign of danger. He knew that one false move could mean the difference between success and failure, and he was determined to come out on top.", - "The elf queen stood atop her castle walls, surveying the kingdom below with a mix of pride and sadness. She knew that the coming war would be brutal, but she was determined to protect her people at all costs.", - "The necromancer's tower loomed in the distance, its dark spires piercing the sky. As the adventurers approached, they could feel the chill of death emanating from within", - "The ranger moved through the forest like a shadow, his senses attuned to every sound and movement around him. He knew that danger lurked behind every tree, but he was ready for whatever came his way.", - "The paladin knelt before the altar, his hands clasped in prayer. He knew that his faith would be tested in the days ahead, but he was ready to face whatever trials lay in store for him.", - "The druid communed with the spirits of nature, his mind merging with the trees, the animals, and the very earth itself. He knew that his power came with a great responsibility, and he was determined to use it for the greater good.", + 'The sword glinted in the dim light, its edges keen and deadly. As the adventurer reached for it, he couldn\'t help but feel a surge of excitement mixed with fear. This was no ordinary blade.', + 'The dragon\'s roar shook the ground beneath their feet, and the brave knight stood tall, his sword at the ready. He knew that this would be the battle of his life, but he was determined to emerge victorious.', + 'The wizard\'s laboratory was a sight to behold, filled with bubbling cauldrons, ancient tomes, and strange artifacts from distant lands. As the apprentice gazed around in wonder, she knew that she was about to embark on a journey unlike any other.', + 'The tavern was packed with rowdy patrons, their voices raised in song and laughter. The bard took center stage, strumming his lute and launching into a tale of adventure and heroism that had the crowd hanging on his every word.', + 'The thief crept through the shadows, his eyes scanning the room for any sign of danger. He knew that one false move could mean the difference between success and failure, and he was determined to come out on top.', + 'The elf queen stood atop her castle walls, surveying the kingdom below with a mix of pride and sadness. She knew that the coming war would be brutal, but she was determined to protect her people at all costs.', + 'The necromancer\'s tower loomed in the distance, its dark spires piercing the sky. As the adventurers approached, they could feel the chill of death emanating from within', + 'The ranger moved through the forest like a shadow, his senses attuned to every sound and movement around him. He knew that danger lurked behind every tree, but he was ready for whatever came his way.', + 'The paladin knelt before the altar, his hands clasped in prayer. He knew that his faith would be tested in the days ahead, but he was ready to face whatever trials lay in store for him.', + 'The druid communed with the spirits of nature, his mind merging with the trees, the animals, and the very earth itself. He knew that his power came with a great responsibility, and he was determined to use it for the greater good.', ]; const authors = [ - "Unknown", - "James Wyatt", - "Eolande Blackwood", - "Ragnar Ironheart", - "Lyra Nightshade", - "Valtorius Darkstar", - "Isadora Fireheart", - "Theron Shadowbane", - "Lirien Starweaver", - "Drogathar Bonecrusher", - "Kaelen Frostblade", + 'Unknown', + 'James Wyatt', + 'Eolande Blackwood', + 'Ragnar Ironheart', + 'Lyra Nightshade', + 'Valtorius Darkstar', + 'Isadora Fireheart', + 'Theron Shadowbane', + 'Lirien Starweaver', + 'Drogathar Bonecrusher', + 'Kaelen Frostblade', ]; const books = [ - "The Blade of Destiny", - "Dragonfire and Steel", - "The Bard's Tale", - "Darkness Rising", - "The Sacred Quest", - "Shadows in the Forest", - "The Starweaver Chronicles", - "Beneath the Bones", - "Moonlit Magic", - "Frost and Fury", + 'The Blade of Destiny', + 'Dragonfire and Steel', + 'The Bard\'s Tale', + 'Darkness Rising', + 'The Sacred Quest', + 'Shadows in the Forest', + 'The Starweaver Chronicles', + 'Beneath the Bones', + 'Moonlit Magic', + 'Frost and Fury', ]; -module.exports = () => { - return ` +module.exports = ()=>{ + return ` {{quote ${_.sample(quotes)} diff --git a/themes/V3/5ePHB/snippets/tableOfContents.gen.js b/themes/V3/5ePHB/snippets/tableOfContents.gen.js index 03f90d5fa..04ff77f3f 100644 --- a/themes/V3/5ePHB/snippets/tableOfContents.gen.js +++ b/themes/V3/5ePHB/snippets/tableOfContents.gen.js @@ -29,7 +29,7 @@ const getTOC = (pages)=>{ const res = []; _.each(pages, (page, pageNum)=>{ - if(!page.includes("{{frontCover}}") && !page.includes("{{insideCover}}") && !page.includes("{{partCover}}") && !page.includes("{{backCover}}")) { + if(!page.includes('{{frontCover}}') && !page.includes('{{insideCover}}') && !page.includes('{{partCover}}') && !page.includes('{{backCover}}')) { const lines = page.split('\n'); _.each(lines, (line)=>{ if(_.startsWith(line, '# ')){ diff --git a/themes/V3/Blank/snippets.js b/themes/V3/Blank/snippets.js index 272368665..8d45560c5 100644 --- a/themes/V3/Blank/snippets.js +++ b/themes/V3/Blank/snippets.js @@ -307,8 +307,8 @@ module.exports = [ /**************** FONTS *************/ { groupName : 'Fonts', - icon : 'fas fa-keyboard', - view : 'text', + icon : 'fas fa-keyboard', + view : 'text', snippets : [ { name : 'Open Sans', @@ -341,59 +341,59 @@ module.exports = [ gen : dedent`{{font-family:MrEavesRemake Dummy Text}}` }, { - name: 'Solbera Imitation', - icon: 'font SolberaImitationRemake', - gen: dedent`{{font-family:SolberaImitationRemake Dummy Text}}` + name : 'Solbera Imitation', + icon : 'font SolberaImitationRemake', + gen : dedent`{{font-family:SolberaImitationRemake Dummy Text}}` }, { - name: 'Scaly Sans Small Caps', - icon: 'font ScalySansSmallCapsRemake', - gen: dedent`{{font-family:ScalySansSmallCapsRemake Dummy Text}}` + name : 'Scaly Sans Small Caps', + icon : 'font ScalySansSmallCapsRemake', + gen : dedent`{{font-family:ScalySansSmallCapsRemake Dummy Text}}` }, { - name: 'Walter Turncoat', - icon: 'font WalterTurncoat', - gen: dedent`{{font-family:WalterTurncoat Dummy Text}}` + name : 'Walter Turncoat', + icon : 'font WalterTurncoat', + gen : dedent`{{font-family:WalterTurncoat Dummy Text}}` }, { - name: 'Lato', - icon: 'font Lato', - gen: dedent`{{font-family:Lato Dummy Text}}` + name : 'Lato', + icon : 'font Lato', + gen : dedent`{{font-family:Lato Dummy Text}}` }, { - name: 'Courier', - icon: 'font Courier', - gen: dedent`{{font-family:Courier Dummy Text}}` + name : 'Courier', + icon : 'font Courier', + gen : dedent`{{font-family:Courier Dummy Text}}` }, { - name: 'Nodesto Caps Condensed', - icon: 'font NodestoCapsCondensed', - gen: dedent`{{font-family:NodestoCapsCondensed Dummy Text}}` + name : 'Nodesto Caps Condensed', + icon : 'font NodestoCapsCondensed', + gen : dedent`{{font-family:NodestoCapsCondensed Dummy Text}}` }, { - name: 'Overpass', - icon: 'font Overpass', - gen: dedent`{{font-family:Overpass Dummy Text}}` + name : 'Overpass', + icon : 'font Overpass', + gen : dedent`{{font-family:Overpass Dummy Text}}` }, { - name: 'Davek', - icon: 'font Davek', - gen: dedent`{{font-family:Davek Dummy Text}}` + name : 'Davek', + icon : 'font Davek', + gen : dedent`{{font-family:Davek Dummy Text}}` }, { - name: 'Iokharic', - icon: 'font Iokharic', - gen: dedent`{{font-family:Iokharic Dummy Text}}` + name : 'Iokharic', + icon : 'font Iokharic', + gen : dedent`{{font-family:Iokharic Dummy Text}}` }, { - name: 'Rellanic', - icon: 'font Rellanic', - gen: dedent`{{font-family:Rellanic Dummy Text}}` + name : 'Rellanic', + icon : 'font Rellanic', + gen : dedent`{{font-family:Rellanic Dummy Text}}` }, { - name: 'Times New Roman', - icon: 'font TimesNewRoman', - gen: dedent`{{font-family:"Times New Roman" Dummy Text}}` + name : 'Times New Roman', + icon : 'font TimesNewRoman', + gen : dedent`{{font-family:"Times New Roman" Dummy Text}}` } ] }, diff --git a/themes/V3/Blank/style.less b/themes/V3/Blank/style.less index 31af3769b..24e87504f 100644 --- a/themes/V3/Blank/style.less +++ b/themes/V3/Blank/style.less @@ -2,6 +2,7 @@ @import (less) './themes/assets/assets.less'; @import (less) './themes/fonts/iconFonts/elderberryInn.less'; @import (less) './themes/fonts/iconFonts/diceFont.less'; +@import (less) './themes/fonts/iconFonts/gameIcons.less'; :root { //Colors diff --git a/themes/fonts/iconFonts/elderberryInn.js b/themes/fonts/iconFonts/elderberryInn.js index 71bb40e42..042648e4d 100644 --- a/themes/fonts/iconFonts/elderberryInn.js +++ b/themes/fonts/iconFonts/elderberryInn.js @@ -29,7 +29,7 @@ const elderberryInn = { 'ei_slashing' : 'ei slashing', 'ei_thunder' : 'ei thunder', - /* DnD Donditions */ + /* DnD Conditions */ 'ei_blinded' : 'ei blinded', 'ei_charmed' : 'ei charmed', 'ei_deafened' : 'ei deafened', diff --git a/themes/fonts/iconFonts/game-icons_license.md b/themes/fonts/iconFonts/game-icons_license.md new file mode 100644 index 000000000..77e46104c --- /dev/null +++ b/themes/fonts/iconFonts/game-icons_license.md @@ -0,0 +1,13 @@ +# Game Icons License + +The font used in gameIcons.woff / gameIcons.less / gameIcons.js, and usable in the Homebrewery as "gi" icons, are a subset of the Game-Icons.net library of icons. + +## The license + +Game-Icons has this to say about their license: + +> Game-icons.net is an online repository providing heaps of cool game related graphics. +> +> They are provided provided under the terms of the Creative Commons 3.0 BY license. +> +> It means that you can use them freely as long as you credit the original author in your creation(see below). A mention like "Icons made by {author;}. Available on https://game-icons.net" is fine. \ No newline at end of file diff --git a/themes/fonts/iconFonts/gameIcons.js b/themes/fonts/iconFonts/gameIcons.js new file mode 100644 index 000000000..d92591cef --- /dev/null +++ b/themes/fonts/iconFonts/gameIcons.js @@ -0,0 +1,509 @@ +/* eslint-disable max-lines */ + +// This is a subset of the library of icons at game-icons.net -- the subset is from RPG-Awesome repo + +// The entire font can be downloaded as svg from game-icons.net, +// and then loaded through icomoon.io to create webfont from svg, +// and the css font file can be turned into below list using regex +// regex used: \.([^:-]*)-([^:]*)(.*) +// substitution: "$1$2" : "$1-$2", + +const gameIcons = { + 'gi_zigzag_leaf' : 'gi zigzag-leaf', + 'gi_zebra_shield' : 'gi zebra-shield', + 'gi_x_mark' : 'gi x-mark', + 'gi_wyvern' : 'gi wyvern', + 'gi_wrench' : 'gi wrench', + 'gi_wooden_sign' : 'gi wooden-sign', + 'gi_wolf_howl' : 'gi wolf-howl', + 'gi_wolf_head' : 'gi wolf-head', + 'gi_wireless_signal' : 'gi wireless-signal', + 'gi_wifi' : 'gi wifi', + 'gi_water_drop' : 'gi water-drop', + 'gi_virgo' : 'gi virgo', + 'gi_vine_whip' : 'gi vine-whip', + 'gi_vial' : 'gi vial', + 'gi_vest' : 'gi vest', + 'gi_venomous_snake' : 'gi venomous-snake', + 'gi_vase' : 'gi vase', + 'gi_unplugged' : 'gi unplugged', + 'gi_underhand' : 'gi underhand', + 'gi_uncertainty' : 'gi uncertainty', + 'gi_two_hearts' : 'gi two-hearts', + 'gi_two_dragons' : 'gi two-dragons', + 'gi_turd' : 'gi turd', + 'gi_trophy' : 'gi trophy', + 'gi_triforce' : 'gi triforce', + 'gi_trident' : 'gi trident', + 'gi_trefoil_lily' : 'gi trefoil-lily', + 'gi_trail' : 'gi trail', + 'gi_tower' : 'gi tower', + 'gi_torch' : 'gi torch', + 'gi_tooth' : 'gi tooth', + 'gi_tombstone' : 'gi tombstone', + 'gi_toast' : 'gi toast', + 'gi_tic_tac_toe' : 'gi tic-tac-toe', + 'gi_three_keys' : 'gi three-keys', + 'gi_thorny_vine' : 'gi thorny-vine', + 'gi_thorn_arrow' : 'gi thorn-arrow', + 'gi_tesla' : 'gi tesla', + 'gi_tentacle' : 'gi tentacle', + 'gi_telescope' : 'gi telescope', + 'gi_taurus' : 'gi taurus', + 'gi_targeted' : 'gi targeted', + 'gi_target_laser' : 'gi target-laser', + 'gi_target_arrows' : 'gi target-arrows', + 'gi_syringe' : 'gi syringe', + 'gi_surveillance_camera' : 'gi surveillance-camera', + 'gi_supersonic_arrow' : 'gi supersonic-arrow', + 'gi_super_mushroom' : 'gi super-mushroom', + 'gi_sunbeams' : 'gi sunbeams', + 'gi_sun' : 'gi sun', + 'gi_sun_symbol' : 'gi sun-symbol', + 'gi_suits' : 'gi suits', + 'gi_suckered_tentacle' : 'gi suckered-tentacle', + 'gi_stopwatch' : 'gi stopwatch', + 'gi_sprout' : 'gi sprout', + 'gi_sprout_emblem' : 'gi sprout-emblem', + 'gi_spray_can' : 'gi spray-can', + 'gi_splash' : 'gi splash', + 'gi_spiral_shell' : 'gi spiral-shell', + 'gi_spinning_sword' : 'gi spinning-sword', + 'gi_spiked_tentacle' : 'gi spiked-tentacle', + 'gi_spiked_mace' : 'gi spiked-mace', + 'gi_spikeball' : 'gi spikeball', + 'gi_spider_face' : 'gi spider-face', + 'gi_speech_bubbles' : 'gi speech-bubbles', + 'gi_speech_bubble' : 'gi speech-bubble', + 'gi_spear_head' : 'gi spear-head', + 'gi_spawn_node' : 'gi spawn-node', + 'gi_spades' : 'gi spades', + 'gi_spades_card' : 'gi spades-card', + 'gi_soccer_ball' : 'gi soccer-ball', + 'gi_snowflake' : 'gi snowflake', + 'gi_snorkel' : 'gi snorkel', + 'gi_snake' : 'gi snake', + 'gi_snail' : 'gi snail', + 'gi_small_fire' : 'gi small-fire', + 'gi_slash_ring' : 'gi slash-ring', + 'gi_skull' : 'gi skull', + 'gi_skull_trophy' : 'gi skull-trophy', + 'gi_site' : 'gi site', + 'gi_sideswipe' : 'gi sideswipe', + 'gi_sickle' : 'gi sickle', + 'gi_shuriken' : 'gi shuriken', + 'gi_shovel' : 'gi shovel', + 'gi_shotgun_shell' : 'gi shotgun-shell', + 'gi_shot_through_the_heart' : 'gi shot-through-the-heart', + 'gi_shoe_prints' : 'gi shoe-prints', + 'gi_ship_emblem' : 'gi ship-emblem', + 'gi_shield' : 'gi shield', + 'gi_sheriff' : 'gi sheriff', + 'gi_sheep' : 'gi sheep', + 'gi_shark' : 'gi shark', + 'gi_seagull' : 'gi seagull', + 'gi_sea_serpent' : 'gi sea-serpent', + 'gi_scythe' : 'gi scythe', + 'gi_scroll_unfurled' : 'gi scroll-unfurled', + 'gi_scorpio' : 'gi scorpio', + 'gi_save' : 'gi save', + 'gi_satellite' : 'gi satellite', + 'gi_sapphire' : 'gi sapphire', + 'gi_sagittarius' : 'gi sagittarius', + 'gi_rune_stone' : 'gi rune-stone', + 'gi_rss' : 'gi rss', + 'gi_round_shield' : 'gi round-shield', + 'gi_round_bottom_flask' : 'gi round-bottom-flask', + 'gi_robot_arm' : 'gi robot-arm', + 'gi_roast_chicken' : 'gi roast-chicken', + 'gi_ringing_bell' : 'gi ringing-bell', + 'gi_rifle' : 'gi rifle', + 'gi_revolver' : 'gi revolver', + 'gi_reverse' : 'gi reverse', + 'gi_repair' : 'gi repair', + 'gi_relic_blade' : 'gi relic-blade', + 'gi_regeneration' : 'gi regeneration', + 'gi_recycle' : 'gi recycle', + 'gi_reactor' : 'gi reactor', + 'gi_raven' : 'gi raven', + 'gi_radioactive' : 'gi radioactive', + 'gi_radial_balance' : 'gi radial-balance', + 'gi_radar_dish' : 'gi radar-dish', + 'gi_rabbit' : 'gi rabbit', + 'gi_quill_ink' : 'gi quill-ink', + 'gi_queen_crown' : 'gi queen-crown', + 'gi_pyramids' : 'gi pyramids', + 'gi_potion' : 'gi potion', + 'gi_poison_cloud' : 'gi poison-cloud', + 'gi_podium' : 'gi podium', + 'gi_player' : 'gi player', + 'gi_player_thunder_struck' : 'gi player-thunder-struck', + 'gi_player_teleport' : 'gi player-teleport', + 'gi_player_shot' : 'gi player-shot', + 'gi_player_pyromaniac' : 'gi player-pyromaniac', + 'gi_player_pain' : 'gi player-pain', + 'gi_player_lift' : 'gi player-lift', + 'gi_player_king' : 'gi player-king', + 'gi_player_dodge' : 'gi player-dodge', + 'gi_player_despair' : 'gi player-despair', + 'gi_plain_dagger' : 'gi plain-dagger', + 'gi_pisces' : 'gi pisces', + 'gi_ping_pong' : 'gi ping-pong', + 'gi_pine_tree' : 'gi pine-tree', + 'gi_pills' : 'gi pills', + 'gi_pill' : 'gi pill', + 'gi_perspective_dice_three' : 'gi perspective-dice-three', + 'gi_perspective_dice_six' : 'gi perspective-dice-six', + 'gi_perspective_dice_six_two' : 'gi perspective-dice-six-two', + 'gi_perspective_dice_random' : 'gi perspective-dice-random', + 'gi_perspective_dice_one' : 'gi perspective-dice-one', + 'gi_perspective_dice_four' : 'gi perspective-dice-four', + 'gi_perspective_dice_five' : 'gi perspective-dice-five', + 'gi_pawprint' : 'gi pawprint', + 'gi_pawn' : 'gi pawn', + 'gi_palm_tree' : 'gi palm-tree', + 'gi_overmind' : 'gi overmind', + 'gi_overhead' : 'gi overhead', + 'gi_ophiuchus' : 'gi ophiuchus', + 'gi_on_target' : 'gi on-target', + 'gi_omega' : 'gi omega', + 'gi_octopus' : 'gi octopus', + 'gi_ocean_emblem' : 'gi ocean-emblem', + 'gi_ocarina' : 'gi ocarina', + 'gi_nuclear' : 'gi nuclear', + 'gi_noose' : 'gi noose', + 'gi_nodular' : 'gi nodular', + 'gi_nails' : 'gi nails', + 'gi_musket' : 'gi musket', + 'gi_muscle_up' : 'gi muscle-up', + 'gi_muscle_fat' : 'gi muscle-fat', + 'gi_mp5' : 'gi mp5', + 'gi_moon_sun' : 'gi moon-sun', + 'gi_montains' : 'gi montains', + 'gi_monster_skull' : 'gi monster-skull', + 'gi_mirror' : 'gi mirror', + 'gi_mining_diamonds' : 'gi mining-diamonds', + 'gi_mine_wagon' : 'gi mine-wagon', + 'gi_microphone' : 'gi microphone', + 'gi_metal_gate' : 'gi metal-gate', + 'gi_medical_pack' : 'gi medical-pack', + 'gi_meat' : 'gi meat', + 'gi_meat_hook' : 'gi meat-hook', + 'gi_match' : 'gi match', + 'gi_mass_driver' : 'gi mass-driver', + 'gi_magnet' : 'gi magnet', + 'gi_maggot' : 'gi maggot', + 'gi_love_howl' : 'gi love-howl', + 'gi_locked_fortress' : 'gi locked-fortress', + 'gi_load' : 'gi load', + 'gi_lit_candelabra' : 'gi lit-candelabra', + 'gi_lion' : 'gi lion', + 'gi_lightning' : 'gi lightning', + 'gi_lightning_trio' : 'gi lightning-trio', + 'gi_lightning_sword' : 'gi lightning-sword', + 'gi_lightning_storm' : 'gi lightning-storm', + 'gi_lightning_bolt' : 'gi lightning-bolt', + 'gi_lighthouse' : 'gi lighthouse', + 'gi_light_bulb' : 'gi light-bulb', + 'gi_libra' : 'gi libra', + 'gi_lever' : 'gi lever', + 'gi_level_two' : 'gi level-two', + 'gi_level_two_advanced' : 'gi level-two-advanced', + 'gi_level_three' : 'gi level-three', + 'gi_level_three_advanced' : 'gi level-three-advanced', + 'gi_level_four' : 'gi level-four', + 'gi_level_four_advanced' : 'gi level-four-advanced', + 'gi_leo' : 'gi leo', + 'gi_leaf' : 'gi leaf', + 'gi_lava' : 'gi lava', + 'gi_laser_site' : 'gi laser-site', + 'gi_laser_blast' : 'gi laser-blast', + 'gi_large_hammer' : 'gi large-hammer', + 'gi_lantern_flame' : 'gi lantern-flame', + 'gi_kunai' : 'gi kunai', + 'gi_knight_helmet' : 'gi knight-helmet', + 'gi_knife' : 'gi knife', + 'gi_knife_fork' : 'gi knife-fork', + 'gi_kitchen_knives' : 'gi kitchen-knives', + 'gi_key' : 'gi key', + 'gi_key_basic' : 'gi key-basic', + 'gi_kettlebell' : 'gi kettlebell', + 'gi_kaleidoscope' : 'gi kaleidoscope', + 'gi_jigsaw_piece' : 'gi jigsaw-piece', + 'gi_jetpack' : 'gi jetpack', + 'gi_interdiction' : 'gi interdiction', + 'gi_insect_jaws' : 'gi insect-jaws', + 'gi_incense' : 'gi incense', + 'gi_implosion' : 'gi implosion', + 'gi_ice_cube' : 'gi ice-cube', + 'gi_hydra' : 'gi hydra', + 'gi_hydra_shot' : 'gi hydra-shot', + 'gi_hourglass' : 'gi hourglass', + 'gi_hot_surface' : 'gi hot-surface', + 'gi_hospital_cross' : 'gi hospital-cross', + 'gi_horseshoe' : 'gi horseshoe', + 'gi_horns' : 'gi horns', + 'gi_horn_call' : 'gi horn-call', + 'gi_hood' : 'gi hood', + 'gi_honeycomb' : 'gi honeycomb', + 'gi_hole_ladder' : 'gi hole-ladder', + 'gi_hive_emblem' : 'gi hive-emblem', + 'gi_help' : 'gi help', + 'gi_helmet' : 'gi helmet', + 'gi_heavy_shield' : 'gi heavy-shield', + 'gi_heavy_fall' : 'gi heavy-fall', + 'gi_heat_haze' : 'gi heat-haze', + 'gi_hearts' : 'gi hearts', + 'gi_hearts_card' : 'gi hearts-card', + 'gi_heartburn' : 'gi heartburn', + 'gi_heart_tower' : 'gi heart-tower', + 'gi_heart_bottle' : 'gi heart-bottle', + 'gi_health' : 'gi health', + 'gi_health_increase' : 'gi health-increase', + 'gi_health_decrease' : 'gi health-decrease', + 'gi_harpoon_trident' : 'gi harpoon-trident', + 'gi_hand' : 'gi hand', + 'gi_hand_saw' : 'gi hand-saw', + 'gi_hand_emblem' : 'gi hand-emblem', + 'gi_hammer' : 'gi hammer', + 'gi_hammer_drop' : 'gi hammer-drop', + 'gi_halberd' : 'gi halberd', + 'gi_guillotine' : 'gi guillotine', + 'gi_guarded_tower' : 'gi guarded-tower', + 'gi_groundbreaker' : 'gi groundbreaker', + 'gi_grenade' : 'gi grenade', + 'gi_grass' : 'gi grass', + 'gi_grass_patch' : 'gi grass-patch', + 'gi_grappling_hook' : 'gi grappling-hook', + 'gi_gold_bar' : 'gi gold-bar', + 'gi_gloop' : 'gi gloop', + 'gi_glass_heart' : 'gi glass-heart', + 'gi_gemini' : 'gi gemini', + 'gi_gem' : 'gi gem', + 'gi_gem_pendant' : 'gi gem-pendant', + 'gi_gecko' : 'gi gecko', + 'gi_gears' : 'gi gears', + 'gi_gear_heart' : 'gi gear-heart', + 'gi_gear_hammer' : 'gi gear-hammer', + 'gi_gavel' : 'gi gavel', + 'gi_gamepad_cross' : 'gi gamepad-cross', + 'gi_frozen_arrow' : 'gi frozen-arrow', + 'gi_frostfire' : 'gi frostfire', + 'gi_frost_emblem' : 'gi frost-emblem', + 'gi_fox' : 'gi fox', + 'gi_forward' : 'gi forward', + 'gi_forging' : 'gi forging', + 'gi_footprint' : 'gi footprint', + 'gi_food_chain' : 'gi food-chain', + 'gi_focused_lightning' : 'gi focused-lightning', + 'gi_fluffy_swirl' : 'gi fluffy-swirl', + 'gi_flowers' : 'gi flowers', + 'gi_flower' : 'gi flower', + 'gi_flat_hammer' : 'gi flat-hammer', + 'gi_flask' : 'gi flask', + 'gi_flaming_trident' : 'gi flaming-trident', + 'gi_flaming_claw' : 'gi flaming-claw', + 'gi_flaming_arrow' : 'gi flaming-arrow', + 'gi_flame_symbol' : 'gi flame-symbol', + 'gi_fizzing_flask' : 'gi fizzing-flask', + 'gi_fish' : 'gi fish', + 'gi_fireball_sword' : 'gi fireball-sword', + 'gi_fire' : 'gi fire', + 'gi_fire_symbol' : 'gi fire-symbol', + 'gi_fire_shield' : 'gi fire-shield', + 'gi_fire_ring' : 'gi fire-ring', + 'gi_fire_breath' : 'gi fire-breath', + 'gi_fire_bomb' : 'gi fire-bomb', + 'gi_fedora' : 'gi fedora', + 'gi_feathered_wing' : 'gi feathered-wing', + 'gi_feather_wing' : 'gi feather-wing', + 'gi_fast_ship' : 'gi fast-ship', + 'gi_falling' : 'gi falling', + 'gi_fall_down' : 'gi fall-down', + 'gi_fairy' : 'gi fairy', + 'gi_fairy_wand' : 'gi fairy-wand', + 'gi_eyeball' : 'gi eyeball', + 'gi_eye_shield' : 'gi eye-shield', + 'gi_eye_monster' : 'gi eye-monster', + 'gi_explosive_materials' : 'gi explosive-materials', + 'gi_explosion' : 'gi explosion', + 'gi_energise' : 'gi energise', + 'gi_emerald' : 'gi emerald', + 'gi_eggplant' : 'gi eggplant', + 'gi_egg' : 'gi egg', + 'gi_egg_pod' : 'gi egg-pod', + 'gi_duel' : 'gi duel', + 'gi_droplets' : 'gi droplets', + 'gi_droplet' : 'gi droplet', + 'gi_droplet_splash' : 'gi droplet-splash', + 'gi_dripping_sword' : 'gi dripping-sword', + 'gi_dripping_knife' : 'gi dripping-knife', + 'gi_dripping_blade' : 'gi dripping-blade', + 'gi_drill' : 'gi drill', + 'gi_dragonfly' : 'gi dragonfly', + 'gi_dragon' : 'gi dragon', + 'gi_dragon_wing' : 'gi dragon-wing', + 'gi_dragon_breath' : 'gi dragon-breath', + 'gi_doubled' : 'gi doubled', + 'gi_double_team' : 'gi double-team', + 'gi_diving_dagger' : 'gi diving-dagger', + 'gi_divert' : 'gi divert', + 'gi_dinosaur' : 'gi dinosaur', + 'gi_dice_two' : 'gi dice-two', + 'gi_dice_three' : 'gi dice-three', + 'gi_dice_six' : 'gi dice-six', + 'gi_dice_one' : 'gi dice-one', + 'gi_dice_four' : 'gi dice-four', + 'gi_dice_five' : 'gi dice-five', + 'gi_diamonds' : 'gi diamonds', + 'gi_diamonds_card' : 'gi diamonds-card', + 'gi_diamond' : 'gi diamond', + 'gi_desert_skull' : 'gi desert-skull', + 'gi_dervish_swords' : 'gi dervish-swords', + 'gi_demolish' : 'gi demolish', + 'gi_defibrillate' : 'gi defibrillate', + 'gi_decapitation' : 'gi decapitation', + 'gi_death_skull' : 'gi death-skull', + 'gi_dead_tree' : 'gi dead-tree', + 'gi_daisy' : 'gi daisy', + 'gi_daggers' : 'gi daggers', + 'gi_cycle' : 'gi cycle', + 'gi_cut_palm' : 'gi cut-palm', + 'gi_cubes' : 'gi cubes', + 'gi_crystals' : 'gi crystals', + 'gi_crystal_wand' : 'gi crystal-wand', + 'gi_crystal_cluster' : 'gi crystal-cluster', + 'gi_crystal_ball' : 'gi crystal-ball', + 'gi_crush' : 'gi crush', + 'gi_crowned_heart' : 'gi crowned-heart', + 'gi_crown' : 'gi crown', + 'gi_crown_of_thorns' : 'gi crown-of-thorns', + 'gi_crossed_swords' : 'gi crossed-swords', + 'gi_crossed_sabres' : 'gi crossed-sabres', + 'gi_crossed_pistols' : 'gi crossed-pistols', + 'gi_crossed_bones' : 'gi crossed-bones', + 'gi_crossed_axes' : 'gi crossed-axes', + 'gi_crossbow' : 'gi crossbow', + 'gi_croc_sword' : 'gi croc-sword', + 'gi_cracked_shield' : 'gi cracked-shield', + 'gi_cracked_helm' : 'gi cracked-helm', + 'gi_crab_claw' : 'gi crab-claw', + 'gi_corked_tube' : 'gi corked-tube', + 'gi_compass' : 'gi compass', + 'gi_cold_heart' : 'gi cold-heart', + 'gi_cog' : 'gi cog', + 'gi_cog_wheel' : 'gi cog-wheel', + 'gi_coffee_mug' : 'gi coffee-mug', + 'gi_cluster_bomb' : 'gi cluster-bomb', + 'gi_clovers' : 'gi clovers', + 'gi_clovers_card' : 'gi clovers-card', + 'gi_clover' : 'gi clover', + 'gi_clockwork' : 'gi clockwork', + 'gi_cloak_and_dagger' : 'gi cloak-and-dagger', + 'gi_circular_shield' : 'gi circular-shield', + 'gi_circular_saw' : 'gi circular-saw', + 'gi_circle_of_circles' : 'gi circle-of-circles', + 'gi_chicken_leg' : 'gi chicken-leg', + 'gi_chessboard' : 'gi chessboard', + 'gi_chemical_arrow' : 'gi chemical-arrow', + 'gi_cheese' : 'gi cheese', + 'gi_chain' : 'gi chain', + 'gi_cat' : 'gi cat', + 'gi_castle_flag' : 'gi castle-flag', + 'gi_castle_emblem' : 'gi castle-emblem', + 'gi_carrot' : 'gi carrot', + 'gi_capricorn' : 'gi capricorn', + 'gi_capitol' : 'gi capitol', + 'gi_cannon_shot' : 'gi cannon-shot', + 'gi_candle' : 'gi candle', + 'gi_candle_fire' : 'gi candle-fire', + 'gi_cancer' : 'gi cancer', + 'gi_cancel' : 'gi cancel', + 'gi_campfire' : 'gi campfire', + 'gi_butterfly' : 'gi butterfly', + 'gi_burst_blob' : 'gi burst-blob', + 'gi_burning_meteor' : 'gi burning-meteor', + 'gi_burning_eye' : 'gi burning-eye', + 'gi_burning_embers' : 'gi burning-embers', + 'gi_burning_book' : 'gi burning-book', + 'gi_bullets' : 'gi bullets', + 'gi_bubbling_potion' : 'gi bubbling-potion', + 'gi_broken_skull' : 'gi broken-skull', + 'gi_broken_shield' : 'gi broken-shield', + 'gi_broken_heart' : 'gi broken-heart', + 'gi_broken_bottle' : 'gi broken-bottle', + 'gi_broken_bone' : 'gi broken-bone', + 'gi_broadsword' : 'gi broadsword', + 'gi_broadhead_arrow' : 'gi broadhead-arrow', + 'gi_bridge' : 'gi bridge', + 'gi_brandy_bottle' : 'gi brandy-bottle', + 'gi_brain_freeze' : 'gi brain-freeze', + 'gi_bowling_pin' : 'gi bowling-pin', + 'gi_bowie_knife' : 'gi bowie-knife', + 'gi_bottom_right' : 'gi bottom-right', + 'gi_bottled_bolt' : 'gi bottled-bolt', + 'gi_bottle_vapors' : 'gi bottle-vapors', + 'gi_boot_stomp' : 'gi boot-stomp', + 'gi_boomerang' : 'gi boomerang', + 'gi_book' : 'gi book', + 'gi_bone_knife' : 'gi bone-knife', + 'gi_bone_bite' : 'gi bone-bite', + 'gi_bombs' : 'gi bombs', + 'gi_bomb_explosion' : 'gi bomb-explosion', + 'gi_bolt_shield' : 'gi bolt-shield', + 'gi_bleeding_hearts' : 'gi bleeding-hearts', + 'gi_bleeding_eye' : 'gi bleeding-eye', + 'gi_blaster' : 'gi blaster', + 'gi_blast' : 'gi blast', + 'gi_blade_bite' : 'gi blade-bite', + 'gi_bird_mask' : 'gi bird-mask', + 'gi_bird_claw' : 'gi bird-claw', + 'gi_biohazard' : 'gi biohazard', + 'gi_bell' : 'gi bell', + 'gi_beetle' : 'gi beetle', + 'gi_beer' : 'gi beer', + 'gi_bear_trap' : 'gi bear-trap', + 'gi_beam_wake' : 'gi beam-wake', + 'gi_batwings' : 'gi batwings', + 'gi_battery_white' : 'gi battery-white', + 'gi_battery_positive' : 'gi battery-positive', + 'gi_battery_negative' : 'gi battery-negative', + 'gi_battery_black' : 'gi battery-black', + 'gi_battery_75' : 'gi battery-75', + 'gi_battery_50' : 'gi battery-50', + 'gi_battery_25' : 'gi battery-25', + 'gi_battery_100' : 'gi battery-100', + 'gi_battery_0' : 'gi battery-0', + 'gi_batteries' : 'gi batteries', + 'gi_battered_axe' : 'gi battered-axe', + 'gi_bat_sword' : 'gi bat-sword', + 'gi_barrier' : 'gi barrier', + 'gi_barbed_arrow' : 'gi barbed-arrow', + 'gi_ball' : 'gi ball', + 'gi_axe' : 'gi axe', + 'gi_axe_swing' : 'gi axe-swing', + 'gi_aware' : 'gi aware', + 'gi_aura' : 'gi aura', + 'gi_arson' : 'gi arson', + 'gi_arrow_flights' : 'gi arrow-flights', + 'gi_arrow_cluster' : 'gi arrow-cluster', + 'gi_aries' : 'gi aries', + 'gi_arena' : 'gi arena', + 'gi_archery_target' : 'gi archery-target', + 'gi_archer' : 'gi archer', + 'gi_arcane_mask' : 'gi arcane-mask', + 'gi_aquarius' : 'gi aquarius', + 'gi_apple' : 'gi apple', + 'gi_anvil' : 'gi anvil', + 'gi_ankh' : 'gi ankh', + 'gi_angel_wings' : 'gi angel-wings', + 'gi_anchor' : 'gi anchor', + 'gi_ammo_bag' : 'gi ammo-bag', + 'gi_alligator_clip' : 'gi alligator-clip', + 'gi_all_for_one' : 'gi all-for-one', + 'gi_alien_fire' : 'gi alien-fire', + 'gi_acorn' : 'gi acorn', + 'gi_acid' : 'gi acid' +}; + +module.exports = gameIcons; \ No newline at end of file diff --git a/themes/fonts/iconFonts/gameIcons.less b/themes/fonts/iconFonts/gameIcons.less new file mode 100644 index 000000000..ea7b3aba5 --- /dev/null +++ b/themes/fonts/iconFonts/gameIcons.less @@ -0,0 +1,520 @@ +@font-face { + font-family : 'Game-Icons'; + font-style : normal; + font-weight : normal; + src : url('../../../fonts/iconFonts/gameIcons.woff') format('woff'); + font-display : block; +} + +.gi { + /* use !important to prevent issues with browser extensions that change fonts */ + display : inline-block; + margin-right : 3px; + font-family : 'Game-Icons' !important; + line-height : 1; + vertical-align : baseline; + -moz-osx-font-smoothing : grayscale; + -webkit-font-smoothing : antialiased; + text-rendering : auto; + + /* Better Font Rendering =========== */ + -webkit-font-smoothing : antialiased; + -moz-osx-font-smoothing : grayscale; + + + &.zigzag-leaf::before { content : '\e900'; } + &.zebra-shield::before { content : '\e901'; } + &.x-mark::before { content : '\e902'; } + &.wyvern::before { content : '\e903'; } + &.wrench::before { content : '\e904'; } + &.wooden-sign::before { content : '\e905'; } + &.wolf-howl::before { content : '\e906'; } + &.wolf-head::before { content : '\e907'; } + &.wireless-signal::before { content : '\e908'; } + &.wifi::before { content : '\e909'; } + &.water-drop::before { content : '\e90a'; } + &.virgo::before { content : '\e90b'; } + &.vine-whip::before { content : '\e90c'; } + &.vial::before { content : '\e90d'; } + &.vest::before { content : '\e90e'; } + &.venomous-snake::before { content : '\e90f'; } + &.vase::before { content : '\e910'; } + &.unplugged::before { content : '\e911'; } + &.underhand::before { content : '\e912'; } + &.uncertainty::before { content : '\e913'; } + &.two-hearts::before { content : '\e914'; } + &.two-dragons::before { content : '\e915'; } + &.turd::before { content : '\e916'; } + &.trophy::before { content : '\e917'; } + &.triforce::before { content : '\e918'; } + &.trident::before { content : '\e919'; } + &.trefoil-lily::before { content : '\e91a'; } + &.trail::before { content : '\e91b'; } + &.tower::before { content : '\e91c'; } + &.torch::before { content : '\e91d'; } + &.tooth::before { content : '\e91e'; } + &.tombstone::before { content : '\e91f'; } + &.toast::before { content : '\e920'; } + &.tic-tac-toe::before { content : '\e921'; } + &.three-keys::before { content : '\e922'; } + &.thorny-vine::before { content : '\e923'; } + &.thorn-arrow::before { content : '\e924'; } + &.tesla::before { content : '\e925'; } + &.tentacle::before { content : '\e926'; } + &.telescope::before { content : '\e927'; } + &.taurus::before { content : '\e928'; } + &.targeted::before { content : '\e929'; } + &.target-laser::before { content : '\e92a'; } + &.target-arrows::before { content : '\e92b'; } + &.syringe::before { content : '\e92c'; } + &.surveillance-camera::before { content : '\e92d'; } + &.supersonic-arrow::before { content : '\e92e'; } + &.super-mushroom::before { content : '\e92f'; } + &.sunbeams::before { content : '\e930'; } + &.sun::before { content : '\e931'; } + &.sun-symbol::before { content : '\e932'; } + &.suits::before { content : '\e933'; } + &.suckered-tentacle::before { content : '\e934'; } + &.stopwatch::before { content : '\e935'; } + &.sprout::before { content : '\e936'; } + &.sprout-emblem::before { content : '\e937'; } + &.spray-can::before { content : '\e938'; } + &.splash::before { content : '\e939'; } + &.spiral-shell::before { content : '\e93a'; } + &.spinning-sword::before { content : '\e93b'; } + &.spiked-tentacle::before { content : '\e93c'; } + &.spiked-mace::before { content : '\e93d'; } + &.spikeball::before { content : '\e93e'; } + &.spider-face::before { content : '\e93f'; } + &.speech-bubbles::before { content : '\e940'; } + &.speech-bubble::before { content : '\e941'; } + &.spear-head::before { content : '\e942'; } + &.spawn-node::before { content : '\e943'; } + &.spades::before { content : '\e944'; } + &.spades-card::before { content : '\e945'; } + &.soccer-ball::before { content : '\e946'; } + &.snowflake::before { content : '\e947'; } + &.snorkel::before { content : '\e948'; } + &.snake::before { content : '\e949'; } + &.snail::before { content : '\e94a'; } + &.small-fire::before { content : '\e94b'; } + &.slash-ring::before { content : '\e94c'; } + &.skull::before { content : '\e94d'; } + &.skull-trophy::before { content : '\e94e'; } + &.site::before { content : '\e94f'; } + &.sideswipe::before { content : '\e950'; } + &.sickle::before { content : '\e951'; } + &.shuriken::before { content : '\e952'; } + &.shovel::before { content : '\e953'; } + &.shotgun-shell::before { content : '\e954'; } + &.shot-through-the-heart::before { content : '\e955'; } + &.shoe-prints::before { content : '\e956'; } + &.ship-emblem::before { content : '\e957'; } + &.shield::before { content : '\e958'; } + &.sheriff::before { content : '\e959'; } + &.sheep::before { content : '\e95a'; } + &.shark::before { content : '\e95b'; } + &.seagull::before { content : '\e95c'; } + &.sea-serpent::before { content : '\e95d'; } + &.scythe::before { content : '\e95e'; } + &.scroll-unfurled::before { content : '\e95f'; } + &.scorpio::before { content : '\e960'; } + &.save::before { content : '\e961'; } + &.satellite::before { content : '\e962'; } + &.sapphire::before { content : '\e963'; } + &.sagittarius::before { content : '\e964'; } + &.rune-stone::before { content : '\e965'; } + &.rss::before { content : '\e966'; } + &.round-shield::before { content : '\e967'; } + &.round-bottom-flask::before { content : '\e968'; } + &.robot-arm::before { content : '\e969'; } + &.roast-chicken::before { content : '\e96a'; } + &.ringing-bell::before { content : '\e96b'; } + &.rifle::before { content : '\e96c'; } + &.revolver::before { content : '\e96d'; } + &.reverse::before { content : '\e96e'; } + &.repair::before { content : '\e96f'; } + &.relic-blade::before { content : '\e970'; } + &.regeneration::before { content : '\e971'; } + &.recycle::before { content : '\e972'; } + &.reactor::before { content : '\e973'; } + &.raven::before { content : '\e974'; } + &.radioactive::before { content : '\e975'; } + &.radial-balance::before { content : '\e976'; } + &.radar-dish::before { content : '\e977'; } + &.rabbit::before { content : '\e978'; } + &.quill-ink::before { content : '\e979'; } + &.queen-crown::before { content : '\e97a'; } + &.pyramids::before { content : '\e97b'; } + &.potion::before { content : '\e97c'; } + &.poison-cloud::before { content : '\e97d'; } + &.podium::before { content : '\e97e'; } + &.player::before { content : '\e97f'; } + &.player-thunder-struck::before { content : '\e980'; } + &.player-teleport::before { content : '\e981'; } + &.player-shot::before { content : '\e982'; } + &.player-pyromaniac::before { content : '\e983'; } + &.player-pain::before { content : '\e984'; } + &.player-lift::before { content : '\e985'; } + &.player-king::before { content : '\e986'; } + &.player-dodge::before { content : '\e987'; } + &.player-despair::before { content : '\e988'; } + &.plain-dagger::before { content : '\e989'; } + &.pisces::before { content : '\e98a'; } + &.ping-pong::before { content : '\e98b'; } + &.pine-tree::before { content : '\e98c'; } + &.pills::before { content : '\e98d'; } + &.pill::before { content : '\e98e'; } + &.perspective-dice-three::before { content : '\e98f'; } + &.perspective-dice-six::before { content : '\e990'; } + &.perspective-dice-six-two::before { content : '\e991'; } + &.perspective-dice-random::before { content : '\e992'; } + &.perspective-dice-one::before { content : '\e993'; } + &.perspective-dice-four::before { content : '\e994'; } + &.perspective-dice-five::before { content : '\e995'; } + &.pawprint::before { content : '\e996'; } + &.pawn::before { content : '\e997'; } + &.palm-tree::before { content : '\e998'; } + &.overmind::before { content : '\e999'; } + &.overhead::before { content : '\e99a'; } + &.ophiuchus::before { content : '\e99b'; } + &.on-target::before { content : '\e99c'; } + &.omega::before { content : '\e99d'; } + &.octopus::before { content : '\e99e'; } + &.ocean-emblem::before { content : '\e99f'; } + &.ocarina::before { content : '\e9a0'; } + &.nuclear::before { content : '\e9a1'; } + &.noose::before { content : '\e9a2'; } + &.nodular::before { content : '\e9a3'; } + &.nails::before { content : '\e9a4'; } + &.musket::before { content : '\e9a5'; } + &.muscle-up::before { content : '\e9a6'; } + &.muscle-fat::before { content : '\e9a7'; } + &.mp5::before { content : '\e9a8'; } + &.moon-sun::before { content : '\e9a9'; } + &.montains::before { content : '\e9aa'; } + &.monster-skull::before { content : '\e9ab'; } + &.mirror::before { content : '\e9ac'; } + &.mining-diamonds::before { content : '\e9ad'; } + &.mine-wagon::before { content : '\e9ae'; } + &.microphone::before { content : '\e9af'; } + &.metal-gate::before { content : '\e9b0'; } + &.medical-pack::before { content : '\e9b1'; } + &.meat::before { content : '\e9b2'; } + &.meat-hook::before { content : '\e9b3'; } + &.match::before { content : '\e9b4'; } + &.mass-driver::before { content : '\e9b5'; } + &.magnet::before { content : '\e9b6'; } + &.maggot::before { content : '\e9b7'; } + &.love-howl::before { content : '\e9b8'; } + &.locked-fortress::before { content : '\e9b9'; } + &.load::before { content : '\e9ba'; } + &.lit-candelabra::before { content : '\e9bb'; } + &.lion::before { content : '\e9bc'; } + &.lightning::before { content : '\e9bd'; } + &.lightning-trio::before { content : '\e9be'; } + &.lightning-sword::before { content : '\e9bf'; } + &.lightning-storm::before { content : '\e9c0'; } + &.lightning-bolt::before { content : '\e9c1'; } + &.lighthouse::before { content : '\e9c2'; } + &.light-bulb::before { content : '\e9c3'; } + &.libra::before { content : '\e9c4'; } + &.lever::before { content : '\e9c5'; } + &.level-two::before { content : '\e9c6'; } + &.level-two-advanced::before { content : '\e9c7'; } + &.level-three::before { content : '\e9c8'; } + &.level-three-advanced::before { content : '\e9c9'; } + &.level-four::before { content : '\e9ca'; } + &.level-four-advanced::before { content : '\e9cb'; } + &.leo::before { content : '\e9cc'; } + &.leaf::before { content : '\e9cd'; } + &.lava::before { content : '\e9ce'; } + &.laser-site::before { content : '\e9cf'; } + &.laser-blast::before { content : '\e9d0'; } + &.large-hammer::before { content : '\e9d1'; } + &.lantern-flame::before { content : '\e9d2'; } + &.kunai::before { content : '\e9d3'; } + &.knight-helmet::before { content : '\e9d4'; } + &.knife::before { content : '\e9d5'; } + &.knife-fork::before { content : '\e9d6'; } + &.kitchen-knives::before { content : '\e9d7'; } + &.key::before { content : '\e9d8'; } + &.key-basic::before { content : '\e9d9'; } + &.kettlebell::before { content : '\e9da'; } + &.kaleidoscope::before { content : '\e9db'; } + &.jigsaw-piece::before { content : '\e9dc'; } + &.jetpack::before { content : '\e9dd'; } + &.interdiction::before { content : '\e9de'; } + &.insect-jaws::before { content : '\e9df'; } + &.incense::before { content : '\e9e0'; } + &.implosion::before { content : '\e9e1'; } + &.ice-cube::before { content : '\e9e2'; } + &.hydra::before { content : '\e9e3'; } + &.hydra-shot::before { content : '\e9e4'; } + &.hourglass::before { content : '\e9e5'; } + &.hot-surface::before { content : '\e9e6'; } + &.hospital-cross::before { content : '\e9e7'; } + &.horseshoe::before { content : '\e9e8'; } + &.horns::before { content : '\e9e9'; } + &.horn-call::before { content : '\e9ea'; } + &.hood::before { content : '\e9eb'; } + &.honeycomb::before { content : '\e9ec'; } + &.hole-ladder::before { content : '\e9ed'; } + &.hive-emblem::before { content : '\e9ee'; } + &.help::before { content : '\e9ef'; } + &.helmet::before { content : '\e9f0'; } + &.heavy-shield::before { content : '\e9f1'; } + &.heavy-fall::before { content : '\e9f2'; } + &.heat-haze::before { content : '\e9f3'; } + &.hearts::before { content : '\e9f4'; } + &.hearts-card::before { content : '\e9f5'; } + &.heartburn::before { content : '\e9f6'; } + &.heart-tower::before { content : '\e9f7'; } + &.heart-bottle::before { content : '\e9f8'; } + &.health::before { content : '\e9f9'; } + &.health-increase::before { content : '\e9fa'; } + &.health-decrease::before { content : '\e9fb'; } + &.harpoon-trident::before { content : '\e9fc'; } + &.hand::before { content : '\e9fd'; } + &.hand-saw::before { content : '\e9fe'; } + &.hand-emblem::before { content : '\e9ff'; } + &.hammer::before { content : '\ea00'; } + &.hammer-drop::before { content : '\ea01'; } + &.halberd::before { content : '\ea02'; } + &.guillotine::before { content : '\ea03'; } + &.guarded-tower::before { content : '\ea04'; } + &.groundbreaker::before { content : '\ea05'; } + &.grenade::before { content : '\ea06'; } + &.grass::before { content : '\ea07'; } + &.grass-patch::before { content : '\ea08'; } + &.grappling-hook::before { content : '\ea09'; } + &.gold-bar::before { content : '\ea0a'; } + &.gloop::before { content : '\ea0b'; } + &.glass-heart::before { content : '\ea0c'; } + &.gemini::before { content : '\ea0d'; } + &.gem::before { content : '\ea0e'; } + &.gem-pendant::before { content : '\ea0f'; } + &.gecko::before { content : '\ea10'; } + &.gears::before { content : '\ea11'; } + &.gear-heart::before { content : '\ea12'; } + &.gear-hammer::before { content : '\ea13'; } + &.gavel::before { content : '\ea14'; } + &.gamepad-cross::before { content : '\ea15'; } + &.frozen-arrow::before { content : '\ea16'; } + &.frostfire::before { content : '\ea17'; } + &.frost-emblem::before { content : '\ea18'; } + &.fox::before { content : '\ea19'; } + &.forward::before { content : '\ea1a'; } + &.forging::before { content : '\ea1b'; } + &.footprint::before { content : '\ea1c'; } + &.food-chain::before { content : '\ea1d'; } + &.focused-lightning::before { content : '\ea1e'; } + &.fluffy-swirl::before { content : '\ea1f'; } + &.flowers::before { content : '\ea20'; } + &.flower::before { content : '\ea21'; } + &.flat-hammer::before { content : '\ea22'; } + &.flask::before { content : '\ea23'; } + &.flaming-trident::before { content : '\ea24'; } + &.flaming-claw::before { content : '\ea25'; } + &.flaming-arrow::before { content : '\ea26'; } + &.flame-symbol::before { content : '\ea27'; } + &.fizzing-flask::before { content : '\ea28'; } + &.fish::before { content : '\ea29'; } + &.fireball-sword::before { content : '\ea2a'; } + &.fire::before { content : '\ea2b'; } + &.fire-symbol::before { content : '\ea2c'; } + &.fire-shield::before { content : '\ea2d'; } + &.fire-ring::before { content : '\ea2e'; } + &.fire-breath::before { content : '\ea2f'; } + &.fire-bomb::before { content : '\ea30'; } + &.fedora::before { content : '\ea31'; } + &.feathered-wing::before { content : '\ea32'; } + &.feather-wing::before { content : '\ea33'; } + &.fast-ship::before { content : '\ea34'; } + &.falling::before { content : '\ea35'; } + &.fall-down::before { content : '\ea36'; } + &.fairy::before { content : '\ea37'; } + &.fairy-wand::before { content : '\ea38'; } + &.eyeball::before { content : '\ea39'; } + &.eye-shield::before { content : '\ea3a'; } + &.eye-monster::before { content : '\ea3b'; } + &.explosive-materials::before { content : '\ea3c'; } + &.explosion::before { content : '\ea3d'; } + &.energise::before { content : '\ea3e'; } + &.emerald::before { content : '\ea3f'; } + &.eggplant::before { content : '\ea40'; } + &.egg::before { content : '\ea41'; } + &.egg-pod::before { content : '\ea42'; } + &.duel::before { content : '\ea43'; } + &.droplets::before { content : '\ea44'; } + &.droplet::before { content : '\ea45'; } + &.droplet-splash::before { content : '\ea46'; } + &.dripping-sword::before { content : '\ea47'; } + &.dripping-knife::before { content : '\ea48'; } + &.dripping-blade::before { content : '\ea49'; } + &.drill::before { content : '\ea4a'; } + &.dragonfly::before { content : '\ea4b'; } + &.dragon::before { content : '\ea4c'; } + &.dragon-wing::before { content : '\ea4d'; } + &.dragon-breath::before { content : '\ea4e'; } + &.doubled::before { content : '\ea4f'; } + &.double-team::before { content : '\ea50'; } + &.diving-dagger::before { content : '\ea51'; } + &.divert::before { content : '\ea52'; } + &.dinosaur::before { content : '\ea53'; } + &.dice-two::before { content : '\ea54'; } + &.dice-three::before { content : '\ea55'; } + &.dice-six::before { content : '\ea56'; } + &.dice-one::before { content : '\ea57'; } + &.dice-four::before { content : '\ea58'; } + &.dice-five::before { content : '\ea59'; } + &.diamonds::before { content : '\ea5a'; } + &.diamonds-card::before { content : '\ea5b'; } + &.diamond::before { content : '\ea5c'; } + &.desert-skull::before { content : '\ea5d'; } + &.dervish-swords::before { content : '\ea5e'; } + &.demolish::before { content : '\ea5f'; } + &.defibrillate::before { content : '\ea60'; } + &.decapitation::before { content : '\ea61'; } + &.death-skull::before { content : '\ea62'; } + &.dead-tree::before { content : '\ea63'; } + &.daisy::before { content : '\ea64'; } + &.daggers::before { content : '\ea65'; } + &.cycle::before { content : '\ea66'; } + &.cut-palm::before { content : '\ea67'; } + &.cubes::before { content : '\ea68'; } + &.crystals::before { content : '\ea69'; } + &.crystal-wand::before { content : '\ea6a'; } + &.crystal-cluster::before { content : '\ea6b'; } + &.crystal-ball::before { content : '\ea6c'; } + &.crush::before { content : '\ea6d'; } + &.crowned-heart::before { content : '\ea6e'; } + &.crown::before { content : '\ea6f'; } + &.crown-of-thorns::before { content : '\ea70'; } + &.crossed-swords::before { content : '\ea71'; } + &.crossed-sabres::before { content : '\ea72'; } + &.crossed-pistols::before { content : '\ea73'; } + &.crossed-bones::before { content : '\ea74'; } + &.crossed-axes::before { content : '\ea75'; } + &.crossbow::before { content : '\ea76'; } + &.croc-sword::before { content : '\ea77'; } + &.cracked-shield::before { content : '\ea78'; } + &.cracked-helm::before { content : '\ea79'; } + &.crab-claw::before { content : '\ea7a'; } + &.corked-tube::before { content : '\ea7b'; } + &.compass::before { content : '\ea7c'; } + &.cold-heart::before { content : '\ea7d'; } + &.cog::before { content : '\ea7e'; } + &.cog-wheel::before { content : '\ea7f'; } + &.coffee-mug::before { content : '\ea80'; } + &.cluster-bomb::before { content : '\ea81'; } + &.clovers::before { content : '\ea82'; } + &.clovers-card::before { content : '\ea83'; } + &.clover::before { content : '\ea84'; } + &.clockwork::before { content : '\ea85'; } + &.cloak-and-dagger::before { content : '\ea86'; } + &.circular-shield::before { content : '\ea87'; } + &.circular-saw::before { content : '\ea88'; } + &.circle-of-circles::before { content : '\ea89'; } + &.chicken-leg::before { content : '\ea8a'; } + &.chessboard::before { content : '\ea8b'; } + &.chemical-arrow::before { content : '\ea8c'; } + &.cheese::before { content : '\ea8d'; } + &.chain::before { content : '\ea8e'; } + &.cat::before { content : '\ea8f'; } + &.castle-flag::before { content : '\ea90'; } + &.castle-emblem::before { content : '\ea91'; } + &.carrot::before { content : '\ea92'; } + &.capricorn::before { content : '\ea93'; } + &.capitol::before { content : '\ea94'; } + &.cannon-shot::before { content : '\ea95'; } + &.candle::before { content : '\ea96'; } + &.candle-fire::before { content : '\ea97'; } + &.cancer::before { content : '\ea98'; } + &.cancel::before { content : '\ea99'; } + &.campfire::before { content : '\ea9a'; } + &.butterfly::before { content : '\ea9b'; } + &.burst-blob::before { content : '\ea9c'; } + &.burning-meteor::before { content : '\ea9d'; } + &.burning-eye::before { content : '\ea9e'; } + &.burning-embers::before { content : '\ea9f'; } + &.burning-book::before { content : '\eaa0'; } + &.bullets::before { content : '\eaa1'; } + &.bubbling-potion::before { content : '\eaa2'; } + &.broken-skull::before { content : '\eaa3'; } + &.broken-shield::before { content : '\eaa4'; } + &.broken-heart::before { content : '\eaa5'; } + &.broken-bottle::before { content : '\eaa6'; } + &.broken-bone::before { content : '\eaa7'; } + &.broadsword::before { content : '\eaa8'; } + &.broadhead-arrow::before { content : '\eaa9'; } + &.bridge::before { content : '\eaaa'; } + &.brandy-bottle::before { content : '\eaab'; } + &.brain-freeze::before { content : '\eaac'; } + &.bowling-pin::before { content : '\eaad'; } + &.bowie-knife::before { content : '\eaae'; } + &.bottom-right::before { content : '\eaaf'; } + &.bottled-bolt::before { content : '\eab0'; } + &.bottle-vapors::before { content : '\eab1'; } + &.boot-stomp::before { content : '\eab2'; } + &.boomerang::before { content : '\eab3'; } + &.book::before { content : '\eab4'; } + &.bone-knife::before { content : '\eab5'; } + &.bone-bite::before { content : '\eab6'; } + &.bombs::before { content : '\eab7'; } + &.bomb-explosion::before { content : '\eab8'; } + &.bolt-shield::before { content : '\eab9'; } + &.bleeding-hearts::before { content : '\eaba'; } + &.bleeding-eye::before { content : '\eabb'; } + &.blaster::before { content : '\eabc'; } + &.blast::before { content : '\eabd'; } + &.blade-bite::before { content : '\eabe'; } + &.bird-mask::before { content : '\eabf'; } + &.bird-claw::before { content : '\eac0'; } + &.biohazard::before { content : '\eac1'; } + &.bell::before { content : '\eac2'; } + &.beetle::before { content : '\eac3'; } + &.beer::before { content : '\eac4'; } + &.bear-trap::before { content : '\eac5'; } + &.beam-wake::before { content : '\eac6'; } + &.batwings::before { content : '\eac7'; } + &.battery-white::before { content : '\eac8'; } + &.battery-positive::before { content : '\eac9'; } + &.battery-negative::before { content : '\eaca'; } + &.battery-black::before { content : '\eacb'; } + &.battery-75::before { content : '\eacc'; } + &.battery-50::before { content : '\eacd'; } + &.battery-25::before { content : '\eace'; } + &.battery-100::before { content : '\eacf'; } + &.battery-0::before { content : '\ead0'; } + &.batteries::before { content : '\ead1'; } + &.battered-axe::before { content : '\ead2'; } + &.bat-sword::before { content : '\ead3'; } + &.barrier::before { content : '\ead4'; } + &.barbed-arrow::before { content : '\ead5'; } + &.ball::before { content : '\ead6'; } + &.axe::before { content : '\ead7'; } + &.axe-swing::before { content : '\ead8'; } + &.aware::before { content : '\ead9'; } + &.aura::before { content : '\eada'; } + &.arson::before { content : '\eadb'; } + &.arrow-flights::before { content : '\eadc'; } + &.arrow-cluster::before { content : '\eadd'; } + &.aries::before { content : '\eade'; } + &.arena::before { content : '\eadf'; } + &.archery-target::before { content : '\eae0'; } + &.archer::before { content : '\eae1'; } + &.arcane-mask::before { content : '\eae2'; } + &.aquarius::before { content : '\eae3'; } + &.apple::before { content : '\eae4'; } + &.anvil::before { content : '\eae5'; } + &.ankh::before { content : '\eae6'; } + &.angel-wings::before { content : '\eae7'; } + &.anchor::before { content : '\eae8'; } + &.ammo-bag::before { content : '\eae9'; } + &.alligator-clip::before { content : '\eaea'; } + &.all-for-one::before { content : '\eaeb'; } + &.alien-fire::before { content : '\eaec'; } + &.acorn::before { content : '\eaed'; } + &.acid::before { content : '\eaee'; } +} \ No newline at end of file diff --git a/themes/fonts/iconFonts/gameIcons.woff b/themes/fonts/iconFonts/gameIcons.woff new file mode 100644 index 000000000..5982b1829 Binary files /dev/null and b/themes/fonts/iconFonts/gameIcons.woff differ