forked from drone/command-center-dashboard

chenyao
2025-03-27 4b6bb2df2ea7edde4912b0ca1ccc95710ce3bdb8
1
2
3
4
5
6
export const wToR = width => {
  return width * 0.1 + 'rem';
};
export const hToV = height => {
  return height / 10.8 + 'vh';
};