{"size": 291, "ext": "js", "max_stars_repo_path": "src/utils/responsiveFontSize.js", "max_stars_repo_name": "maciejmyslinski/maciejmyslinski.com", "max_stars_repo_stars_event_min_datetime": "2020-07-29T16:06:06.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-29T16:06:06.000Z", "max_issues_repo_path": "src/utils/responsiveFontSize.js", "max_issues_repo_name": "maciejmyslinski/maciejmyslinski.com", "max_issues_repo_issues_event_min_datetime": "2018-08-28T08:33:40.000Z", "max_issues_repo_issues_event_max_datetime": "2018-09-03T13:06:50.000Z", "max_forks_repo_path": "src/utils/responsiveFontSize.js", "max_forks_repo_name": "maciejmyslinski/maciejmyslinski.com", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 20.7857142857, "max_line_length": 53, "alphanum_fraction": 0.64604811}
import { cssLocks } from './cssLocks';

export const responsiveFontSize = ({
  minSize, maxSize, minBreakpoint, maxBreakpoint,
}) => {
  const cssCalc = cssLocks({
    minSize,
    maxSize,
    minBreakpoint,
    maxBreakpoint,
  });
  return [`${minSize}rem`, cssCalc, `${maxSize}rem`];
};
