aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/lists/list/list.module.scss
blob: fc23ce5468ca100c5682a0030353f4bfbcc6e26d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@use "../../../../styles/abstracts/placeholders";

.list {
  &--hierarchical {
    @extend %hierarchical-list;
  }

  &--inline {
    @extend %inline-list;
  }

  &--stack {
    .item {
      @extend %list-item;
    }
  }

  &--no-marker {
    list-style-type: none;
  }
}

.list--ordered:where(.list--stack),
.list--unordered:where(.list--stack) {
  @extend %regular-list;
}