@use './theme.scss';

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', sans-serif;
  background: #f5f6fa;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

@font-face {
  font-family: 'WeChatSansStd';
  src: url('@/public/font/wxfont/font/WeChatSansStd-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'WeChatSansStd';
  src: url('@/public/font/wxfont/font/WeChatSansStd-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'WeChatSansStd';
  src: url('@/public/font/wxfont/font/WeChatSansStd-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'WeChatSansStd';
  src: url('@/public/font/wxfont/font/WeChatSansStd-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* 全局微信字体字重公共类 */
.wx-font-light {
  font-family: 'WeChatSansStd', sans-serif;
  font-weight: 300;
}

.wx-font-regular {
  font-family: 'WeChatSansStd', sans-serif;
  font-weight: 400;
}

.wx-font-medium {
  font-family: 'WeChatSansStd', sans-serif;
  font-weight: 500;
}

.wx-font-bold {
  font-family: 'WeChatSansStd', sans-serif;
  font-weight: 700;
}