units.js 585 B

1234567891011121314151617181920
  1. /*!
  2. * Stylus - units
  3. * Copyright (c) Automattic <developer.wordpress.com>
  4. * MIT Licensed
  5. */
  6. // units found in http://www.w3.org/TR/css3-values
  7. module.exports = [
  8. 'em', 'ex', 'ch', 'rem' // relative lengths
  9. , 'vw', 'vh', 'vmin', 'vmax' // relative viewport-percentage lengths
  10. , 'cm', 'mm', 'in', 'pt', 'pc', 'px' // absolute lengths
  11. , 'deg', 'grad', 'rad', 'turn' // angles
  12. , 's', 'ms' // times
  13. , 'Hz', 'kHz' // frequencies
  14. , 'dpi', 'dpcm', 'dppx', 'x' // resolutions
  15. , '%' // percentage type
  16. , 'fr' // grid-layout (http://www.w3.org/TR/css3-grid-layout/)
  17. ];