@use 'variables' as *;

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

html, body, #app {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: $font-ui;
  background-color: $bg-primary;
  color: $text-primary;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code, pre, .mono {
  font-family: $font-code;
}

a {
  color: $accent-primary;
  text-decoration: none;

  &:hover {
    color: $accent-hover;
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: $border-color;
  border-radius: 3px;

  &:hover {
    background: $text-muted;
  }
}

::selection {
  background: rgba($accent-primary, 0.3);
}
