Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 3x 3x | const {createVariableRule} = require('./lib/variable-rules') module.exports = createVariableRule('primer/typography', { 'font-size': { expects: 'a font-size variable', values: ['$body-font-size', '$h{000,00,0,1,2,3,4,5,6}-size', '$font-size-*', '1', '1em', 'inherit'] }, 'font-weight': { props: 'font-weight', values: ['$font-weight-*', 'inherit'], replacements: { bold: '$font-weight-bold', normal: '$font-weight-normal' } }, 'line-height': { props: 'line-height', values: ['$body-line-height', '$lh-*', '0', '1', '1em', 'inherit'] } }) |