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