viewy 2.0.6

A web UI toolkit that combine the advantages of a design system and an ui library.
$break-point: 810px;
.app-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "navigation-view content";
  align-items: stretch;
  justify-content: stretch;
  width: 100vw;
  height: 100dvh;

  @media screen and (max-width: $break-point) {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas: "content" "navigation-view";
  }

  &__navigation-view {
    background: var(--surface);
    grid-area: navigation-view;
    @media screen and (min-width: ($break-point + 1)) {
      padding: scale(4);
      &--mobile {
        display: none;
      }
    }

    @media screen and (max-width: ($break-point + 1)) {
      padding: scale(2);
      &--desktop {
        display: none;
      }
    }

  }

  &__main-content {
    grid-area: content;
    overflow: auto;
  }
}