diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-02-17 16:31:48 +0300 |
---|---|---|
committer | Martijn Cuppens <martijn.cuppens@gmail.com> | 2019-02-17 16:31:48 +0300 |
commit | bf7cba99196dbc18286a7d7d0e52d938c903ecbd (patch) | |
tree | 339279e960d1d1fc1f01141350c02851a3702583 /postcss.js | |
parent | 0c30900144d77ffbb2bb39a81e0501baa001c50c (diff) |
License tweaks (#93)
* postcss.js: change header to a more standard one.
* LICENSE: bump year.
Diffstat (limited to 'postcss.js')
-rw-r--r-- | postcss.js | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,8 +1,10 @@ -// PostCSS RFS plugin -// -// Automated font-resizing -// -// See https://github.com/twbs/rfs +/*! + * PostCSS RFS plugin + * + * Automated font-resizing + * + * Licensed under MIT (https://github.com/twbs/rfs/blob/master/LICENSE) + */ 'use strict'; @@ -14,6 +16,7 @@ module.exports = postcss.plugin('postcss-rfs', opts => { const BASE_FONT_SIZE_ERROR = 'baseFontSize option is invalid, it must be set in `px` or `rem`.'; const DISABLE_RESPONSIVE_FONT_SIZE_SELECTOR = '.disable-responsive-font-size'; const ENABLE_RESPONSIVE_FONT_SIZE_SELECTOR = '.enable-responsive-font-size'; + const defaultOptions = { baseFontSize: 20, fontSizeUnit: 'rem', |