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
Revision as of 16:21, 9 March 2023 by GiverOfThePeace (talk | contribs) (Created page with "--- Data for mapping <code><tag></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 { c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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
    }
}