viewy 2.0.6

A web UI toolkit that combine the advantages of a design system and an ui library.
.card {
  border-radius: sp($border-radius);
  padding: 0;

  &--outlined {
    border: sp(1) solid var(--color-border);
    background: var(--background);
  }

  &--filled {
    border: none;
    background: var(--surface);

    &.clickable:hover {
      background: var(--surface-lighter);
    }
  }

  &--raised {
    border: sp(1) solid var(--color-border);
    background: var(--background);
    box-shadow: 0 0.6px 1.8px 0 rgba(0,0,0,0.11),0 3.2px 7.2px 0 rgba(0,0,0,0.13);

  }

  & .card {
    border-radius: calc(#{$border-radius} / 1.5);
  }

  &--highlighted {
    &.card--outlined {
      border: sp(1) solid var(--color-border-blue);
      background: var(--surface-blue-lighter);

      &.clickable:hover {
        background: var(--surface-blue);
      }
    }
    &.card--filled {
      background: var(--surface-blue);

      &.clickable:hover {
        background: var(--surface-accent-darker);
      }
    }
  }
}