Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-02-17 16:31:48 +0300
committerMartijn Cuppens <martijn.cuppens@gmail.com>2019-02-17 16:31:48 +0300
commitbf7cba99196dbc18286a7d7d0e52d938c903ecbd (patch)
tree339279e960d1d1fc1f01141350c02851a3702583 /postcss.js
parent0c30900144d77ffbb2bb39a81e0501baa001c50c (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.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/postcss.js b/postcss.js
index 9046714..4980683 100644
--- a/postcss.js
+++ b/postcss.js
@@ -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',