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