Join the official community
Join the Discord →
Support Human Rights
Learn More →
Check out the Despera & Yotsuba Fan Project
See Project →
Please check The Codex:About page to see what to do to help.
See About page
Module:Tags/data
From The Codex
Jump to navigationJump to search
--- Data for mapping <tag>s into their respective spans with
-- specified colors or fonts.
-- @file {table} tags_data
--- A set of color tag names that correspond with data-color
-- selectors in sitewide CSS.
-- @property {table} tags_data.colors
--- A set of font tag names that correspond with data-font
-- 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
}
}