diff --git a/gulpfile.js b/gulpfile.js index af3a29e75..cd94823e5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,785 +1,795 @@ const gulp = require('gulp'), - cp = require('child_process'), - glob = require('glob'), - fs = require('fs'), - path = require('path'), - p = require('./package.json'), - csv = require('csv-parser'), - zip = require('gulp-zip'), - svgo = require('gulp-svgo'), - outlineStroke = require('svg-outline-stroke'), - iconfont = require('gulp-iconfont'), - template = require('lodash.template'), - sass = require('node-sass'), - cleanCSS = require('clean-css'), - argv = require('minimist')(process.argv.slice(2)), - svgParse = require('parse-svg-path'), - svgpath = require('svgpath'), - svgr = require('@svgr/core').default + cp = require('child_process'), + glob = require('glob'), + fs = require('fs'), + path = require('path'), + p = require('./package.json'), + csv = require('csv-parser'), + zip = require('gulp-zip'), + svgo = require('gulp-svgo'), + outlineStroke = require('svg-outline-stroke'), + iconfont = require('gulp-iconfont'), + template = require('lodash.template'), + sass = require('node-sass'), + cleanCSS = require('clean-css'), + argv = require('minimist')(process.argv.slice(2)), + svgParse = require('parse-svg-path'), + svgpath = require('svgpath'), + svgr = require('@svgr/core').default const compileOptions = { - includeIcons: [], - strokeWidth: null, - fontForge: "fontforge" + includeIcons: [], + strokeWidth: null, + fontForge: 'fontforge' } if (fs.existsSync('./compile-options.json')) { - try { - const tempOptions = require('./compile-options.json') - if (typeof tempOptions !== "object") { - throw "Compile options file does not contain an json object" - } + try { + const tempOptions = require('./compile-options.json') + if (typeof tempOptions !== 'object') { + throw 'Compile options file does not contain an json object' + } - if (typeof tempOptions.includeIcons !== "undefined") { - if (!Array.isArray(tempOptions.includeIcons)) { - throw "property inludeIcons is not an array" - } - compileOptions.includeIcons = tempOptions.includeIcons - } + if (typeof tempOptions.includeIcons !== 'undefined') { + if (!Array.isArray(tempOptions.includeIcons)) { + throw 'property inludeIcons is not an array' + } + compileOptions.includeIcons = tempOptions.includeIcons + } - if (typeof tempOptions.includeCategories !== "undefined") { - if (typeof tempOptions.includeCategories === "string") { - tempOptions.includeCategories = tempOptions.includeCategories.split(' ') - } - if (!Array.isArray(tempOptions.includeCategories)) { - throw "property includeCategories is not an array or string" - } - const tags = Object.entries(require('./tags.json')) - tempOptions.includeCategories.forEach(function (category) { - category = category.charAt(0).toUpperCase() + category.slice(1) - for (const [icon, data] of tags) { - if (data.category === category && compileOptions.includeIcons.indexOf(icon) === -1) { - compileOptions.includeIcons.push(icon) - } - } - }) - } + if (typeof tempOptions.includeCategories !== 'undefined') { + if (typeof tempOptions.includeCategories === 'string') { + tempOptions.includeCategories = tempOptions.includeCategories.split(' ') + } + if (!Array.isArray(tempOptions.includeCategories)) { + throw 'property includeCategories is not an array or string' + } + const tags = Object.entries(require('./tags.json')) + tempOptions.includeCategories.forEach(function(category) { + category = category.charAt(0).toUpperCase() + category.slice(1) + for (const [icon, data] of tags) { + if (data.category === category && compileOptions.includeIcons.indexOf(icon) === -1) { + compileOptions.includeIcons.push(icon) + } + } + }) + } - if (typeof tempOptions.excludeIcons !== "undefined") { - if (!Array.isArray(tempOptions.excludeIcons)) { - throw "property excludeIcons is not an array" - } - compileOptions.includeIcons = compileOptions.includeIcons.filter(function (icon) { - return tempOptions.excludeIcons.indexOf(icon) === -1 - }) - } + if (typeof tempOptions.excludeIcons !== 'undefined') { + if (!Array.isArray(tempOptions.excludeIcons)) { + throw 'property excludeIcons is not an array' + } + compileOptions.includeIcons = compileOptions.includeIcons.filter(function(icon) { + return tempOptions.excludeIcons.indexOf(icon) === -1 + }) + } - if (typeof tempOptions.excludeOffIcons !== "undefined" && tempOptions.excludeOffIcons) { - // Exclude `*-off` icons - compileOptions.includeIcons = compileOptions.includeIcons.filter(function (icon) { - return !icon.endsWith('-off'); - }) - } + if (typeof tempOptions.excludeOffIcons !== 'undefined' && tempOptions.excludeOffIcons) { + // Exclude `*-off` icons + compileOptions.includeIcons = compileOptions.includeIcons.filter(function(icon) { + return !icon.endsWith('-off') + }) + } - if (typeof tempOptions.strokeWidth !== "undefined") { - if (typeof tempOptions.strokeWidth !== "string" && typeof tempOptions.strokeWidth !== "number") { - throw "property strokeWidth is not a string or number" - } - compileOptions.strokeWidth = tempOptions.strokeWidth.toString() - } + if (typeof tempOptions.strokeWidth !== 'undefined') { + if (typeof tempOptions.strokeWidth !== 'string' && typeof tempOptions.strokeWidth !== 'number') { + throw 'property strokeWidth is not a string or number' + } + compileOptions.strokeWidth = tempOptions.strokeWidth.toString() + } - if (typeof tempOptions.fontForge !== "undefined") { - if (typeof tempOptions.fontForge !== "string") { - throw "property fontForge is not a string" - } - compileOptions.fontForge = tempOptions.fontForge - } + if (typeof tempOptions.fontForge !== 'undefined') { + if (typeof tempOptions.fontForge !== 'string') { + throw 'property fontForge is not a string' + } + compileOptions.fontForge = tempOptions.fontForge + } - } catch (error) { - throw `Error reading compile-options.json: ${error}` - } + } catch (error) { + throw `Error reading compile-options.json: ${error}` + } } -async function asyncForEach (array, callback) { - for (let index = 0; index < array.length; index++) { - await callback(array[index], index, array) - } +async function asyncForEach(array, callback) { + for (let index = 0; index < array.length; index++) { + await callback(array[index], index, array) + } } const svgToPng = async (filePath, destination) => { - filePath = path.join(__dirname, filePath) + filePath = path.join(__dirname, filePath) - await cp.exec(`rsvg-convert -h 240 ${filePath} > ${destination}`) + await cp.exec(`rsvg-convert -h 240 ${filePath} > ${destination}`) } const createScreenshot = async (filePath) => { - await cp.exec(`rsvg-convert -x 2 -y 2 ${filePath} > ${filePath.replace('.svg', '.png')}`) - await cp.exec(`rsvg-convert -x 4 -y 4 ${filePath} > ${filePath.replace('.svg', '@2x.png')}`) + await cp.exec(`rsvg-convert -x 2 -y 2 ${filePath} > ${filePath.replace('.svg', '.png')}`) + await cp.exec(`rsvg-convert -x 4 -y 4 ${filePath} > ${filePath.replace('.svg', '@2x.png')}`) } -const printChangelog = function (newIcons, modifiedIcons, renamedIcons, pretty = false) { - if (newIcons.length > 0) { - if (pretty) { - console.log(`### ${newIcons.length} new icons:`) +const printChangelog = function(newIcons, modifiedIcons, renamedIcons, pretty = false) { + if (newIcons.length > 0) { + if (pretty) { + console.log(`### ${newIcons.length} new icons:`) - newIcons.forEach(function (icon, i) { - console.log(`- \`${icon}\``) - }) - } else { - let str = '' - str += `${newIcons.length} new icons: ` + newIcons.forEach(function(icon, i) { + console.log(`- \`${icon}\``) + }) + } else { + let str = '' + str += `${newIcons.length} new icons: ` - newIcons.forEach(function (icon, i) { - str += `\`${icon}\`` + newIcons.forEach(function(icon, i) { + str += `\`${icon}\`` - if ((i + 1) <= newIcons.length - 1) { - str += ', ' - } - }) + if ((i + 1) <= newIcons.length - 1) { + str += ', ' + } + }) - console.log(str) - } + console.log(str) + } - console.log('') - } + console.log('') + } - if (modifiedIcons.length > 0) { - let str = '' - str += `Fixed icons: ` + if (modifiedIcons.length > 0) { + let str = '' + str += `Fixed icons: ` - modifiedIcons.forEach(function (icon, i) { - str += `\`${icon}\`` + modifiedIcons.forEach(function(icon, i) { + str += `\`${icon}\`` - if ((i + 1) <= modifiedIcons.length - 1) { - str += ', ' - } - }) + if ((i + 1) <= modifiedIcons.length - 1) { + str += ', ' + } + }) - console.log(str) - console.log('') - } + console.log(str) + console.log('') + } - if (renamedIcons.length > 0) { - console.log(`Renamed icons: `) + if (renamedIcons.length > 0) { + console.log(`Renamed icons: `) - renamedIcons.forEach(function (icon, i) { - console.log(`- \`${icon[0]}\` renamed to \`${icon[1]}\``) - }) - } + renamedIcons.forEach(function(icon, i) { + console.log(`- \`${icon[0]}\` renamed to \`${icon[1]}\``) + }) + } } -const generateIconsPreview = function (files, destFile, cb, columnsCount = 19, paddingOuter = 7) { +const generateIconsPreview = function(files, destFile, cb, columnsCount = 19, paddingOuter = 7) { - const padding = 20, - iconSize = 24 + const padding = 20, + iconSize = 24 - const iconsCount = files.length, - rowsCount = Math.ceil(iconsCount / columnsCount), - width = columnsCount * (iconSize + padding) + 2 * paddingOuter - padding, - height = rowsCount * (iconSize + padding) + 2 * paddingOuter - padding + const iconsCount = files.length, + rowsCount = Math.ceil(iconsCount / columnsCount), + width = columnsCount * (iconSize + padding) + 2 * paddingOuter - padding, + height = rowsCount * (iconSize + padding) + 2 * paddingOuter - padding - let svgContentSymbols = '', - svgContentIcons = '', - x = paddingOuter, - y = paddingOuter + let svgContentSymbols = '', + svgContentIcons = '', + x = paddingOuter, + y = paddingOuter - files.forEach(function (file, i) { - let name = path.basename(file, '.svg') + files.forEach(function(file, i) { + let name = path.basename(file, '.svg') - let svgFile = fs.readFileSync(file), - svgFileContent = svgFile.toString() + let svgFile = fs.readFileSync(file), + svgFileContent = svgFile.toString() - svgFileContent = svgFileContent - .replace('', '') - .replace(/\n\s+/g, '') + svgFileContent = svgFileContent.replace('', ''). + replace(/\n\s+/g, '') - svgContentSymbols += `\t${svgFileContent}\n` - svgContentIcons += `\t\n` + svgContentSymbols += `\t${svgFileContent}\n` + svgContentIcons += `\t\n` - x += padding + iconSize + x += padding + iconSize - if (i % columnsCount === columnsCount - 1) { - x = paddingOuter - y += padding + iconSize - } - }) + if (i % columnsCount === columnsCount - 1) { + x = paddingOuter + y += padding + iconSize + } + }) - const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n` + const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n` - fs.writeFileSync(destFile, svgContent) - createScreenshot(destFile) + fs.writeFileSync(destFile, svgContent) + createScreenshot(destFile) - cb() + cb() } //********************************************************************************************* -gulp.task('iconfont-prepare', function (cb) { - cp.exec('mkdir -p icons-outlined/ && rm -fd ./icons-outlined/* && mkdir -p && rm -fd ./iconfont/*', function () { - cb() - }) +gulp.task('iconfont-prepare', function(cb) { + cp.exec('mkdir -p icons-outlined/ && rm -fd ./icons-outlined/* && mkdir -p && rm -fd ./iconfont/*', function() { + cb() + }) }) -gulp.task('iconfont-clean', function (cb) { - cp.exec('rm -rf ./icons-outlined', function () { - cb() - }) +gulp.task('iconfont-clean', function(cb) { + cp.exec('rm -rf ./icons-outlined', function() { + cb() + }) }) -gulp.task('iconfont-svg-outline', function (cb) { +gulp.task('iconfont-svg-outline', function(cb) { - cp.exec('mkdir -p icons-outlined/ && rm -fd ./icons-outlined/*', async () => { - let files = glob.sync("./icons/*.svg") + cp.exec('mkdir -p icons-outlined/ && rm -fd ./icons-outlined/*', async () => { + let files = glob.sync('./icons/*.svg') - let iconfontUnicode = {} + let iconfontUnicode = {} - if (fs.existsSync('./.build/iconfont-unicode.json')) { - iconfontUnicode = require('./.build/iconfont-unicode') - } + if (fs.existsSync('./.build/iconfont-unicode.json')) { + iconfontUnicode = require('./.build/iconfont-unicode') + } - await asyncForEach(files, async function (file) { + await asyncForEach(files, async function(file) { - const name = path.basename(file, '.svg') + const name = path.basename(file, '.svg') - if (compileOptions.includeIcons.length === 0 || compileOptions.includeIcons.indexOf(name) >= 0) { + if (compileOptions.includeIcons.length === 0 || compileOptions.includeIcons.indexOf(name) >= 0) { - unicode = iconfontUnicode[name] + unicode = iconfontUnicode[name] - await console.log('Stroke for:', file, unicode) + await console.log('Stroke for:', file, unicode) - let strokedSVG = fs.readFileSync(file).toString() + let strokedSVG = fs.readFileSync(file).toString() - strokedSVG = strokedSVG - .replace('width="24"', 'width="1000"') - .replace('height="24"', 'height="1000"') + strokedSVG = strokedSVG.replace('width="24"', 'width="1000"').replace('height="24"', 'height="1000"') - if (compileOptions.strokeWidth) { - strokedSVG = strokedSVG.replace('stroke-width="2"', `stroke-width="${compileOptions.strokeWidth}"`) - } + if (compileOptions.strokeWidth) { + strokedSVG = strokedSVG.replace('stroke-width="2"', `stroke-width="${compileOptions.strokeWidth}"`) + } - await outlineStroke(strokedSVG, { - optCurve: false, - steps: 4, - round: 0, - centerHorizontally: true, - fixedWidth: true, - color: 'black' - }).then(outlined => { - if (unicode) { - fs.writeFileSync(`icons-outlined/u${unicode.toUpperCase()}-${name}.svg`, outlined) - } else { - fs.writeFileSync(`icons-outlined/${name}.svg`, outlined) - } - }).catch(error => console.log(error)) - } + await outlineStroke(strokedSVG, { + optCurve: false, + steps: 4, + round: 0, + centerHorizontally: true, + fixedWidth: true, + color: 'black' + }).then(outlined => { + if (unicode) { + fs.writeFileSync(`icons-outlined/u${unicode.toUpperCase()}-${name}.svg`, outlined) + } else { + fs.writeFileSync(`icons-outlined/${name}.svg`, outlined) + } + }).catch(error => console.log(error)) + } - }) + }) - cb() - }) + cb() + }) }) -gulp.task('iconfont-optimize', function () { - return gulp.src('icons-outlined/*') - .pipe(svgo()) - .pipe(gulp.dest('icons-outlined')) +gulp.task('iconfont-optimize', function() { + return gulp.src('icons-outlined/*').pipe(svgo()).pipe(gulp.dest('icons-outlined')) }) -gulp.task('iconfont-fix-outline', function (cb) { - var fontForge = compileOptions.fontForge +gulp.task('iconfont-fix-outline', function(cb) { + var fontForge = compileOptions.fontForge - // correct svg outline directions in a child process using fontforge - const generate = cp.spawn(fontForge, ["-lang=py", "-script", "./fix-outline.py"], { stdio: 'inherit' }) - generate.on("close", function (code) { - console.log(`Correcting svg outline directions exited with code ${code}`) - if (!code) { - cb() - } - }) + // correct svg outline directions in a child process using fontforge + const generate = cp.spawn(fontForge, ['-lang=py', '-script', './fix-outline.py'], { stdio: 'inherit' }) + generate.on('close', function(code) { + console.log(`Correcting svg outline directions exited with code ${code}`) + if (!code) { + cb() + } + }) }) -gulp.task('iconfont', function () { - let maxUnicode = 59905 +gulp.task('iconfont', function() { + let maxUnicode = 59905 - if (fs.existsSync('./.build/iconfont-unicode.json')) { - const iconfontUnicode = require('./.build/iconfont-unicode') + if (fs.existsSync('./.build/iconfont-unicode.json')) { + const iconfontUnicode = require('./.build/iconfont-unicode') - for (const name in iconfontUnicode) { - const unicode = parseInt(iconfontUnicode[name], 16) + for (const name in iconfontUnicode) { + const unicode = parseInt(iconfontUnicode[name], 16) - maxUnicode = Math.max(maxUnicode, unicode) - } - } + maxUnicode = Math.max(maxUnicode, unicode) + } + } - maxUnicode = maxUnicode + 1 + maxUnicode = maxUnicode + 1 - return gulp.src(['icons-outlined/*.svg']) - .pipe(iconfont({ - fontName: 'tabler-icons', - prependUnicode: true, - formats: ['ttf', 'eot', 'woff', 'woff2', 'svg'], - normalize: true, - startUnicode: maxUnicode, - fontHeight: 1000, - descent: 100, - ascent: 986.5 - })) - .on('glyphs', function (glyphs, options) { - //glyphs json - let glyphsObject = {} + return gulp.src(['icons-outlined/*.svg']).pipe(iconfont({ + fontName: 'tabler-icons', + prependUnicode: true, + formats: ['ttf', 'eot', 'woff', 'woff2', 'svg'], + normalize: true, + startUnicode: maxUnicode, + fontHeight: 1000, + descent: 100, + ascent: 986.5 + })).on('glyphs', function(glyphs, options) { + //glyphs json + let glyphsObject = {} - //sort glypht - glyphs = glyphs.sort(function (a, b) { - return ('' + a.name).localeCompare(b.name) - }) + //sort glypht + glyphs = glyphs.sort(function(a, b) { + return ('' + a.name).localeCompare(b.name) + }) - glyphs.forEach(function (glyph) { - glyphsObject[glyph.name] = glyph.unicode[0].codePointAt(0).toString(16) - }) + glyphs.forEach(function(glyph) { + glyphsObject[glyph.name] = glyph.unicode[0].codePointAt(0).toString(16) + }) - fs.writeFileSync(`./.build/iconfont-unicode.json`, JSON.stringify(glyphsObject)) + fs.writeFileSync(`./.build/iconfont-unicode.json`, JSON.stringify(glyphsObject)) - //css - options['glyphs'] = glyphs - options['v'] = p.version + //css + options['glyphs'] = glyphs + options['v'] = p.version - const compiled = template(fs.readFileSync('.build/iconfont.scss').toString()) - const result = compiled(options) + const compiled = template(fs.readFileSync('.build/iconfont.scss').toString()) + const result = compiled(options) - fs.writeFileSync('iconfont/tabler-icons.scss', result) + fs.writeFileSync('iconfont/tabler-icons.scss', result) - //html - const compiledHtml = template(fs.readFileSync('.build/iconfont.html').toString()) - const resultHtml = compiledHtml(options) + //html + const compiledHtml = template(fs.readFileSync('.build/iconfont.html').toString()) + const resultHtml = compiledHtml(options) - fs.writeFileSync('iconfont/tabler-icons.html', resultHtml) - }) - .pipe(gulp.dest('iconfont/fonts')) + fs.writeFileSync('iconfont/tabler-icons.html', resultHtml) + }).pipe(gulp.dest('iconfont/fonts')) }) -gulp.task('iconfont-css', function (cb) { - sass.render({ - file: 'iconfont/tabler-icons.scss', - outputStyle: 'expanded' - }, function (err, result) { - fs.writeFileSync('iconfont/tabler-icons.css', result.css) +gulp.task('iconfont-css', function(cb) { + sass.render({ + file: 'iconfont/tabler-icons.scss', + outputStyle: 'expanded' + }, function(err, result) { + fs.writeFileSync('iconfont/tabler-icons.css', result.css) - const cleanOutput = new cleanCSS({}).minify(result.css) - fs.writeFileSync('iconfont/tabler-icons.min.css', cleanOutput.styles) + const cleanOutput = new cleanCSS({}).minify(result.css) + fs.writeFileSync('iconfont/tabler-icons.min.css', cleanOutput.styles) - cb() - }) + cb() + }) }) -gulp.task('update-tags-unicode', function (cb) { - let tags = require('./tags.json'), - unicodes = require('./.build/iconfont-unicode.json') +gulp.task('update-tags-unicode', function(cb) { + let tags = require('./tags.json'), + unicodes = require('./.build/iconfont-unicode.json') - for (let i in tags) { - tags[i] = { - ...tags[i], - unicode: unicodes[i], - } - } + for (let i in tags) { + tags[i] = { + ...tags[i], + unicode: unicodes[i] + } + } - console.log('tags', tags) + console.log('tags', tags) - fs.writeFileSync(`tags.json`, JSON.stringify(tags, null, 2)) + fs.writeFileSync(`tags.json`, JSON.stringify(tags, null, 2)) - cb() + cb() }) -gulp.task('build-iconfont', gulp.series('iconfont-prepare', 'iconfont-svg-outline', 'iconfont-fix-outline', 'iconfont-optimize', 'iconfont', 'iconfont-css', 'iconfont-clean', 'update-tags-unicode')) +gulp.task('build-iconfont', + gulp.series('iconfont-prepare', 'iconfont-svg-outline', 'iconfont-fix-outline', 'iconfont-optimize', 'iconfont', 'iconfont-css', 'iconfont-clean', + 'update-tags-unicode')) -gulp.task('build-zip', function () { - const version = p.version +gulp.task('build-zip', function() { + const version = p.version - return gulp.src('{icons/**/*,icons-png/**/*,icons-react/**/*,iconfont/**/*,tabler-sprite.svg,tabler-sprite-nostroke.svg}') - .pipe(zip(`tabler-icons-${version}.zip`)) - .pipe(gulp.dest('packages-zip')) + return gulp.src('{icons/**/*,icons-png/**/*,icons-react/**/*,iconfont/**/*,tabler-sprite.svg,tabler-sprite-nostroke.svg}'). + pipe(zip(`tabler-icons-${version}.zip`)). + pipe(gulp.dest('packages-zip')) }) -gulp.task('build-jekyll', function (cb) { - const jekyll = cp.spawn("bundle", ["exec", "jekyll", "build"], { stdio: 'inherit' }) - jekyll.on("close", function (code) { - console.log(`Jekyll build exited with code ${code}`) - if (!code) { - cb() - } - }) +gulp.task('build-jekyll', function(cb) { + const jekyll = cp.spawn('bundle', ['exec', 'jekyll', 'build'], { stdio: 'inherit' }) + jekyll.on('close', function(code) { + console.log(`Jekyll build exited with code ${code}`) + if (!code) { + cb() + } + }) }) -gulp.task('build-copy', function (cb) { - cp.exec('mkdir -p icons/ && rm -fd ./icons/* && cp ./_site/icons/* ./icons && cp ./_site/tags.json .', function () { - cb() - }) +gulp.task('build-copy', function(cb) { + cp.exec('mkdir -p icons/ && rm -fd ./icons/* && cp ./_site/icons/* ./icons && cp ./_site/tags.json .', function() { + cb() + }) }) -gulp.task('clean-png', function (cb) { - cp.exec('rm -fd ./icons-png/*', function () { - cb() - }) +gulp.task('clean-png', function(cb) { + cp.exec('rm -fd ./icons-png/*', function() { + cb() + }) }) -gulp.task('icons-sprite', function (cb) { - glob("_site/icons/*.svg", {}, function (er, files) { +gulp.task('icons-sprite', function(cb) { + glob('_site/icons/*.svg', {}, function(er, files) { - let svgContent = '' + let svgContent = '' - files.forEach(function (file, i) { - let name = path.basename(file, '.svg'), - svgFile = fs.readFileSync(file), - svgFileContent = svgFile.toString() + files.forEach(function(file, i) { + let name = path.basename(file, '.svg'), + svgFile = fs.readFileSync(file), + svgFileContent = svgFile.toString() - svgFileContent = svgFileContent - .replace(/]+>/g, '') - .replace(/<\/svg>/g, '') - .replace(/\n+/g, '') - .replace(/>\s+<') - .trim() + svgFileContent = svgFileContent.replace(/]+>/g, '').replace(/<\/svg>/g, '').replace(/\n+/g, '').replace(/>\s+<').trim() - svgContent += `${svgFileContent}` - }) + svgContent += `${svgFileContent}` + }) - let svg = `${svgContent}` + let svg = `${svgContent}` - fs.writeFileSync('tabler-sprite.svg', svg) - fs.writeFileSync('tabler-sprite-nostroke.svg', svg.replace(/stroke-width="2"\s/g, '')) - cb() - }) + fs.writeFileSync('tabler-sprite.svg', svg) + fs.writeFileSync('tabler-sprite-nostroke.svg', svg.replace(/stroke-width="2"\s/g, '')) + cb() + }) }) -gulp.task('icons-preview', function (cb) { - glob("icons/*.svg", {}, function (er, files) { - generateIconsPreview(files, '.github/icons.svg', cb) - }) +gulp.task('icons-preview', function(cb) { + glob('icons/*.svg', {}, function(er, files) { + generateIconsPreview(files, '.github/icons.svg', cb) + }) }) -gulp.task('icons-stroke', gulp.series('build-jekyll', function (cb) { +gulp.task('icons-stroke', gulp.series('build-jekyll', function(cb) { - const icon = "disabled", - strokes = ['.5', '1', '1.5', '2', '2.75'], - svgFileContent = fs.readFileSync(`icons/${icon}.svg`).toString(), - padding = 16, - paddingOuter = 3, - iconSize = 32, - width = 914, - height = iconSize + paddingOuter * 2 + const icon = 'disabled', + strokes = ['.5', '1', '1.5', '2', '2.75'], + svgFileContent = fs.readFileSync(`icons/${icon}.svg`).toString(), + padding = 16, + paddingOuter = 3, + iconSize = 32, + width = 914, + height = iconSize + paddingOuter * 2 - let svgContentSymbols = '', - svgContentIcons = '', - x = paddingOuter + let svgContentSymbols = '', + svgContentIcons = '', + x = paddingOuter - strokes.forEach(function (stroke) { - let svgFileContentStroked = svgFileContent - .replace('', '') - .replace(/\n\s+/g, '') + strokes.forEach(function(stroke) { + let svgFileContentStroked = svgFileContent.replace('', ''). + replace(/\n\s+/g, '') - svgContentSymbols += `\t${svgFileContentStroked}\n` - svgContentIcons += `\t\n` + svgContentSymbols += `\t${svgFileContentStroked}\n` + svgContentIcons += `\t\n` - x += padding + iconSize - }) + x += padding + iconSize + }) - const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n` + const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n` - fs.writeFileSync('.github/icons-stroke.svg', svgContent) - createScreenshot('.github/icons-stroke.svg') - cb() + fs.writeFileSync('.github/icons-stroke.svg', svgContent) + createScreenshot('.github/icons-stroke.svg') + cb() })) -gulp.task('optimize', function (cb) { - const addFloats = function (n1, n2) { - return Math.round((parseFloat(n1) + parseFloat(n2)) * 1000) / 1000 - } +gulp.task('optimize', function(cb) { + const addFloats = function(n1, n2) { + return Math.round((parseFloat(n1) + parseFloat(n2)) * 1000) / 1000 + } - const optimizePath = function (path) { - let transformed = svgpath(path) - .rel() - .round(3) - .toString() + const optimizePath = function(path) { + let transformed = svgpath(path).rel().round(3).toString() - return svgParse(transformed).map(function (a) { - return a.join(' ') - }).join(' ') - } + return svgParse(transformed).map(function(a) { + return a.join(' ') + }).join(' ') + } - glob("src/_icons/*.svg", {}, function (er, files) { + glob('src/_icons/*.svg', {}, function(er, files) { - files.forEach(function (file, i) { - let svgFile = fs.readFileSync(file), - svgFileContent = svgFile.toString() + files.forEach(function(file, i) { + let svgFile = fs.readFileSync(file), + svgFileContent = svgFile.toString() - svgFileContent = svgFileContent - .replace(/><\/(polyline|line|rect|circle|path)>/g, '/>') - .replace(/rx="([^"]+)"\s+ry="\1"/g, 'rx="$1"') - .replace(/]+)?\/>/g, '') - .replace(/\s?\/>/g, ' />') - .replace(/\n\s*<(line|circle|path|polyline|rect)/g, "\n <$1") - .replace(/polyline points="([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s([0-9.]+)"/g, 'line x1="$1" y1="$2" x2="$3" y2="$4"') - .replace(/<\/(polyline|line|rect|circle|path)>/g, '/>'). + replace(/rx="([^"]+)"\s+ry="\1"/g, 'rx="$1"'). + replace(/]+)?\/>/g, ''). + replace(/\s?\/>/g, ' />'). + replace(/\n\s*<(line|circle|path|polyline|rect)/g, '\n <$1'). + replace(/polyline points="([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s([0-9.]+)"/g, 'line x1="$1" y1="$2" x2="$3" y2="$4"'). + replace(/ src\/_icons\/([a-z0-9-]+).svg/g, function (m, fileNameBefore, fileNameAfter) { - renamedIcons.push([fileNameBefore, fileNameAfter]) - }) + ret.replace(/renamed:\s+src\/_icons\/([a-z0-9-]+).svg -> src\/_icons\/([a-z0-9-]+).svg/g, function(m, fileNameBefore, fileNameAfter) { + renamedIcons.push([fileNameBefore, fileNameAfter]) + }) - modifiedIcons = modifiedIcons.filter(function (el) { - return newIcons.indexOf(el) < 0 - }) + modifiedIcons = modifiedIcons.filter(function(el) { + return newIcons.indexOf(el) < 0 + }) - printChangelog(newIcons, modifiedIcons, renamedIcons) + printChangelog(newIcons, modifiedIcons, renamedIcons) - cb() - }) + cb() + }) }) -gulp.task('changelog', function (cb) { - const version = argv['latest-tag'] || `v${p.version}` +gulp.task('changelog', function(cb) { + const version = argv['latest-tag'] || `v${p.version}` - if (version) { - cp.exec(`git diff ${version} HEAD --name-status`, function (err, ret) { + if (version) { + cp.exec(`git diff ${version} HEAD --name-status`, function(err, ret) { - let newIcons = [], modifiedIcons = [], renamedIcons = [] + let newIcons = [], modifiedIcons = [], renamedIcons = [] - ret.replace(/A\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) { - newIcons.push(fileName) - }) + ret.replace(/A\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function(m, fileName) { + newIcons.push(fileName) + }) - ret.replace(/M\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) { - modifiedIcons.push(fileName) - }) + ret.replace(/M\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function(m, fileName) { + modifiedIcons.push(fileName) + }) - ret.replace(/R[0-9]+\s+src\/_icons\/([a-z0-9-]+)\.svg\s+src\/_icons\/([a-z0-9-]+).svg/g, function (m, fileNameBefore, fileNameAfter) { - renamedIcons.push([fileNameBefore, fileNameAfter]) - }) + ret.replace(/R[0-9]+\s+src\/_icons\/([a-z0-9-]+)\.svg\s+src\/_icons\/([a-z0-9-]+).svg/g, function(m, fileNameBefore, fileNameAfter) { + renamedIcons.push([fileNameBefore, fileNameAfter]) + }) - modifiedIcons = modifiedIcons.filter(function (el) { - return newIcons.indexOf(el) < 0 - }) + modifiedIcons = modifiedIcons.filter(function(el) { + return newIcons.indexOf(el) < 0 + }) - printChangelog(newIcons, modifiedIcons, renamedIcons, true) + printChangelog(newIcons, modifiedIcons, renamedIcons, true) - cb() - }) - } + cb() + }) + } }) -gulp.task('changelog-image', function (cb) { - const version = argv['latest-version'] || `${p.version}`, - newVersion = argv['new-version'] || `${p.version}` +gulp.task('changelog-image', function(cb) { + const version = argv['latest-version'] || `${p.version}`, + newVersion = argv['new-version'] || `${p.version}` - if (version) { - cp.exec(`git diff v${version} HEAD --name-status`, function (err, ret) { + if (version) { + cp.exec(`git diff v${version} HEAD --name-status`, function(err, ret) { - let newIcons = [] + let newIcons = [] - ret.replace(/[A]\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) { - newIcons.push(fileName) - }) + ret.replace(/[A]\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function(m, fileName) { + newIcons.push(fileName) + }) - newIcons = newIcons.map(function (icon) { - return `./icons/${icon}.svg` - }) + newIcons = newIcons.map(function(icon) { + return `./icons/${icon}.svg` + }) - if (newIcons.length > 0) { - generateIconsPreview(newIcons, `.github/tabler-icons-${newVersion}.svg`, cb, 6, 24) - } else { - cb() - } - }) - } else { - cb() - } + if (newIcons.length > 0) { + generateIconsPreview(newIcons, `.github/tabler-icons-${newVersion}.svg`, cb, 6, 24) + } else { + cb() + } + }) + } else { + cb() + } }) gulp.task('svg-to-png', gulp.series('build-jekyll', 'clean-png', async (cb) => { - let files = glob.sync("./icons/*.svg") + let files = glob.sync('./icons/*.svg') - await asyncForEach(files, async function (file, i) { - let name = path.basename(file, '.svg') + await asyncForEach(files, async function(file, i) { + let name = path.basename(file, '.svg') - console.log('name', name) + console.log('name', name) - await svgToPng(file, `icons-png/${name}.png`) - }) + await svgToPng(file, `icons-png/${name}.png`) + }) - cb() + cb() })) -gulp.task('clean-react', function (cb) { - cp.exec('rm -fd ./icons-react/* && mkdir icons-react/icons-js', function () { - cb() - }) +gulp.task('clean-react', function(cb) { + cp.exec('rm -fd ./icons-react/* && mkdir icons-react/icons-js', function() { + cb() + }) }) -gulp.task('svg-to-react', gulp.series('clean-react', async function (cb) { - let files = glob.sync("./icons/*.svg") +gulp.task('svg-to-react', gulp.series('clean-react', async function(cb) { + let files = glob.sync('./icons/*.svg') - const camelize = function (str) { - str = str.replace(/-/g, ' ') + const camelize = function(str) { + str = str.replace(/-/g, ' ') - return str.replace(/(?:^\w|[A-Z]|\b\w)/g, function (word, index) { - return word.toUpperCase() - }).replace(/\s+/g, '') - } + return str.replace(/(?:^\w|[A-Z]|\b\w)/g, function(word, index) { + return word.toUpperCase() + }).replace(/\s+/g, '') + } - const componentName = function (file) { - file = path.basename(file, '.svg') - file = camelize(`Icon ${file}`) + const componentName = function(file) { + file = path.basename(file, '.svg') + file = camelize(`Icon ${file}`) - return file - } + return file + } - const optimizeSvgCode = function (svgCode) { - return svgCode.replace('', '') - } + const optimizeSvgCode = function(svgCode) { + return svgCode.replace('', '') + } - let indexCode = '', - indexDCode = `import { FC, SVGAttributes } from 'react';\n\ninterface TablerIconProps extends SVGAttributes { color?: string; size?: string | number; stroke?: string | number; }\n\ntype TablerIcon = FC;\n\n` + let indexCode = '', + indexDCode = `import { FC, SVGAttributes } from 'react';\n\ninterface TablerIconProps extends SVGAttributes { color?: string; size?: string | number; stroke?: string | number; }\n\ntype TablerIcon = FC;\n\n` - await asyncForEach(files, async function (file) { - const svgCode = optimizeSvgCode(fs.readFileSync(file).toString()), - fileName = path.basename(file, '.svg') + '.js', - iconComponentName = componentName(file) + await asyncForEach(files, async function(file) { + const svgCode = optimizeSvgCode(fs.readFileSync(file).toString()), + fileName = path.basename(file, '.svg') + '.js', + iconComponentName = componentName(file) - await svgr(svgCode, { - icon: false, - svgProps: { width: '{size}', height: '{size}', strokeWidth: '{stroke}', stroke: '{color}' }, - template: require('./.build/svgr-template') - }, { componentName: iconComponentName }).then(jsCode => { - fs.writeFileSync('icons-react/icons-js/' + fileName, jsCode) - indexCode += `export { default as ${iconComponentName} } from './icons-js/${fileName}';\n` - indexDCode += `export const ${iconComponentName}: TablerIcon;\n` - }) + await svgr(svgCode, { + icon: false, + svgProps: { width: '{size}', height: '{size}', strokeWidth: '{stroke}', stroke: '{color}' }, + template: require('./.build/svgr-template') + }, { componentName: iconComponentName }).then(jsCode => { + fs.writeFileSync('icons-react/icons-js/' + fileName, jsCode) + indexCode += `export { default as ${iconComponentName} } from './icons-js/${fileName}';\n` + indexDCode += `export const ${iconComponentName}: TablerIcon;\n` + }) - fs.writeFileSync('icons-react/index.js', indexCode) - fs.writeFileSync('icons-react/index.d.ts', indexDCode) - }) + fs.writeFileSync('icons-react/index.js', indexCode) + fs.writeFileSync('icons-react/index.d.ts', indexDCode) + }) - cb() + cb() })) -const setVersions = function (version, files) { - for (const i in files) { - const file = files[i] +const setVersions = function(version, files) { + for (const i in files) { + const file = files[i] - if (fs.existsSync(`src/_icons/${file}.svg`)) { - let svgFile = fs.readFileSync(`src/_icons/${file}.svg`).toString() + if (fs.existsSync(`src/_icons/${file}.svg`)) { + let svgFile = fs.readFileSync(`src/_icons/${file}.svg`).toString() - if (!svgFile.match(/version: ([0-9.]+)/i)) { - svgFile = svgFile.replace(/---\n/i, function (m) { - return `version: "${version}"\n${m}` - }) + if (!svgFile.match(/version: ([0-9.]+)/i)) { + svgFile = svgFile.replace(/---\n/i, function(m) { + return `version: "${version}"\n${m}` + }) - fs.writeFileSync(`src/_icons/${file}.svg`, svgFile) - } else { - console.log(`File ${file} already has version`) - } + fs.writeFileSync(`src/_icons/${file}.svg`, svgFile) + } else { + console.log(`File ${file} already has version`) + } - } else { - console.log(`File ${file} doesn't exists`) - } - } + } else { + console.log(`File ${file} doesn't exists`) + } + } } -gulp.task('update-icons-version', function (cb) { +gulp.task('update-icons-version', function(cb) { - const version = argv['latest-version'] || `${p.version}`, - newVersion = argv['new-version'] || `${p.version}` + const version = argv['latest-version'] || `${p.version}`, + newVersion = argv['new-version'] || `${p.version}` - if (version) { - cp.exec(`grep -RiL "version: " ./src/_icons/*.svg`, function (err, ret) { + if (version) { + cp.exec(`grep -RiL "version: " ./src/_icons/*.svg`, function(err, ret) { - let newIcons = [] + let newIcons = [] - ret.replace(/src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) { - newIcons.push(fileName) - }) + ret.replace(/src\/_icons\/([a-z0-9-]+)\.svg/g, function(m, fileName) { + newIcons.push(fileName) + }) - if (newIcons.length) { - setVersions(newVersion.replace(/\.0$/, ''), newIcons) - } - }) - } + if (newIcons.length) { + setVersions(newVersion.replace(/\.0$/, ''), newIcons) + } + }) + } - cb() + cb() }) -gulp.task('import-tags', function (cb) { - fs.createReadStream('./_import.csv') - .pipe(csv({ - headers: false, - separator: "\t" - })) - .on('data', (row) => { - console.log(row[0], row[1]) +gulp.task('import-categories', function(cb) { + let files = glob.sync('./src/_icons/*-off.svg') - const filename = `src/_icons/${row[0]}.svg` + files.forEach(function(file, i) { + const fileOriginal = file.replace(/\-off.svg$/, '.svg') - let data = fs.readFileSync(filename).toString() - data = data.replace(/(---[\s\S]+?---)/, function (m, headerContent) { + if (fs.existsSync(fileOriginal)) { + const dataOriginal = fs.readFileSync(fileOriginal).toString() - headerContent = headerContent.replace(/tags: .*\n/, '') - headerContent = headerContent.replace(/---/, `---\ntags: [${row[1]}]`) + const categoryOriginal = dataOriginal.match(/category: ([a-zA-Z-]+)/) - return headerContent - }) + if(categoryOriginal) { + console.log('categoryOriginal', categoryOriginal[1]) - fs.writeFileSync(filename, data) - }) - .on('end', () => { - console.log('CSV file successfully processed') - }) - cb() + let data = fs.readFileSync(fileOriginal).toString() + data = data.replace(/(---[\s\S]+?---)/, function(m, headerContent) { + + headerContent = headerContent.replace(/category: .*\n/, '') + headerContent = headerContent.replace(/---/, `---\ncategory: ${categoryOriginal[1]}`) + + return headerContent + }) + + fs.writeFileSync(fileOriginal, data) + } + } + }) + + cb() }) -gulp.task("build-react", function (cb) { - cp.exec("npm run build-react", function () { - cb() - }) +gulp.task('import-tags', function(cb) { + fs.createReadStream('./_import.csv').pipe(csv({ + headers: false, + separator: '\t' + })).on('data', (row) => { + console.log(row[0], row[1]) + + const filename = `src/_icons/${row[0]}.svg` + + let data = fs.readFileSync(filename).toString() + data = data.replace(/(---[\s\S]+?---)/, function(m, headerContent) { + + headerContent = headerContent.replace(/tags: .*\n/, '') + headerContent = headerContent.replace(/---/, `---\ntags: [${row[1]}]`) + + return headerContent + }) + + fs.writeFileSync(filename, data) + + }).on('end', () => { + console.log('CSV file successfully processed') + }) + cb() }) -gulp.task('build', gulp.series('optimize', 'update-icons-version', 'build-jekyll', 'build-copy', 'icons-sprite', 'svg-to-react', 'build-react', 'icons-preview', 'svg-to-png', 'build-iconfont', 'changelog-image', 'build-zip')) +gulp.task('build-react', function(cb) { + cp.exec('npm run build-react', function() { + cb() + }) +}) + +gulp.task('build', + gulp.series('optimize', 'update-icons-version', 'build-jekyll', 'build-copy', 'icons-sprite', 'svg-to-react', 'build-react', 'icons-preview', 'svg-to-png', + 'build-iconfont', 'changelog-image', 'build-zip')) diff --git a/src/_icons/abacus.svg b/src/_icons/abacus.svg index 6ab343397..27b05bd3a 100644 --- a/src/_icons/abacus.svg +++ b/src/_icons/abacus.svg @@ -1,5 +1,6 @@ --- version: "1.58" +category: Math --- diff --git a/src/_icons/access-point.svg b/src/_icons/access-point.svg index a67d4a2e6..15fd00079 100644 --- a/src/_icons/access-point.svg +++ b/src/_icons/access-point.svg @@ -1,6 +1,6 @@ --- -tags: [device, hosts, airwaves, wireless, network] category: Devices +tags: [device, hosts, airwaves, wireless, network] version: "1.25" --- diff --git a/src/_icons/adjustments-off.svg b/src/_icons/adjustments-off.svg index 7a32424bf..b026be9d2 100644 --- a/src/_icons/adjustments-off.svg +++ b/src/_icons/adjustments-off.svg @@ -1,4 +1,5 @@ --- +category: System version: "1.62" --- diff --git a/src/_icons/anchor-off.svg b/src/_icons/anchor-off.svg index a30f7bd72..7448bf7d8 100644 --- a/src/_icons/anchor-off.svg +++ b/src/_icons/anchor-off.svg @@ -1,5 +1,6 @@ --- version: "1.65" +category: Map --- diff --git a/src/_icons/archive-off.svg b/src/_icons/archive-off.svg index 35f5c1038..4b5d14453 100644 --- a/src/_icons/archive-off.svg +++ b/src/_icons/archive-off.svg @@ -1,5 +1,6 @@ --- version: "1.62" +category: Document --- diff --git a/src/_icons/archive.svg b/src/_icons/archive.svg index 3782d8764..51769ccca 100644 --- a/src/_icons/archive.svg +++ b/src/_icons/archive.svg @@ -1,4 +1,5 @@ --- +category: Document tags: [box, index, records, old, collect] version: "1.0" --- diff --git a/src/_icons/artboard-off.svg b/src/_icons/artboard-off.svg index 6a64e331a..9aefc306b 100644 --- a/src/_icons/artboard-off.svg +++ b/src/_icons/artboard-off.svg @@ -1,4 +1,5 @@ --- +category: Design version: "1.62" --- diff --git a/src/_icons/artboard.svg b/src/_icons/artboard.svg index e922770e8..9a6aceffb 100644 --- a/src/_icons/artboard.svg +++ b/src/_icons/artboard.svg @@ -1,4 +1,5 @@ --- +category: Design tags: [graphics, drawing, design, art, canvas] version: "1.1" --- diff --git a/src/_icons/aspect-ratio.svg b/src/_icons/aspect-ratio.svg index f89e24d38..65f6e11a1 100644 --- a/src/_icons/aspect-ratio.svg +++ b/src/_icons/aspect-ratio.svg @@ -1,6 +1,6 @@ --- -tags: [size, dimension, width, height, orientation] category: Media +tags: [size, dimension, width, height, orientation] version: "1.27" --- diff --git a/src/_icons/ball-football.svg b/src/_icons/ball-football.svg index 3a3df238c..b221e05d6 100644 --- a/src/_icons/ball-football.svg +++ b/src/_icons/ball-football.svg @@ -1,6 +1,6 @@ --- -tags: [sport, game, sportsman, play, match, pitch] category: Sport +tags: [sport, game, sportsman, play, match, pitch] version: "1.39" --- diff --git a/src/_icons/baseline.svg b/src/_icons/baseline.svg index 5d67a618a..119f5cf58 100644 --- a/src/_icons/baseline.svg +++ b/src/_icons/baseline.svg @@ -1,5 +1,6 @@ --- version: "1.55" +category: Text --- diff --git a/src/_icons/bike.svg b/src/_icons/bike.svg index 255d9baee..5fc8ae0a5 100644 --- a/src/_icons/bike.svg +++ b/src/_icons/bike.svg @@ -1,6 +1,6 @@ --- -tags: [cycling, bicycle, sport, wheel] category: Vehicles +tags: [cycling, bicycle, sport, wheel] version: "1.0" --- diff --git a/src/_icons/biohazard.svg b/src/_icons/biohazard.svg index 775892f67..037452f2f 100644 --- a/src/_icons/biohazard.svg +++ b/src/_icons/biohazard.svg @@ -1,6 +1,6 @@ --- -tags: [danger, radioactive, toxic, microbe, virus, biotoxin] category: Symbols +tags: [danger, radioactive, toxic, microbe, virus, biotoxin] version: "1.18" --- diff --git a/src/_icons/bold.svg b/src/_icons/bold.svg index 4774ee36b..e7bcb0d89 100644 --- a/src/_icons/bold.svg +++ b/src/_icons/bold.svg @@ -1,6 +1,6 @@ --- -tags: [font, style, boldface] category: Text +tags: [font, style, boldface] version: "1.3" --- diff --git a/src/_icons/book-2.svg b/src/_icons/book-2.svg index d9134f199..3f5949da1 100644 --- a/src/_icons/book-2.svg +++ b/src/_icons/book-2.svg @@ -1,5 +1,6 @@ --- version: "1.50" +category: Document --- diff --git a/src/_icons/book-download.svg b/src/_icons/book-download.svg index b27d2e554..a25dbb86e 100644 --- a/src/_icons/book-download.svg +++ b/src/_icons/book-download.svg @@ -1,5 +1,6 @@ --- version: "1.59" +category: Document --- diff --git a/src/_icons/book-off.svg b/src/_icons/book-off.svg index 7fda13ac9..7994442ee 100644 --- a/src/_icons/book-off.svg +++ b/src/_icons/book-off.svg @@ -1,5 +1,6 @@ --- version: "1.63" +category: Document --- diff --git a/src/_icons/book-upload.svg b/src/_icons/book-upload.svg index 2f7a39003..702ad296a 100644 --- a/src/_icons/book-upload.svg +++ b/src/_icons/book-upload.svg @@ -1,5 +1,6 @@ --- version: "1.59" +category: Document --- diff --git a/src/_icons/bookmarks-off.svg b/src/_icons/bookmarks-off.svg index 3ff6ca6e4..6fc30ab6b 100644 --- a/src/_icons/bookmarks-off.svg +++ b/src/_icons/bookmarks-off.svg @@ -1,5 +1,6 @@ --- version: "1.63" +category: Document --- diff --git a/src/_icons/bookmarks.svg b/src/_icons/bookmarks.svg index b289527a4..62589db85 100644 --- a/src/_icons/bookmarks.svg +++ b/src/_icons/bookmarks.svg @@ -1,6 +1,6 @@ --- -tags: [read, clip, marker, tag] category: Document +tags: [read, clip, marker, tag] version: "1.24" --- diff --git a/src/_icons/books-off.svg b/src/_icons/books-off.svg index a4dd38342..debe4d160 100644 --- a/src/_icons/books-off.svg +++ b/src/_icons/books-off.svg @@ -1,5 +1,6 @@ --- version: "1.63" +category: Document --- diff --git a/src/_icons/books.svg b/src/_icons/books.svg index ecacfc740..1bf607dfe 100644 --- a/src/_icons/books.svg +++ b/src/_icons/books.svg @@ -1,4 +1,5 @@ --- +category: Document version: "1.52" --- diff --git a/src/_icons/braces-off.svg b/src/_icons/braces-off.svg index 438a2e8be..d3f035256 100644 --- a/src/_icons/braces-off.svg +++ b/src/_icons/braces-off.svg @@ -1,5 +1,6 @@ --- version: "1.63" +category: Math --- diff --git a/src/_icons/braces.svg b/src/_icons/braces.svg index 7929ca8cf..9439a7678 100644 --- a/src/_icons/braces.svg +++ b/src/_icons/braces.svg @@ -1,7 +1,7 @@ --- +category: Math tags: [punctuation, additional, information] version: "1.6" -category: Math --- diff --git a/src/_icons/brackets-off.svg b/src/_icons/brackets-off.svg index 807e6d407..46eff960a 100644 --- a/src/_icons/brackets-off.svg +++ b/src/_icons/brackets-off.svg @@ -1,5 +1,6 @@ --- version: "1.63" +category: Math --- diff --git a/src/_icons/brackets.svg b/src/_icons/brackets.svg index c3184f5ff..ac6ea9330 100644 --- a/src/_icons/brackets.svg +++ b/src/_icons/brackets.svg @@ -1,7 +1,7 @@ --- +category: Math tags: [punctuation, additional, information] version: "1.6" -category: Math --- diff --git a/src/_icons/brand-lastfm.svg b/src/_icons/brand-lastfm.svg index 887d62521..94c55da71 100644 --- a/src/_icons/brand-lastfm.svg +++ b/src/_icons/brand-lastfm.svg @@ -1,5 +1,6 @@ --- version: "1.53" +category: Brand --- diff --git a/src/_icons/browser-off.svg b/src/_icons/browser-off.svg index a6bfcb244..11ba121de 100644 --- a/src/_icons/browser-off.svg +++ b/src/_icons/browser-off.svg @@ -1,5 +1,6 @@ --- version: "1.63" +category: Devices --- diff --git a/src/_icons/browser.svg b/src/_icons/browser.svg index ec08b3d37..a290a311b 100644 --- a/src/_icons/browser.svg +++ b/src/_icons/browser.svg @@ -1,7 +1,7 @@ --- +category: Devices tags: [internet, web, display] version: "1.5" -category: Devices --- diff --git a/src/_icons/capture.svg b/src/_icons/capture.svg index 36a1a72b0..2117c4626 100644 --- a/src/_icons/capture.svg +++ b/src/_icons/capture.svg @@ -1,6 +1,6 @@ --- -tags: [photo, photographer, sharpen] category: Media +tags: [photo, photographer, sharpen] version: "1.11" --- diff --git a/src/_icons/car.svg b/src/_icons/car.svg index 55645a49a..fd44d3485 100644 --- a/src/_icons/car.svg +++ b/src/_icons/car.svg @@ -1,6 +1,6 @@ --- -tags: [vehicle, drive, driver, engine, motor, journey, trip] category: Vehicles +tags: [vehicle, drive, driver, engine, motor, journey, trip] version: "1.5" --- diff --git a/src/_icons/cardboards-off.svg b/src/_icons/cardboards-off.svg index 8286e6a9d..16141a577 100644 --- a/src/_icons/cardboards-off.svg +++ b/src/_icons/cardboards-off.svg @@ -1,5 +1,6 @@ --- version: "1.63" +category: Devices --- diff --git a/src/_icons/cardboards.svg b/src/_icons/cardboards.svg index ae56f3b43..470f80633 100644 --- a/src/_icons/cardboards.svg +++ b/src/_icons/cardboards.svg @@ -1,4 +1,5 @@ --- +category: Devices tags: [vr, virtual reality, watch, viewer, technology] version: "1.33" --- diff --git a/src/_icons/ce.svg b/src/_icons/ce.svg index 51c1a3a3b..59a9b8d95 100644 --- a/src/_icons/ce.svg +++ b/src/_icons/ce.svg @@ -1,6 +1,6 @@ --- -tags: [sign, marking, administration, administrative, conformity, health, safety, environment, protection, standards, product, europe, eea, economic, area, manufacture] category: Symbols +tags: [sign, marking, administration, administrative, conformity, health, safety, environment, protection, standards, product, europe, eea, economic, area, manufacture] version: "1.33" --- diff --git a/src/_icons/certificate.svg b/src/_icons/certificate.svg index fd0c95b94..733b5ec33 100644 --- a/src/_icons/certificate.svg +++ b/src/_icons/certificate.svg @@ -1,7 +1,7 @@ --- +category: Document tags: [document, official, attest, signature, birth, death, gift, authenticity, seal, course, complete, qualification] version: "1.33" -category: Document --- diff --git a/src/_icons/circuit-ground.svg b/src/_icons/circuit-ground.svg index 961c65c81..40b633fe9 100644 --- a/src/_icons/circuit-ground.svg +++ b/src/_icons/circuit-ground.svg @@ -1,4 +1,5 @@ --- +category: Electrical version: "1.74" --- diff --git a/src/_icons/clock-2.svg b/src/_icons/clock-2.svg index 4e7f83d95..7c9c99d78 100644 --- a/src/_icons/clock-2.svg +++ b/src/_icons/clock-2.svg @@ -1,5 +1,6 @@ --- version: "1.61" +category: System --- diff --git a/src/_icons/clock-off.svg b/src/_icons/clock-off.svg index 84ca14ab5..183c3c550 100644 --- a/src/_icons/clock-off.svg +++ b/src/_icons/clock-off.svg @@ -1,5 +1,6 @@ --- version: "1.63" +category: System --- diff --git a/src/_icons/clock.svg b/src/_icons/clock.svg index 5c850f005..32205989d 100644 --- a/src/_icons/clock.svg +++ b/src/_icons/clock.svg @@ -1,4 +1,5 @@ --- +category: System tags: [time, watch, alarm] version: "1.0" --- diff --git a/src/_icons/cloud.svg b/src/_icons/cloud.svg index a2c430da0..4639a2879 100644 --- a/src/_icons/cloud.svg +++ b/src/_icons/cloud.svg @@ -1,6 +1,6 @@ --- -tags: [weather, online] category: Weather +tags: [weather, online] version: "1.0" --- diff --git a/src/_icons/coffee-off.svg b/src/_icons/coffee-off.svg index 90bf9c9d7..420c88888 100644 --- a/src/_icons/coffee-off.svg +++ b/src/_icons/coffee-off.svg @@ -1,5 +1,6 @@ --- version: "1.65" +category: Food --- diff --git a/src/_icons/color-picker.svg b/src/_icons/color-picker.svg index 18f6416a9..d49114478 100644 --- a/src/_icons/color-picker.svg +++ b/src/_icons/color-picker.svg @@ -1,6 +1,6 @@ --- -tags: [timbre, saturation, paint, image, brush, choice, selection, sample] category: Design +tags: [timbre, saturation, paint, image, brush, choice, selection, sample] version: "1.7" --- diff --git a/src/_icons/columns.svg b/src/_icons/columns.svg index 61086ab9b..8d2d0bd3b 100644 --- a/src/_icons/columns.svg +++ b/src/_icons/columns.svg @@ -1,6 +1,6 @@ --- -tags: [text, gap, table] category: Text +tags: [text, gap, table] version: "1.3" --- diff --git a/src/_icons/components-off.svg b/src/_icons/components-off.svg index 36568387f..b6072f3b9 100644 --- a/src/_icons/components-off.svg +++ b/src/_icons/components-off.svg @@ -1,4 +1,5 @@ --- +category: Design version: "1.63" --- diff --git a/src/_icons/container.svg b/src/_icons/container.svg index 58f296de1..581148ed4 100644 --- a/src/_icons/container.svg +++ b/src/_icons/container.svg @@ -1,6 +1,6 @@ --- -tags: [element, html, block, store, inside] category: Design +tags: [element, html, block, store, inside] version: "1.39" --- diff --git a/src/_icons/copyleft.svg b/src/_icons/copyleft.svg index 01e1789ec..ef41c674f 100644 --- a/src/_icons/copyleft.svg +++ b/src/_icons/copyleft.svg @@ -1,7 +1,7 @@ --- +category: Symbols tags: [licence, license] version: "1.11" -category: Symbols --- diff --git a/src/_icons/copyright.svg b/src/_icons/copyright.svg index 9cb4aa9ec..56382976b 100644 --- a/src/_icons/copyright.svg +++ b/src/_icons/copyright.svg @@ -1,7 +1,7 @@ --- +category: Symbols tags: [licence, license] version: "1.0" -category: Symbols --- diff --git a/src/_icons/cross.svg b/src/_icons/cross.svg index 309f5639b..8d93c35c7 100644 --- a/src/_icons/cross.svg +++ b/src/_icons/cross.svg @@ -1,6 +1,6 @@ --- -version: "1.47" category: Symbols +version: "1.47" --- diff --git a/src/_icons/current-location.svg b/src/_icons/current-location.svg index 48ff0e806..bd7975fc2 100644 --- a/src/_icons/current-location.svg +++ b/src/_icons/current-location.svg @@ -1,6 +1,6 @@ --- -tags: [localization, maps, navigation, pin, target] category: Map +tags: [localization, maps, navigation, pin, target] version: "1.22" --- diff --git a/src/_icons/dental.svg b/src/_icons/dental.svg index 5386a9db1..affcf545d 100644 --- a/src/_icons/dental.svg +++ b/src/_icons/dental.svg @@ -1,6 +1,6 @@ --- -version: "1.55" category: Health +version: "1.55" --- diff --git a/src/_icons/device-computer-camera.svg b/src/_icons/device-computer-camera.svg index 48fff36e2..b0e1b342e 100644 --- a/src/_icons/device-computer-camera.svg +++ b/src/_icons/device-computer-camera.svg @@ -1,6 +1,6 @@ --- -tags: [video, meeting, record, recording, webcam] category: Devices +tags: [video, meeting, record, recording, webcam] version: "1.39" --- diff --git a/src/_icons/device-desktop.svg b/src/_icons/device-desktop.svg index b93d87d42..23330eafc 100644 --- a/src/_icons/device-desktop.svg +++ b/src/_icons/device-desktop.svg @@ -1,6 +1,6 @@ --- -tags: [monitor, computer, imac] category: Devices +tags: [monitor, computer, imac] version: "1.0" --- diff --git a/src/_icons/device-heart-monitor.svg b/src/_icons/device-heart-monitor.svg index 760f8468b..bff4628bb 100644 --- a/src/_icons/device-heart-monitor.svg +++ b/src/_icons/device-heart-monitor.svg @@ -1,5 +1,6 @@ --- version: "1.58" +category: Devices --- diff --git a/src/_icons/device-laptop.svg b/src/_icons/device-laptop.svg index 373a7fd85..9aed71113 100644 --- a/src/_icons/device-laptop.svg +++ b/src/_icons/device-laptop.svg @@ -1,6 +1,6 @@ --- -tags: [workstation, mac, notebook, portable, screen, computer] category: Devices +tags: [workstation, mac, notebook, portable, screen, computer] version: "1.2" --- diff --git a/src/_icons/device-mobile.svg b/src/_icons/device-mobile.svg index 36ebe4bb6..cfe6a05a2 100644 --- a/src/_icons/device-mobile.svg +++ b/src/_icons/device-mobile.svg @@ -1,6 +1,6 @@ --- -tags: [iphone, phone, smartphone, cellphone] category: Devices +tags: [iphone, phone, smartphone, cellphone] version: "1.0" --- diff --git a/src/_icons/device-nintendo-off.svg b/src/_icons/device-nintendo-off.svg index 6f7293eec..7fecb0a59 100644 --- a/src/_icons/device-nintendo-off.svg +++ b/src/_icons/device-nintendo-off.svg @@ -1,4 +1,5 @@ --- +category: Devices version: "1.65" --- diff --git a/src/_icons/device-speaker-off.svg b/src/_icons/device-speaker-off.svg index 238ee108c..a05a7e65d 100644 --- a/src/_icons/device-speaker-off.svg +++ b/src/_icons/device-speaker-off.svg @@ -1,5 +1,6 @@ --- version: "1.65" +category: Devices --- diff --git a/src/_icons/device-speaker.svg b/src/_icons/device-speaker.svg index 4b6694017..2436aeb68 100644 --- a/src/_icons/device-speaker.svg +++ b/src/_icons/device-speaker.svg @@ -1,6 +1,6 @@ --- -tags: [sound, music, loud, audio, media] category: Devices +tags: [sound, music, loud, audio, media] version: "1.1" --- diff --git a/src/_icons/device-tablet.svg b/src/_icons/device-tablet.svg index f7ab29cba..512ed56d0 100644 --- a/src/_icons/device-tablet.svg +++ b/src/_icons/device-tablet.svg @@ -1,6 +1,6 @@ --- -tags: [ipad, mobile, touchscreen, portable] category: Devices +tags: [ipad, mobile, touchscreen, portable] version: "1.0" --- diff --git a/src/_icons/device-tv.svg b/src/_icons/device-tv.svg index fff50cf01..9df84735b 100644 --- a/src/_icons/device-tv.svg +++ b/src/_icons/device-tv.svg @@ -1,6 +1,6 @@ --- -tags: [screen, display, movie, film, watch, audio, video, media] category: Devices +tags: [screen, display, movie, film, watch, audio, video, media] version: "1.0" --- diff --git a/src/_icons/device-watch.svg b/src/_icons/device-watch.svg index 7d9126945..3df91283d 100644 --- a/src/_icons/device-watch.svg +++ b/src/_icons/device-watch.svg @@ -1,6 +1,6 @@ --- -tags: [arm, hour, date, minutes, sec., timer] category: Devices +tags: [arm, hour, date, minutes, sec., timer] version: "1.8" --- diff --git a/src/_icons/devices-off.svg b/src/_icons/devices-off.svg index 4d889fa90..52c427d80 100644 --- a/src/_icons/devices-off.svg +++ b/src/_icons/devices-off.svg @@ -1,5 +1,6 @@ --- version: "1.58" +category: Devices --- diff --git a/src/_icons/devices-pc.svg b/src/_icons/devices-pc.svg index e41e01fd5..879c42497 100644 --- a/src/_icons/devices-pc.svg +++ b/src/_icons/devices-pc.svg @@ -1,6 +1,6 @@ --- -tags: [computer, monitor, keyboard] category: Devices +tags: [computer, monitor, keyboard] version: "1.39" --- diff --git a/src/_icons/devices.svg b/src/_icons/devices.svg index 6491085eb..8d2dd9a6a 100644 --- a/src/_icons/devices.svg +++ b/src/_icons/devices.svg @@ -1,6 +1,6 @@ --- -tags: [computer, laptop, notebook, tablet, phone, mobile, mac, iphone] category: Devices +tags: [computer, laptop, notebook, tablet, phone, mobile, mac, iphone] version: "1.3" --- diff --git a/src/_icons/disabled.svg b/src/_icons/disabled.svg index 309aec56b..67efed996 100644 --- a/src/_icons/disabled.svg +++ b/src/_icons/disabled.svg @@ -1,7 +1,7 @@ --- +category: Health tags: [wheelchair, handicapped] version: "1.0" -category: Health --- diff --git a/src/_icons/dna.svg b/src/_icons/dna.svg index f1304dd9f..e6ffa9a9c 100644 --- a/src/_icons/dna.svg +++ b/src/_icons/dna.svg @@ -1,7 +1,7 @@ --- +category: Health tags: [genetics, biology, chain, genetic, code, virus, organism] version: "1.39" -category: Health --- diff --git a/src/_icons/drone.svg b/src/_icons/drone.svg index 179585bad..d99285965 100644 --- a/src/_icons/drone.svg +++ b/src/_icons/drone.svg @@ -1,6 +1,6 @@ --- -tags: [device, fly, aircraft, surveillance, control, autonomous] category: Vehicles +tags: [device, fly, aircraft, surveillance, control, autonomous] version: "1.33" --- diff --git a/src/_icons/eraser.svg b/src/_icons/eraser.svg index 90d464061..4b279635d 100644 --- a/src/_icons/eraser.svg +++ b/src/_icons/eraser.svg @@ -1,6 +1,6 @@ --- -tags: [delete, remove, eliminate, wipe-out] category: Text +tags: [delete, remove, eliminate, wipe-out] version: "1.3" --- diff --git a/src/_icons/face-mask.svg b/src/_icons/face-mask.svg index 0f5381e48..da0f64196 100644 --- a/src/_icons/face-mask.svg +++ b/src/_icons/face-mask.svg @@ -1,6 +1,6 @@ --- -version: "1.49" category: Health +version: "1.49" --- diff --git a/src/_icons/feather.svg b/src/_icons/feather.svg index dd027821b..ba4934310 100644 --- a/src/_icons/feather.svg +++ b/src/_icons/feather.svg @@ -1,7 +1,7 @@ --- +category: Nature tags: [bird, animal, nature] version: "1.39" -category: Nature --- diff --git a/src/_icons/file.svg b/src/_icons/file.svg index 203a9ef8c..ca2cbb97f 100644 --- a/src/_icons/file.svg +++ b/src/_icons/file.svg @@ -1,6 +1,6 @@ --- -tags: [paper, new] category: Document +tags: [paper, new] version: "1.0" --- diff --git a/src/_icons/files.svg b/src/_icons/files.svg index 707c64773..3b5787681 100644 --- a/src/_icons/files.svg +++ b/src/_icons/files.svg @@ -1,6 +1,6 @@ --- -tags: [forms, documents, stack, letter] category: Document +tags: [forms, documents, stack, letter] version: "1.38" --- diff --git a/src/_icons/flag-2.svg b/src/_icons/flag-2.svg index 15c1169e2..4796e9cb9 100644 --- a/src/_icons/flag-2.svg +++ b/src/_icons/flag-2.svg @@ -1,6 +1,6 @@ --- -tags: [banner, pin, report, map, warning, alert] category: Map +tags: [banner, pin, report, map, warning, alert] version: "1.39" --- diff --git a/src/_icons/flag.svg b/src/_icons/flag.svg index ddee13a0f..133a597a0 100644 --- a/src/_icons/flag.svg +++ b/src/_icons/flag.svg @@ -1,6 +1,6 @@ --- -tags: [banner, pin, report, map, warning, alert] category: Map +tags: [banner, pin, report, map, warning, alert] version: "1.0" --- diff --git a/src/_icons/flask.svg b/src/_icons/flask.svg index 937771acf..ff1112811 100644 --- a/src/_icons/flask.svg +++ b/src/_icons/flask.svg @@ -1,7 +1,7 @@ --- +category: Health tags: [liquid, container, glass, chemistry] version: "1.6" -category: Health --- diff --git a/src/_icons/folder.svg b/src/_icons/folder.svg index ef132566a..b728cca5a 100644 --- a/src/_icons/folder.svg +++ b/src/_icons/folder.svg @@ -1,6 +1,6 @@ --- -tags: [cancel, "no", directory, dir] category: Document +tags: [cancel, "no", directory, dir] version: "1.0" --- diff --git a/src/_icons/folders.svg b/src/_icons/folders.svg index 5819e6cea..8304912ff 100644 --- a/src/_icons/folders.svg +++ b/src/_icons/folders.svg @@ -1,6 +1,6 @@ --- -tags: [directory, dir, clone, copy] category: Document +tags: [directory, dir, clone, copy] version: "1.0" --- diff --git a/src/_icons/fountain-off.svg b/src/_icons/fountain-off.svg index 9ebf6b12b..fa0a4061f 100644 --- a/src/_icons/fountain-off.svg +++ b/src/_icons/fountain-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Math --- diff --git a/src/_icons/fountain.svg b/src/_icons/fountain.svg index 25efd9e58..7492744ab 100644 --- a/src/_icons/fountain.svg +++ b/src/_icons/fountain.svg @@ -1,4 +1,5 @@ --- +category: Math version: "1.61" --- diff --git a/src/_icons/function.svg b/src/_icons/function.svg index 511555527..5e84a77a3 100644 --- a/src/_icons/function.svg +++ b/src/_icons/function.svg @@ -1,4 +1,5 @@ --- +category: Math version: "1.72" --- diff --git a/src/_icons/gas-station.svg b/src/_icons/gas-station.svg index 18522af1c..781b5efe7 100644 --- a/src/_icons/gas-station.svg +++ b/src/_icons/gas-station.svg @@ -1,6 +1,6 @@ --- -tags: [fuel, oil, cars, vehicles, shop, distributor] category: Map +tags: [fuel, oil, cars, vehicles, shop, distributor] category: Vehicles version: "1.14" --- diff --git a/src/_icons/golf.svg b/src/_icons/golf.svg index 6b4caa2ba..5a2938e32 100644 --- a/src/_icons/golf.svg +++ b/src/_icons/golf.svg @@ -1,6 +1,6 @@ --- -tags: [game, ball, play, hole, club-and-ball, stroke, luxury, pitch] category: Sport +tags: [game, ball, play, hole, club-and-ball, stroke, luxury, pitch] version: "1.34" --- diff --git a/src/_icons/hand-finger.svg b/src/_icons/hand-finger.svg index 49601367d..66f77b261 100644 --- a/src/_icons/hand-finger.svg +++ b/src/_icons/hand-finger.svg @@ -1,6 +1,6 @@ --- -tags: [point, show, index, forefinger, body, human, palm] category: Gestures +tags: [point, show, index, forefinger, body, human, palm] version: "1.39" --- diff --git a/src/_icons/heading.svg b/src/_icons/heading.svg index 6c39379d2..f937529ce 100644 --- a/src/_icons/heading.svg +++ b/src/_icons/heading.svg @@ -1,6 +1,6 @@ --- -tags: [main, text, headline, style, styling, html] category: Text +tags: [main, text, headline, style, styling, html] version: "1.39" --- diff --git a/src/_icons/heart-off.svg b/src/_icons/heart-off.svg index fc95429e7..b10387fa2 100644 --- a/src/_icons/heart-off.svg +++ b/src/_icons/heart-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Shapes --- diff --git a/src/_icons/hexagon.svg b/src/_icons/hexagon.svg index 98210b2e8..6cfdfb5c5 100644 --- a/src/_icons/hexagon.svg +++ b/src/_icons/hexagon.svg @@ -1,6 +1,6 @@ --- -tags: [shape, geometric, math, 2D] category: Shapes +tags: [shape, geometric, math, 2D] version: "1.8" --- diff --git a/src/_icons/hourglass-empty.svg b/src/_icons/hourglass-empty.svg index 79e69ef7c..98efb9c16 100644 --- a/src/_icons/hourglass-empty.svg +++ b/src/_icons/hourglass-empty.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: System --- diff --git a/src/_icons/hourglass-high.svg b/src/_icons/hourglass-high.svg index bc8498f3b..7b5e3bae2 100644 --- a/src/_icons/hourglass-high.svg +++ b/src/_icons/hourglass-high.svg @@ -1,5 +1,6 @@ --- version: "1.60" +category: System --- diff --git a/src/_icons/hourglass-low.svg b/src/_icons/hourglass-low.svg index f7f14b371..4526a54c0 100644 --- a/src/_icons/hourglass-low.svg +++ b/src/_icons/hourglass-low.svg @@ -1,5 +1,6 @@ --- version: "1.60" +category: System --- diff --git a/src/_icons/hourglass-off.svg b/src/_icons/hourglass-off.svg index 958c9d6e5..e69775351 100644 --- a/src/_icons/hourglass-off.svg +++ b/src/_icons/hourglass-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: System --- diff --git a/src/_icons/hourglass.svg b/src/_icons/hourglass.svg index 8e124bd23..f384020a3 100644 --- a/src/_icons/hourglass.svg +++ b/src/_icons/hourglass.svg @@ -1,4 +1,5 @@ --- +category: System version: "1.47" --- diff --git a/src/_icons/ice-cream.svg b/src/_icons/ice-cream.svg index b6667b582..66afeb286 100644 --- a/src/_icons/ice-cream.svg +++ b/src/_icons/ice-cream.svg @@ -1,7 +1,7 @@ --- +category: Food tags: [candy, dessert, frozen, sweet] version: "1.0" -category: Food --- diff --git a/src/_icons/keyboard.svg b/src/_icons/keyboard.svg index 8cead7b41..5e6dbeb2a 100644 --- a/src/_icons/keyboard.svg +++ b/src/_icons/keyboard.svg @@ -1,6 +1,6 @@ --- -tags: [computer, laptop, device, type] category: Devices +tags: [computer, laptop, device, type] version: "1.6" --- diff --git a/src/_icons/leaf-off.svg b/src/_icons/leaf-off.svg index 94fe5b501..07a5db4e5 100644 --- a/src/_icons/leaf-off.svg +++ b/src/_icons/leaf-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Nature --- diff --git a/src/_icons/leaf.svg b/src/_icons/leaf.svg index b7bff9fb5..91fa778d6 100644 --- a/src/_icons/leaf.svg +++ b/src/_icons/leaf.svg @@ -1,6 +1,6 @@ --- -tags: [nature, plant, tree, autumn, fall, greenery, flower, forest, garden] category: Nature +tags: [nature, plant, tree, autumn, fall, greenery, flower, forest, garden] version: "1.29" --- diff --git a/src/_icons/mail-fast.svg b/src/_icons/mail-fast.svg index f3dc2c879..1b748a535 100644 --- a/src/_icons/mail-fast.svg +++ b/src/_icons/mail-fast.svg @@ -1,5 +1,6 @@ --- version: "1.58" +category: Communication --- diff --git a/src/_icons/mail-off.svg b/src/_icons/mail-off.svg index e0980f996..33e4dfb1b 100644 --- a/src/_icons/mail-off.svg +++ b/src/_icons/mail-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Communication --- diff --git a/src/_icons/mask.svg b/src/_icons/mask.svg index d7c47c8d3..830cfba20 100644 --- a/src/_icons/mask.svg +++ b/src/_icons/mask.svg @@ -1,6 +1,6 @@ --- -tags: [edit, layer, mask, tool, design] category: Design +tags: [edit, layer, mask, tool, design] version: "1.39" --- diff --git a/src/_icons/math-function.svg b/src/_icons/math-function.svg index 2954f0cbf..5a4c181a2 100644 --- a/src/_icons/math-function.svg +++ b/src/_icons/math-function.svg @@ -1,6 +1,6 @@ --- -tags: sdfsfg category: Math +tags: sdfsfg version: "1.39" --- diff --git a/src/_icons/medical-cross-off.svg b/src/_icons/medical-cross-off.svg index ee9ace2c0..b7bac0554 100644 --- a/src/_icons/medical-cross-off.svg +++ b/src/_icons/medical-cross-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Map --- diff --git a/src/_icons/medical-cross.svg b/src/_icons/medical-cross.svg index 2e8837ccc..5bd98a3c1 100644 --- a/src/_icons/medical-cross.svg +++ b/src/_icons/medical-cross.svg @@ -1,6 +1,6 @@ --- -tags: [sign, hospital, help, indication] category: Map +tags: [sign, hospital, help, indication] version: "1.10" --- diff --git a/src/_icons/message-code.svg b/src/_icons/message-code.svg index c3875b8ad..ce0a0e4a8 100644 --- a/src/_icons/message-code.svg +++ b/src/_icons/message-code.svg @@ -1,5 +1,6 @@ --- version: "1.54" +category: Communication --- diff --git a/src/_icons/message-language.svg b/src/_icons/message-language.svg index 2b1ba95f1..b1f000272 100644 --- a/src/_icons/message-language.svg +++ b/src/_icons/message-language.svg @@ -1,5 +1,6 @@ --- version: "1.48" +category: Communication --- diff --git a/src/_icons/moon.svg b/src/_icons/moon.svg index ac72dee85..581079374 100644 --- a/src/_icons/moon.svg +++ b/src/_icons/moon.svg @@ -1,6 +1,6 @@ --- -tags: [night, dark mode] category: Weather +tags: [night, dark mode] version: "1.0" --- diff --git a/src/_icons/mouse.svg b/src/_icons/mouse.svg index 9e849d19b..f357fae36 100644 --- a/src/_icons/mouse.svg +++ b/src/_icons/mouse.svg @@ -1,7 +1,7 @@ --- +category: Devices tags: [pointer, cursor, device] version: "1.0" -category: Devices --- diff --git a/src/_icons/notification-off.svg b/src/_icons/notification-off.svg index e730d87b9..b58bafe3a 100644 --- a/src/_icons/notification-off.svg +++ b/src/_icons/notification-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: System --- diff --git a/src/_icons/notification.svg b/src/_icons/notification.svg index 80970a64d..2e6a3f012 100644 --- a/src/_icons/notification.svg +++ b/src/_icons/notification.svg @@ -1,4 +1,5 @@ --- +category: System tags: [bell, alarm, reminder, important] version: "1.0" --- diff --git a/src/_icons/octagon.svg b/src/_icons/octagon.svg index 9f60223ad..d5c67aa21 100644 --- a/src/_icons/octagon.svg +++ b/src/_icons/octagon.svg @@ -1,6 +1,6 @@ --- -tags: [shape, geometric, math, 2D, building, government] category: Shapes +tags: [shape, geometric, math, 2D, building, government] version: "1.18" --- diff --git a/src/_icons/parachute.svg b/src/_icons/parachute.svg index dcd024ca9..3d90dd459 100644 --- a/src/_icons/parachute.svg +++ b/src/_icons/parachute.svg @@ -1,6 +1,6 @@ --- -tags: [plane, aircraft, land, float, pilot] category: Vehicles +tags: [plane, aircraft, land, float, pilot] version: "1.33" --- diff --git a/src/_icons/pennant-2.svg b/src/_icons/pennant-2.svg index 20d752d65..07d15bc26 100644 --- a/src/_icons/pennant-2.svg +++ b/src/_icons/pennant-2.svg @@ -1,5 +1,6 @@ --- version: "1.58" +category: Map --- diff --git a/src/_icons/pennant-off.svg b/src/_icons/pennant-off.svg index a6b28d10c..ab1859cf9 100644 --- a/src/_icons/pennant-off.svg +++ b/src/_icons/pennant-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Map --- diff --git a/src/_icons/picture-in-picture.svg b/src/_icons/picture-in-picture.svg index cf0961733..ba74b7771 100644 --- a/src/_icons/picture-in-picture.svg +++ b/src/_icons/picture-in-picture.svg @@ -1,6 +1,6 @@ --- -tags: [size, photo, elements, adjust, image] category: Media +tags: [size, photo, elements, adjust, image] version: "1.27" --- diff --git a/src/_icons/pig-off.svg b/src/_icons/pig-off.svg index fd8b56e11..a72ec17f0 100644 --- a/src/_icons/pig-off.svg +++ b/src/_icons/pig-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Animals --- diff --git a/src/_icons/pig.svg b/src/_icons/pig.svg index 15cd4b21e..ae8729384 100644 --- a/src/_icons/pig.svg +++ b/src/_icons/pig.svg @@ -1,4 +1,5 @@ --- +category: Animals version: "1.43" --- diff --git a/src/_icons/pill.svg b/src/_icons/pill.svg index 2110d5654..af47b21a8 100644 --- a/src/_icons/pill.svg +++ b/src/_icons/pill.svg @@ -1,7 +1,7 @@ --- +category: Health version: "1.1" tags: [drug, medication, illness, sickness, doctor, prescription] -category: Health --- diff --git a/src/_icons/pinned.svg b/src/_icons/pinned.svg index 7e32e5ce6..e2c81cc59 100644 --- a/src/_icons/pinned.svg +++ b/src/_icons/pinned.svg @@ -1,6 +1,6 @@ --- -tags: [board, attach, nail, pointed, corkboard, favourite, noticeboard] category: Map +tags: [board, attach, nail, pointed, corkboard, favourite, noticeboard] version: "1.31" --- diff --git a/src/_icons/pizza.svg b/src/_icons/pizza.svg index fb740108d..aee0c5bba 100644 --- a/src/_icons/pizza.svg +++ b/src/_icons/pizza.svg @@ -1,6 +1,6 @@ --- -version: "1.35" category: Food +version: "1.35" --- diff --git a/src/_icons/plane.svg b/src/_icons/plane.svg index da2dc42a2..50d0e5144 100644 --- a/src/_icons/plane.svg +++ b/src/_icons/plane.svg @@ -1,6 +1,6 @@ --- -tags: [travel, journey, trip, airport, baggage, luggage] category: Vehicles +tags: [travel, journey, trip, airport, baggage, luggage] version: "1.2" --- diff --git a/src/_icons/planet.svg b/src/_icons/planet.svg index 9f1ab338d..55caf9eca 100644 --- a/src/_icons/planet.svg +++ b/src/_icons/planet.svg @@ -1,6 +1,6 @@ --- -tags: [earth, uranus, universe, space, galaxy, orbit, atmosphere] category: Map +tags: [earth, uranus, universe, space, galaxy, orbit, atmosphere] version: "1.8" --- diff --git a/src/_icons/plant-2-off.svg b/src/_icons/plant-2-off.svg index c95d0af91..c896a82a8 100644 --- a/src/_icons/plant-2-off.svg +++ b/src/_icons/plant-2-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Nature --- diff --git a/src/_icons/plant-2.svg b/src/_icons/plant-2.svg index 67afe6f1b..c00db0066 100644 --- a/src/_icons/plant-2.svg +++ b/src/_icons/plant-2.svg @@ -1,6 +1,6 @@ --- -tags: [nature, green, flower, pot, tree, leaf, greenery, root, stem, seed] category: Nature +tags: [nature, green, flower, pot, tree, leaf, greenery, root, stem, seed] version: "1.33" --- diff --git a/src/_icons/plant-off.svg b/src/_icons/plant-off.svg index 06d63ff85..a9031b0e2 100644 --- a/src/_icons/plant-off.svg +++ b/src/_icons/plant-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Nature --- diff --git a/src/_icons/plant.svg b/src/_icons/plant.svg index f0791cf77..584ff11ca 100644 --- a/src/_icons/plant.svg +++ b/src/_icons/plant.svg @@ -1,6 +1,6 @@ --- -tags: [nature, green, flower, pot, tree, leaf, greenery, root, stem, seed] category: Nature +tags: [nature, green, flower, pot, tree, leaf, greenery, root, stem, seed] version: "1.29" --- diff --git a/src/_icons/playlist.svg b/src/_icons/playlist.svg index 172cc1d22..06d83bf2b 100644 --- a/src/_icons/playlist.svg +++ b/src/_icons/playlist.svg @@ -1,6 +1,6 @@ --- -tags: [music, song, artist, spotify, track, play, record] category: Media +tags: [music, song, artist, spotify, track, play, record] version: "1.39" --- diff --git a/src/_icons/plug-connected-x.svg b/src/_icons/plug-connected-x.svg index 6312fd8ab..84c1ba7b0 100644 --- a/src/_icons/plug-connected-x.svg +++ b/src/_icons/plug-connected-x.svg @@ -1,5 +1,6 @@ --- version: "1.61" +category: Devices --- diff --git a/src/_icons/plug-connected.svg b/src/_icons/plug-connected.svg index 198d0b5f3..d71dfdc5e 100644 --- a/src/_icons/plug-connected.svg +++ b/src/_icons/plug-connected.svg @@ -1,5 +1,6 @@ --- version: "1.53" +category: Devices --- diff --git a/src/_icons/plug-off.svg b/src/_icons/plug-off.svg index 1cd585686..ad599b942 100644 --- a/src/_icons/plug-off.svg +++ b/src/_icons/plug-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Devices --- diff --git a/src/_icons/plug-x.svg b/src/_icons/plug-x.svg index dbf3c9e92..d9ce24869 100644 --- a/src/_icons/plug-x.svg +++ b/src/_icons/plug-x.svg @@ -1,5 +1,6 @@ --- version: "1.61" +category: Devices --- diff --git a/src/_icons/plug.svg b/src/_icons/plug.svg index 32349e75a..4a8e6074b 100644 --- a/src/_icons/plug.svg +++ b/src/_icons/plug.svg @@ -1,4 +1,5 @@ --- +category: Devices tags: [electricity, charger, socket, connection] version: "1.6" --- diff --git a/src/_icons/pointer.svg b/src/_icons/pointer.svg index 6483a5265..d34e79e89 100644 --- a/src/_icons/pointer.svg +++ b/src/_icons/pointer.svg @@ -1,4 +1,5 @@ --- +category: System version: "1.76" --- diff --git a/src/_icons/polygon-off.svg b/src/_icons/polygon-off.svg index 1d5df3f08..35b8e259a 100644 --- a/src/_icons/polygon-off.svg +++ b/src/_icons/polygon-off.svg @@ -1,5 +1,6 @@ --- version: "1.66" +category: Design --- diff --git a/src/_icons/polygon.svg b/src/_icons/polygon.svg index 31191e26f..3e1452952 100644 --- a/src/_icons/polygon.svg +++ b/src/_icons/polygon.svg @@ -1,4 +1,5 @@ --- +category: Design version: "1.50" --- diff --git a/src/_icons/presentation.svg b/src/_icons/presentation.svg index ef631d82f..a9139836f 100644 --- a/src/_icons/presentation.svg +++ b/src/_icons/presentation.svg @@ -1,6 +1,6 @@ --- -tags: [slideshow, display, exhibition, speech, topic, conference] category: Document +tags: [slideshow, display, exhibition, speech, topic, conference] version: "1.2" --- diff --git a/src/_icons/radar-2.svg b/src/_icons/radar-2.svg index 2995cb760..cdedd44ee 100644 --- a/src/_icons/radar-2.svg +++ b/src/_icons/radar-2.svg @@ -1,5 +1,6 @@ --- version: "1.54" +category: Map --- diff --git a/src/_icons/radar.svg b/src/_icons/radar.svg index 925195842..1d71cab2b 100644 --- a/src/_icons/radar.svg +++ b/src/_icons/radar.svg @@ -1,5 +1,6 @@ --- version: "1.54" +category: Map --- diff --git a/src/_icons/radioactive.svg b/src/_icons/radioactive.svg index 7e61667aa..4402ad834 100644 --- a/src/_icons/radioactive.svg +++ b/src/_icons/radioactive.svg @@ -1,6 +1,6 @@ --- -tags: [dangerous, precarious, danger, sign, symbol, warning, caution, chernobyl, reactor, atomic, powerhouses, generator] category: Symbols +tags: [dangerous, precarious, danger, sign, symbol, warning, caution, chernobyl, reactor, atomic, powerhouses, generator] version: "1.18" --- diff --git a/src/_icons/rainbow.svg b/src/_icons/rainbow.svg index 1bf42dfe7..c99e97ba1 100644 --- a/src/_icons/rainbow.svg +++ b/src/_icons/rainbow.svg @@ -1,6 +1,6 @@ --- -version: "1.35" category: Weather +version: "1.35" --- diff --git a/src/_icons/rating-12-plus.svg b/src/_icons/rating-12-plus.svg index 7fe1eab29..6811bd792 100644 --- a/src/_icons/rating-12-plus.svg +++ b/src/_icons/rating-12-plus.svg @@ -1,5 +1,6 @@ --- version: "1.76" +category: Symbols --- diff --git a/src/_icons/rating-14-plus.svg b/src/_icons/rating-14-plus.svg index 5bf13f1a5..19ad24f44 100644 --- a/src/_icons/rating-14-plus.svg +++ b/src/_icons/rating-14-plus.svg @@ -1,5 +1,6 @@ --- version: "1.76" +category: Symbols --- diff --git a/src/_icons/rating-16-plus.svg b/src/_icons/rating-16-plus.svg index ae6db7e98..ca39e2d3b 100644 --- a/src/_icons/rating-16-plus.svg +++ b/src/_icons/rating-16-plus.svg @@ -1,5 +1,6 @@ --- version: "1.76" +category: Symbols --- diff --git a/src/_icons/rating-18-plus.svg b/src/_icons/rating-18-plus.svg index be724ace7..2bf24f8ef 100644 --- a/src/_icons/rating-18-plus.svg +++ b/src/_icons/rating-18-plus.svg @@ -1,5 +1,6 @@ --- version: "1.76" +category: Symbols --- diff --git a/src/_icons/rating-21-plus.svg b/src/_icons/rating-21-plus.svg index ae158f566..5cb0d2911 100644 --- a/src/_icons/rating-21-plus.svg +++ b/src/_icons/rating-21-plus.svg @@ -1,5 +1,6 @@ --- version: "1.76" +category: Symbols --- diff --git a/src/_icons/receipt.svg b/src/_icons/receipt.svg index d5184e528..09efce009 100644 --- a/src/_icons/receipt.svg +++ b/src/_icons/receipt.svg @@ -1,6 +1,6 @@ --- -tags: [bill, restaurant, shop, price, pay, money, total, tax] category: Document +tags: [bill, restaurant, shop, price, pay, money, total, tax] version: "1.38" --- diff --git a/src/_icons/recycle.svg b/src/_icons/recycle.svg index 599ec82be..8a6afd6b0 100644 --- a/src/_icons/recycle.svg +++ b/src/_icons/recycle.svg @@ -1,7 +1,7 @@ --- +category: Symbols tags: [trash, rubbish, recyclable, reuse, waste] version: "1.3" -category: Symbols --- diff --git a/src/_icons/refresh.svg b/src/_icons/refresh.svg index 50810ff67..58b5f8b62 100644 --- a/src/_icons/refresh.svg +++ b/src/_icons/refresh.svg @@ -1,7 +1,7 @@ --- +category: Arrows tags: [synchronization, reload, restart, spinner, loader, ajax, update, arrows] version: "1.0" -category: Arrows --- diff --git a/src/_icons/report.svg b/src/_icons/report.svg index 96e948fbe..0dad4e80a 100644 --- a/src/_icons/report.svg +++ b/src/_icons/report.svg @@ -1,6 +1,6 @@ --- -tags: [time, timesheet, analysis, analyse, results, business, company] category: Document +tags: [time, timesheet, analysis, analyse, results, business, company] version: "1.39" --- diff --git a/src/_icons/road.svg b/src/_icons/road.svg index 9ec731e8f..04fbbccb9 100644 --- a/src/_icons/road.svg +++ b/src/_icons/road.svg @@ -1,6 +1,6 @@ --- -version: "1.54" category: Map +version: "1.54" --- diff --git a/src/_icons/rocket.svg b/src/_icons/rocket.svg index 36a8b6b81..46d456e9d 100644 --- a/src/_icons/rocket.svg +++ b/src/_icons/rocket.svg @@ -1,6 +1,6 @@ --- -tags: [universe, galaxy, space, journey, discover, extraterrestrial, spaceship] category: Map +tags: [universe, galaxy, space, journey, discover, extraterrestrial, spaceship] version: "1.11" --- diff --git a/src/_icons/satellite.svg b/src/_icons/satellite.svg index 6f10f15dc..4a575bb2a 100644 --- a/src/_icons/satellite.svg +++ b/src/_icons/satellite.svg @@ -1,6 +1,6 @@ --- -tags: [orbit, space, moon, earth, planet, communication, information, celestial] category: Map +tags: [orbit, space, moon, earth, planet, communication, information, celestial] version: "1.39" --- diff --git a/src/_icons/schema.svg b/src/_icons/schema.svg index eccf88ea9..737bcaadf 100644 --- a/src/_icons/schema.svg +++ b/src/_icons/schema.svg @@ -1,5 +1,6 @@ --- version: "1.70" +category: Database --- diff --git a/src/_icons/screen-share.svg b/src/_icons/screen-share.svg index e132a1fb6..2ec7744a2 100644 --- a/src/_icons/screen-share.svg +++ b/src/_icons/screen-share.svg @@ -1,6 +1,6 @@ --- -tags: [monitor, stream, tv, mirroring, cast, online] category: Devices +tags: [monitor, stream, tv, mirroring, cast, online] version: "1.24" --- diff --git a/src/_icons/seeding.svg b/src/_icons/seeding.svg index 0c04aff41..ede2c940a 100644 --- a/src/_icons/seeding.svg +++ b/src/_icons/seeding.svg @@ -1,6 +1,6 @@ --- -tags: [nature, greenery, grow, soil, harvest, plant, flower, tree, leaf] category: Nature +tags: [nature, greenery, grow, soil, harvest, plant, flower, tree, leaf] version: "1.29" --- diff --git a/src/_icons/shadow.svg b/src/_icons/shadow.svg index 69a1efe22..1cceb1fde 100644 --- a/src/_icons/shadow.svg +++ b/src/_icons/shadow.svg @@ -1,6 +1,6 @@ --- -tags: [dark, sun, area, covered, dim, light, css, effect] category: Photography +tags: [dark, sun, area, covered, dim, light, css, effect] version: "1.39" --- diff --git a/src/_icons/signature.svg b/src/_icons/signature.svg index 782056481..ab3ea3a2b 100644 --- a/src/_icons/signature.svg +++ b/src/_icons/signature.svg @@ -1,6 +1,6 @@ --- -tags: [name, certficate, sign, edit, write, document, writing] category: Text +tags: [name, certficate, sign, edit, write, document, writing] version: "1.39" --- diff --git a/src/_icons/smart-home.svg b/src/_icons/smart-home.svg index b5750f18f..803785146 100644 --- a/src/_icons/smart-home.svg +++ b/src/_icons/smart-home.svg @@ -1,6 +1,6 @@ --- -tags: [apple, devices, connection, link, WiFi, bluetooth ] category: Buildings +tags: [apple, devices, connection, link, WiFi, bluetooth ] version: "1.20" --- diff --git a/src/_icons/snowflake.svg b/src/_icons/snowflake.svg index 33e828f74..f9e75469b 100644 --- a/src/_icons/snowflake.svg +++ b/src/_icons/snowflake.svg @@ -1,6 +1,6 @@ --- -tags: [winter, weather, cold, frost] category: Weather +tags: [winter, weather, cold, frost] version: "1.8" --- diff --git a/src/_icons/space-off.svg b/src/_icons/space-off.svg index 46a9d2348..92bd0cf90 100644 --- a/src/_icons/space-off.svg +++ b/src/_icons/space-off.svg @@ -1,4 +1,5 @@ --- +category: Text version: "1.67" --- diff --git a/src/_icons/space.svg b/src/_icons/space.svg index 819899ea7..493b438fb 100644 --- a/src/_icons/space.svg +++ b/src/_icons/space.svg @@ -1,6 +1,6 @@ --- -tags: [keyboard, type, gap] category: Text +tags: [keyboard, type, gap] version: "1.8" --- diff --git a/src/_icons/sun.svg b/src/_icons/sun.svg index c43c75266..785e68b47 100644 --- a/src/_icons/sun.svg +++ b/src/_icons/sun.svg @@ -1,6 +1,6 @@ --- -tags: [weather, light, mode, brightness] category: Weather +tags: [weather, light, mode, brightness] version: "1.0" --- diff --git a/src/_icons/tag-off.svg b/src/_icons/tag-off.svg index b137fc452..b9d0716c3 100644 --- a/src/_icons/tag-off.svg +++ b/src/_icons/tag-off.svg @@ -1,5 +1,6 @@ --- version: "1.49" +category: E-commerce --- diff --git a/src/_icons/tag.svg b/src/_icons/tag.svg index e056ecbe3..c4ea93884 100644 --- a/src/_icons/tag.svg +++ b/src/_icons/tag.svg @@ -1,4 +1,5 @@ --- +category: E-commerce tags: [label, price] version: "1.0" --- diff --git a/src/_icons/tags-off.svg b/src/_icons/tags-off.svg index e58fdc79b..5254dcecf 100644 --- a/src/_icons/tags-off.svg +++ b/src/_icons/tags-off.svg @@ -1,5 +1,6 @@ --- version: "1.49" +category: E-commerce --- diff --git a/src/_icons/tags.svg b/src/_icons/tags.svg index 9570ad1d7..005a58e16 100644 --- a/src/_icons/tags.svg +++ b/src/_icons/tags.svg @@ -1,4 +1,5 @@ --- +category: E-commerce version: "1.46" --- diff --git a/src/_icons/temperature.svg b/src/_icons/temperature.svg index a087b2298..db1042fd4 100644 --- a/src/_icons/temperature.svg +++ b/src/_icons/temperature.svg @@ -1,6 +1,6 @@ --- -tags: [weather, celcius, fahrenheit, cold, hot] category: Weather +tags: [weather, celcius, fahrenheit, cold, hot] version: "1.1" --- diff --git a/src/_icons/tent.svg b/src/_icons/tent.svg index 08e17aca8..18e6f4f86 100644 --- a/src/_icons/tent.svg +++ b/src/_icons/tent.svg @@ -1,6 +1,7 @@ --- tags: [camping, holiday, vacation, outdoor, survival, travel, adventure] version: "1.39" +category: Map --- diff --git a/src/_icons/tilt-shift.svg b/src/_icons/tilt-shift.svg index 7263f9b0f..b267205a9 100644 --- a/src/_icons/tilt-shift.svg +++ b/src/_icons/tilt-shift.svg @@ -1,6 +1,6 @@ --- -tags: [filter, shift, photography, photo] category: Photography +tags: [filter, shift, photography, photo] version: "1.39" --- diff --git a/src/_icons/tool.svg b/src/_icons/tool.svg index 0fac597ee..3af1a6641 100644 --- a/src/_icons/tool.svg +++ b/src/_icons/tool.svg @@ -1,6 +1,7 @@ --- tags: [preferences, edit, settings] version: "1.0" +category: System --- diff --git a/src/_icons/tools-kitchen-2.svg b/src/_icons/tools-kitchen-2.svg index 15a7e1d58..8078676c2 100644 --- a/src/_icons/tools-kitchen-2.svg +++ b/src/_icons/tools-kitchen-2.svg @@ -1,6 +1,6 @@ --- -tags: [knife, fork, spoon, cutlery, eat, restaurant, menu, cafe, cook, cut, soup, dinner, breakfast, dining, plate, dish] category: Map +tags: [knife, fork, spoon, cutlery, eat, restaurant, menu, cafe, cook, cut, soup, dinner, breakfast, dining, plate, dish] version: "1.39" --- diff --git a/src/_icons/tools-kitchen.svg b/src/_icons/tools-kitchen.svg index e3d482ead..d5e2034c6 100644 --- a/src/_icons/tools-kitchen.svg +++ b/src/_icons/tools-kitchen.svg @@ -1,6 +1,6 @@ --- -tags: [knife, fork, spoon, cutlery, eat, restaurant, menu, cafe, cook, cut, soup, dinner, breakfast, dining, plate, dish] category: Map +tags: [knife, fork, spoon, cutlery, eat, restaurant, menu, cafe, cook, cut, soup, dinner, breakfast, dining, plate, dish] version: "1.31" --- diff --git a/src/_icons/traffic-cone.svg b/src/_icons/traffic-cone.svg index 4e3c3ff07..7673083e1 100644 --- a/src/_icons/traffic-cone.svg +++ b/src/_icons/traffic-cone.svg @@ -1,6 +1,6 @@ --- -tags: [street, road, vehicle, repair, warning, lane, drive] category: Map +tags: [street, road, vehicle, repair, warning, lane, drive] version: "1.8" --- diff --git a/src/_icons/traffic-lights.svg b/src/_icons/traffic-lights.svg index 5b219e97e..d2844d354 100644 --- a/src/_icons/traffic-lights.svg +++ b/src/_icons/traffic-lights.svg @@ -1,6 +1,6 @@ --- -tags: [street, road, green, red, yellow, vehicle, stop, drive, crossing, pedestrian, crossroads, junction, intersection] category: Map +tags: [street, road, green, red, yellow, vehicle, stop, drive, crossing, pedestrian, crossroads, junction, intersection] version: "1.27" --- diff --git a/src/_icons/truck.svg b/src/_icons/truck.svg index 957372ddb..ba5261dca 100644 --- a/src/_icons/truck.svg +++ b/src/_icons/truck.svg @@ -1,6 +1,6 @@ --- -tags: [transport, vahicle, van, lorry, cargo, delivery] category: Vehicles +tags: [transport, vahicle, van, lorry, cargo, delivery] version: "1.5" --- diff --git a/src/_icons/typography.svg b/src/_icons/typography.svg index b59eb283c..4e2055917 100644 --- a/src/_icons/typography.svg +++ b/src/_icons/typography.svg @@ -1,6 +1,6 @@ --- -tags: [type, display, typeface, point size, line length, line-spacing, letter-spacing, font] category: Text +tags: [type, display, typeface, point size, line length, line-spacing, letter-spacing, font] version: "1.5" --- diff --git a/src/_icons/vaccine.svg b/src/_icons/vaccine.svg index 09316e6db..d2f09847b 100644 --- a/src/_icons/vaccine.svg +++ b/src/_icons/vaccine.svg @@ -1,7 +1,7 @@ --- +category: Health tags: [illness, sickness, disease, injection, medicine, medical, doctor, nurse] version: "1.39" -category: Health --- diff --git a/src/_icons/variable.svg b/src/_icons/variable.svg index c7a792b7a..ca0c8c7ed 100644 --- a/src/_icons/variable.svg +++ b/src/_icons/variable.svg @@ -1,6 +1,6 @@ --- -tags: [maths, mathematics, science, calculate, function] category: Math +tags: [maths, mathematics, science, calculate, function] version: "1.39" --- diff --git a/src/_icons/vector-triangle.svg b/src/_icons/vector-triangle.svg index 2dcf90746..06afd2081 100644 --- a/src/_icons/vector-triangle.svg +++ b/src/_icons/vector-triangle.svg @@ -1,6 +1,6 @@ --- -tags: [curve, parametric, design, vector graphics, placement ] category: Design +tags: [curve, parametric, design, vector graphics, placement ] version: "1.17" --- diff --git a/src/_icons/vector.svg b/src/_icons/vector.svg index e2662bcd6..83c8f1ed9 100644 --- a/src/_icons/vector.svg +++ b/src/_icons/vector.svg @@ -1,6 +1,6 @@ --- -tags: [curve, parametric, design, vector graphics, placement ] category: Design +tags: [curve, parametric, design, vector graphics, placement ] version: "1.17" --- diff --git a/src/_icons/video.svg b/src/_icons/video.svg index ba8e5e3c4..fae20fe93 100644 --- a/src/_icons/video.svg +++ b/src/_icons/video.svg @@ -1,6 +1,6 @@ --- -tags: [film, shoot, recording, taping, camera] category: Media +tags: [film, shoot, recording, taping, camera] version: "1.25" --- diff --git a/src/_icons/virus.svg b/src/_icons/virus.svg index 5987474a7..9860456fd 100644 --- a/src/_icons/virus.svg +++ b/src/_icons/virus.svg @@ -1,7 +1,7 @@ --- +category: Health tags: [infection, illness, cell, infectious, health] version: "1.2" -category: Health --- diff --git a/src/_icons/wind.svg b/src/_icons/wind.svg index c0107c34e..6a0a29948 100644 --- a/src/_icons/wind.svg +++ b/src/_icons/wind.svg @@ -1,6 +1,6 @@ --- -tags: [weather, breeze, tornado, typhoon, cyclone, hurricane] category: Weather +tags: [weather, breeze, tornado, typhoon, cyclone, hurricane] version: "1.10" --- diff --git a/src/_icons/world-download.svg b/src/_icons/world-download.svg index 1d2b3b771..9b3dd0d02 100644 --- a/src/_icons/world-download.svg +++ b/src/_icons/world-download.svg @@ -1,4 +1,5 @@ --- +category: Map version: "1.46" --- diff --git a/src/_icons/world-off.svg b/src/_icons/world-off.svg index e4606f005..3471ce6e2 100644 --- a/src/_icons/world-off.svg +++ b/src/_icons/world-off.svg @@ -1,4 +1,5 @@ --- +category: Map version: "1.67" --- diff --git a/src/_icons/world-upload.svg b/src/_icons/world-upload.svg index 6400f7b49..39902fb8e 100644 --- a/src/_icons/world-upload.svg +++ b/src/_icons/world-upload.svg @@ -1,4 +1,5 @@ --- +category: Map version: "1.46" --- diff --git a/src/_icons/writing-off.svg b/src/_icons/writing-off.svg index 3340e3259..508388ac5 100644 --- a/src/_icons/writing-off.svg +++ b/src/_icons/writing-off.svg @@ -1,5 +1,6 @@ --- version: "1.67" +category: Text --- diff --git a/src/_icons/writing-sign-off.svg b/src/_icons/writing-sign-off.svg index 4fc5c4913..e045e248b 100644 --- a/src/_icons/writing-sign-off.svg +++ b/src/_icons/writing-sign-off.svg @@ -1,5 +1,6 @@ --- version: "1.67" +category: Text --- diff --git a/src/_icons/writing-sign.svg b/src/_icons/writing-sign.svg index e6419b8f6..a26dec27b 100644 --- a/src/_icons/writing-sign.svg +++ b/src/_icons/writing-sign.svg @@ -1,6 +1,6 @@ --- -tags: [name, certficate, sign, edit, write, document, writing, pen] category: Text +tags: [name, certficate, sign, edit, write, document, writing, pen] version: "1.39" --- diff --git a/src/_icons/writing.svg b/src/_icons/writing.svg index 15e48f918..0570ffaf9 100644 --- a/src/_icons/writing.svg +++ b/src/_icons/writing.svg @@ -1,6 +1,6 @@ --- -tags: [name, certficate, sign, edit, write, document, pen, drawing, contract, signature] category: Text +tags: [name, certficate, sign, edit, write, document, pen, drawing, contract, signature] version: "1.39" --- diff --git a/src/_icons/zoom-check.svg b/src/_icons/zoom-check.svg index fc6935e56..7e800e999 100644 --- a/src/_icons/zoom-check.svg +++ b/src/_icons/zoom-check.svg @@ -1,4 +1,5 @@ --- +category: Map tags: [verify, magnifying, glass, magnifier, ok, done] version: "1.39" --- diff --git a/src/_icons/zoom-code.svg b/src/_icons/zoom-code.svg index c0dabd28e..70f6cc01f 100644 --- a/src/_icons/zoom-code.svg +++ b/src/_icons/zoom-code.svg @@ -1,4 +1,5 @@ --- +category: Map version: "1.59" --- diff --git a/src/_icons/zoom-exclamation.svg b/src/_icons/zoom-exclamation.svg index 8cd66b0a3..41f730c3c 100644 --- a/src/_icons/zoom-exclamation.svg +++ b/src/_icons/zoom-exclamation.svg @@ -1,4 +1,5 @@ --- +category: Map version: "1.59" --- diff --git a/src/_icons/zoom-in-area.svg b/src/_icons/zoom-in-area.svg index 930ab8973..aaed3b8d8 100644 --- a/src/_icons/zoom-in-area.svg +++ b/src/_icons/zoom-in-area.svg @@ -1,4 +1,5 @@ --- +category: Map version: "1.68" --- diff --git a/src/_icons/zoom-money.svg b/src/_icons/zoom-money.svg index 45af29cfd..1d731907e 100644 --- a/src/_icons/zoom-money.svg +++ b/src/_icons/zoom-money.svg @@ -1,4 +1,5 @@ --- +category: Map tags: [magnifying, glass, magnifier, earn, pay, sum, total, finance, financial] version: "1.39" --- diff --git a/src/_icons/zoom-out-area.svg b/src/_icons/zoom-out-area.svg index 4ec8279c5..a941dae85 100644 --- a/src/_icons/zoom-out-area.svg +++ b/src/_icons/zoom-out-area.svg @@ -1,4 +1,5 @@ --- +category: Map version: "1.68" --- diff --git a/src/_icons/zoom-pan.svg b/src/_icons/zoom-pan.svg index 5a585c6f6..d5345eae6 100644 --- a/src/_icons/zoom-pan.svg +++ b/src/_icons/zoom-pan.svg @@ -1,4 +1,5 @@ --- +category: Map version: "1.68" --- diff --git a/src/_icons/zoom-reset.svg b/src/_icons/zoom-reset.svg index 9ea0a268a..ce0186a7a 100644 --- a/src/_icons/zoom-reset.svg +++ b/src/_icons/zoom-reset.svg @@ -1,4 +1,5 @@ --- +category: Map version: "1.78" --- diff --git a/src/editor.html b/src/editor.html index faacf8d93..1cc1cc5af 100644 --- a/src/editor.html +++ b/src/editor.html @@ -105,7 +105,7 @@ layout: default {% for category in icons %} {% if category.name %} -

{{ category.name }}

+

{% if category.name != "" %}{{ category.name }}{% else %}Uncategorized{% endif %} ({{ category.items | size }})

{% endif %}
diff --git a/src/style.scss b/src/style.scss index 36981d19d..4886546df 100644 --- a/src/style.scss +++ b/src/style.scss @@ -454,3 +454,7 @@ $border-color: #e0e0e0; height: 1.25rem; } } + +.text-muted { + color: $muted; +}