Name Description Size Coverage
custom-file-header.mjs DO NOT EDIT this file directly, instead modify ${getFileName(file)} and run \`mach buildtokens\` to see your changes. 1411 -
get-component-info.mjs @type {{ componentName: string, destination: string }[]} 1999 -
json-parser.mjs Based on the file name, determine which category its tokens belong to (e.g. color.tokens.json => color). This gets applied to the variable names, so references to {color.blue.50} will work. @param {string} filePath - Path to the file being parsed. @returns {string} - Category of tokens belonging to the file being parsed. 1314 -
override-identifiers.mjs 306 -
replace-references.mjs 695 -
token-categories.mjs 2591 -
token-paths.mjs Base tokens are shared across all components and surfaces (e.g. color, typography, spacing). They are not component-specific and always go into the shared CSS output. @type {{ dir: string }} 1331 -