ui
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {string}
|
||||
*/
|
||||
module.exports = function (value) {
|
||||
const lowerCasedValue = value.toLowerCase();
|
||||
|
||||
return lowerCasedValue === 'normal'
|
||||
? '400'
|
||||
: lowerCasedValue === 'bold'
|
||||
? '700'
|
||||
: value;
|
||||
};
|
||||
Reference in New Issue
Block a user