:root {
  --sw-font-ui: "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI Variable", "Segoe UI", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --app-font-ui: var(--sw-font-ui);
  --sw-node-font: var(--sw-font-ui);
  --sw-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --app-font-mono: var(--sw-font-mono);
  --sw-font-weight-body: 500;
  --sw-font-weight-muted: 500;
  --sw-font-weight-control: 500;
  --sw-font-weight-readable: 500;
  --sw-font-weight-strong: 600;
  --sw-font-weight-title: 700;
}

html,
body,
button,
input,
textarea,
select,
[contenteditable="true"] {
  font-family: var(--sw-font-ui) !important;
  font-optical-sizing: auto;
  font-synthesis-weight: none;
  letter-spacing: 0 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

body {
  font-weight: var(--sw-font-weight-body);
}

code,
pre,
kbd,
samp {
  font-family: var(--sw-font-mono) !important;
}
