{"size": 1569, "ext": "js", "max_stars_repo_path": "theme/custom/mixins.js", "max_stars_repo_name": "nisargrthakkar/itranslate-assignment", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "theme/custom/mixins.js", "max_issues_repo_name": "nisargrthakkar/itranslate-assignment", "max_issues_repo_issues_event_min_datetime": "2020-07-14T17:06:14.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-09T01:11:26.000Z", "max_forks_repo_path": "theme/custom/mixins.js", "max_forks_repo_name": "nisargrthakkar/itranslate-assignment", "max_forks_repo_forks_event_min_datetime": "2019-12-10T09:33:19.000Z", "max_forks_repo_forks_event_max_datetime": "2019-12-10T09:33:19.000Z"}
{"max_stars_count": null, "max_issues_count": 8, "max_forks_count": 1, "avg_line_length": 22.4142857143, "max_line_length": 89, "alphanum_fraction": 0.5863607393}
export const clearfix = () => {
  return `
    &::before,
    &::after {
      content: '';
      display: table;
    }

    &::after {
      clear: both;
    }
  `;
};

export const boxsizing = boxmodel => {
  return `
    -webkit-box-sizing: ${boxmodel};
    -moz-box-sizing: ${boxmodel};
    box-sizing: ${boxmodel};
  `;
};

export const boxshadow = shadow => {
  return `
    -webkit-box-shadow: ${shadow};
    -moz-box-shadow: ${shadow};
    box-shadow: ${shadow};
  `;
};

export const borderradius = (radius = '2px') => {
  return `
    -webkit-border-radius: ${radius};
    -moz-border-radius: ${radius};
    border-radius: ${radius};
  `;
};

export const transform = transforms => {
  return `
    -moz-transform: ${transforms};
    -o-transform: ${transforms};
    -ms-transform: ${transforms};
    -webkit-transform: ${transforms};
    transform: ${transforms};
  `;
};

export const transformXY = (valueX, valueY) => {
  return `
    -webkit-transform: translate(${valueX}, ${valueY});
    -moz-transform: translate(${valueX}, ${valueY});
    transform: translate(${valueX}, ${valueY});
  `;
};

export const transformX = valueX => {
  return `
    -webkit-transform: translateX(${valueX});
    -moz-transform: translateX(${valueX});
    transform: translateX(${valueX});
  `;
};

export const calcsizes = (fontsize, multiplayer1 = 1, multiplayer2 = 1, op = 'plus') => {
  if (op == 'plus') return ` ${`${fontsize * multiplayer1 + multiplayer2}px`};`;
  if (op == 'minus') return `${`${fontsize * multiplayer1 - multiplayer2}px`};`;
  return fontsize;
};
