@use "../themes/base";
@use "../themes/link";
@use "../themes/input";

body {
  color: base.$color-text-normal;
  background: base.$color-bg-body;
  font-size: base.$font-size-base;
  line-height: base.line-height(base.$font-size-base);
}

h1, h2, h3, h4, h5, h6 {
  color: base.$color-text-heading;
}

a {
  @include link.anchor-base();
}

input {
  @include input.input-box();
}

textarea {
  @include input.textarea-box();
}

caption {
  color: base.$color-text-secondary;
}

// 采用浏览器默认 selection 效果，一般为半透明色，使 rich-text 进行颜色修改时可以实时看到颜色变化效果
//::selection {
//  color: base.$color-text-reverse;
//  background: base.$color-bg-selection;
//}
