rishabhsrao/voxel

View on GitHub
src/styles/components/list/_component.scss

Summary

Maintainability
Test Coverage
@import "settings";
@import "mixins";
@import "documentation";

@if($voxel-list__include-classes) {
  .voxel-list {
    @include voxel-list();
  }

  .voxel-list--ordered {
    @include voxel-list--ordered();
  }

  .voxel-list__item {
    @include voxel-list__item();
  }

  .voxel-list--ordered .voxel-list__item {
    @include voxel-list--ordered__item();
  }

  .voxel-list__item__link {
    @include voxel-list__item__link();
  }

  @each $theme in $voxel-color__themes--supported {
    .voxel-theme--#{$theme} .voxel-list__item__link {
      @include voxel-list__item__link__themes($theme);
    }
  }

  .voxel-list__item__text {
    @include voxel-list__item__text();
  }

  .voxel-list__item__link--active {
    @include voxel-list__item__link--active();
  }

  @each $theme in $voxel-color__themes--supported {
    .voxel-theme--#{$theme} .voxel-list__item__link--active {
      @include voxel-list__item__link--active__themes($theme);
    }
  }
}