وسم تلوين Discourse

This is a Discourse theme component that allows admin to change tag’s background color and text color.

Repository Link
https://github.com/RailForWork/Discourse-Coloring-Tag

Theme Settings

Comma delimited in this order: Tag Name,Background Color,Text Color.
Tag Name: What your Tag Name is.
Background Color: Background Color of the tag.
Text Color: Decide the text color in the tag.

A correct example for settings will be: [Theme-component,#ffffff,black.]
(Both Background color and text color can be either HEX color (#ffffff) or color name (black).

24 إعجابًا

Thanks for pointing me this way

Any plans of add support of images (like https://fontawesome.com/) with a tag like
tag_name, image, background color, text color

eg:
apple, fa-apple, red, white

I think you can use emoji in your tags instead.

Does not seems so :pensive:

لدي طلب ميزة للنظر فيه.

هل سيكون من الممكن إنشاء إعداد ينطبق على مجموعات العلامات بأكملها بدلاً من تطبيقها بشكل فردي؟ بهذه الطريقة، يمكن تمييز كل مجموعة علامات بسهولة دون الحاجة إلى قضاء الكثير من الوقت في تعيين كل منها، وعند إضافة علامات جديدة سيتم تلوينها تلقائيًا بدلاً من الحاجة إلى إضافتها بشكل منفصل.

6 إعجابات

أنا أؤيد هذا الطلب، وسأكون سعيدًا بالدفع مقابل هذه الميزة أيضًا

4 إعجابات

يوجد تعارض طفيف بين هذا وبين مكون Tag icons. عند استخدام هذا، ستختفي الأيقونات. ولكن ليس العكس.

إعجابَين (2)

إنه متوافق مع Colored Tag Styles :slight_smile:

إعجاب واحد (1)