Name Description Size Coverage
create-nova-newtab-format.mjs 618 -
get-newtab-token-css.mjs 808 -
get-newtab-tokens-by-layer.mjs Tokens grouped by layers. @typedef {object} layers @property {string[]} foundation - Foundation tokens @property {string[]} forcedColors - Forced colors tokens 2170 -
newtab-file-header.mjs DO NOT EDIT this file directly, instead modify the relevant *.nova.tokens.json file", " * and run `mach buildtokens` to see your changes. 1512 -
post-process-nova-newtab.mjs Post-processes generated CSS to match the stylelint rules enforced on SCSS files in browser/extensions/newtab: - Shorten #RRGGBB hex to #RGB where all pairs match (color-hex-length: short) - Convert decimal alpha values to percentages (alpha-value-notation: percentage) - Add blank line before /* block comments that immediately follow a declaration (comment-empty-line-before: always) @param {string} css - The input CSS being processed. @returns {string} 1071 -