The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

Module:Tags/data

From The Codex

Lua error in package.lua at line 80: module 'Dev:Docbunto' not found.


--- Data for mapping <code>&lt;tag&gt;</code>s into their respective spans with
--  specified colors or fonts.
--  @file               {table} tags_data

--- A set of color tag names that correspond with <code>data-color</code>
--  selectors in sitewide CSS.
--  @property           {table} tags_data.colors

--- A set of font tag names that correspond with <code>data-font</code>
--  selectors in sitewide CSS.
--  @property           {table} tags_data.fonts

return {
    colors = {
        ['red'] = true,
        ['orange'] = true,
        ['yellow'] = true,
        ['green'] = true,
        ['cyan'] = true,
        ['aqua'] = true,
        ['blue'] = true,
        ['purple'] = true
    },
    fonts = {
        ['dt'] = true,
        ['csans'] = true, -- Deprecated
        ['papyrus'] = true,
        ['sans'] = true
    }
}