source: trip-planner-front/node_modules/postcss-minify-font-values/dist/lib/minify-weight.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 311 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = _default;
7
8function _default(value) {
9 const lowerCasedValue = value.toLowerCase();
10 return lowerCasedValue === 'normal' ? '400' : lowerCasedValue === 'bold' ? '700' : value;
11}
12
13module.exports = exports.default;
Note: See TracBrowser for help on using the repository browser.