mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-09-09 05:40:42 +02:00
import tags
This commit is contained in:
@@ -3,7 +3,8 @@ import fs from 'fs'
|
|||||||
import { resolve, join, basename } from 'path'
|
import { resolve, join, basename } from 'path'
|
||||||
import { ICONS_SRC_DIR } from './helpers.mjs'
|
import { ICONS_SRC_DIR } from './helpers.mjs'
|
||||||
|
|
||||||
const extensions = ['heart', 'star', 'off', 'bolt', 'cancel', 'check', 'cog', 'dollar', 'dot', 'eco', 'edit', 'x', 'plus', 'minus', 'shield', 'up', 'down', 'move', 'link', 'ribbon', 'question', 'exclamation', '2', '3', 'code', 'pause', 'pin', 'search', 'share', 'hand', 'infinity', 'ai']
|
// const extensions = ['heart', 'star', 'off', 'bolt', 'cancel', 'check', 'cog', 'dollar', 'dot', 'eco', 'edit', 'x', 'plus', 'minus', 'shield', 'up', 'down', 'move', 'link', 'ribbon', 'question', 'exclamation', '2', '3', 'code', 'pause', 'pin', 'search', 'share', 'hand', 'infinity', 'ai']
|
||||||
|
const extensions = ['filled']
|
||||||
|
|
||||||
extensions.forEach(function (extension) {
|
extensions.forEach(function (extension) {
|
||||||
|
|
||||||
@@ -22,16 +23,16 @@ extensions.forEach(function (extension) {
|
|||||||
data = data.replace(/(---[\s\S]+?---)/, function (m, headerContent) {
|
data = data.replace(/(---[\s\S]+?---)/, function (m, headerContent) {
|
||||||
console.log('categoryOriginal', fileOriginal, categoryOriginal && categoryOriginal[1], tagsOriginal && tagsOriginal[1])
|
console.log('categoryOriginal', fileOriginal, categoryOriginal && categoryOriginal[1], tagsOriginal && tagsOriginal[1])
|
||||||
|
|
||||||
if (categoryOriginal) {
|
// if (categoryOriginal) {
|
||||||
headerContent = headerContent.replace(/category: .*\n/, '')
|
// headerContent = headerContent.replace(/category: .*\n/, '')
|
||||||
headerContent = headerContent.replace(/---/, `---\ncategory: ${categoryOriginal[1]}`)
|
// headerContent = headerContent.replace(/---/, `---\ncategory: ${categoryOriginal[1]}`)
|
||||||
}
|
|
||||||
|
|
||||||
// if (tagsOriginal) {
|
|
||||||
// headerContent = headerContent.replace(/tags: .*\n/, '')
|
|
||||||
// headerContent = headerContent.replace(/---/, `---\ntags: ${tagsOriginal[1]}`)
|
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
if (tagsOriginal) {
|
||||||
|
headerContent = headerContent.replace(/tags: .*\n/, '')
|
||||||
|
headerContent = headerContent.replace(/---/, `---\ntags: ${tagsOriginal[1]}`)
|
||||||
|
}
|
||||||
|
|
||||||
return headerContent
|
return headerContent
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [marketing, promotion, advertisement, shape]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7d3"
|
unicode: "f7d3"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [text, type, line, horizontal ]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7d4"
|
unicode: "f7d4"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [text, type, east ]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7d5"
|
unicode: "f7d5"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [army, badge, military, rank, soldier, war, south, bottom]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7d6"
|
unicode: "f7d6"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [army, badge, military, rank, soldier, war, west]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7d7"
|
unicode: "f7d7"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [army, badge, military, rank, soldier, war, east]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7d8"
|
unicode: "f7d8"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [army, badge, military, rank, soldier, war, north ]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7d9"
|
unicode: "f7d9"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [size, dimension, width, height, orientation]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7db"
|
unicode: "f7db"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [delete, remove, eliminate]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7dc"
|
unicode: "f7dc"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [army, badge, military, rank, soldier, war]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7dd"
|
unicode: "f7dd"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [patch, wound, cut, pain]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7de"
|
unicode: "f7de"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [shop, store, online, shopping]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7df"
|
unicode: "f7df"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [sleep, night, bedroom, rest]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7e0"
|
unicode: "f7e0"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [alcohol, drink, beverage, bar, pub]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7e1"
|
unicode: "f7e1"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [razor, beard, barber, cut]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7e2"
|
unicode: "f7e2"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [app, application, logo, communication, talks, gamers, freeware, platform]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7e4"
|
unicode: "f7e4"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [logo, website, community, project, platform, self-promotion, designer, portfolio]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7e5"
|
unicode: "f7e5"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [logo, app, application, community, social, communication, website, user, post, images, photos, comment, feedback, fb]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7e6"
|
unicode: "f7e6"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [logo, website, hosting, project, programming, software, development]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7e7"
|
unicode: "f7e7"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [logo, enterprise, service, payment, internet, businessman, consumer]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7e9"
|
unicode: "f7e9"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [logo, app, application, community, social, communication, website, user, post, images, photos, comment, feedback]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7eb"
|
unicode: "f7eb"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [video, photo, aperture]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
tags: [shape, south, bottom, direction, ]
|
tags: [shape, direction, bottom, south]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.3"
|
version: "2.3"
|
||||||
unicode: "f6f4"
|
unicode: "f6f4"
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
tags: [shape, south, bottom, direction, west]
|
tags: [shape, direction, west, bottom, south]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.3"
|
version: "2.3"
|
||||||
unicode: "f6f5"
|
unicode: "f6f5"
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
tags: [shape, direction, bottom, south, east]
|
tags: [shape, direction, bottom, south, east ]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.3"
|
version: "2.3"
|
||||||
unicode: "f6f7"
|
unicode: "f6f7"
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
tags: [shape, direction, west ]
|
tags: [shape, direction, west]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.3"
|
version: "2.3"
|
||||||
unicode: "f6fa"
|
unicode: "f6fa"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [hospital, rate, healthcare, health]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [iphone, phone, smartphone, cellphone]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [ipad, mobile, touchscreen, portable]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [keypad, telephone, phone, call, number]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [music, headset, audio, sound, customer]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [support, question, shape, faq, info]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [support, question, shape, faq, info]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [help, support, shape, information, question]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [help, support, shape, information, question]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [information, advice, news, tip, sign]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [inbox, gmail, email, envelope, message]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [inbox, gmail, email, envelope, message, read]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [face, emoji, emotion, frown]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7f2"
|
unicode: "f7f2"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [face, emoji, emotion]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7f3"
|
unicode: "f7f3"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [face, emoji, emotion]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7f4"
|
unicode: "f7f4"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [face, emoji, emotion]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7f5"
|
unicode: "f7f5"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [face, emoji, emotion]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7f6"
|
unicode: "f7f6"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [face, emoji, emotion, mad]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7f7"
|
unicode: "f7f7"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [face, emoji, emotion]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7f8"
|
unicode: "f7f8"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [food, vegetable, cooking, fungus, mushrooming]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.9"
|
version: "2.9"
|
||||||
unicode: "f7f9"
|
unicode: "f7f9"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [call, mobile, conversation, landline, answer, number]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [image, picture, landscape, camera]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
tags: [picture, photo, camera, polarization, develop, film, lens]
|
||||||
category: Filled
|
category: Filled
|
||||||
---
|
---
|
||||||
<svg>
|
<svg>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
tags: [shape, south, bottom, direction, ]
|
tags: [shape, south, bottom, direction,]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.2"
|
version: "2.2"
|
||||||
unicode: "f6db"
|
unicode: "f6db"
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
tags: [delta]
|
tags: [delta, shape]
|
||||||
category: Filled
|
category: Filled
|
||||||
version: "2.0"
|
version: "2.0"
|
||||||
unicode: "f6ad"
|
unicode: "f6ad"
|
||||||
|
Reference in New Issue
Block a user