$use-custom-list-styling: true;

.wp-core-list {
    ul {
        @extend %ul;
    }

    ol {
        @extend %ol;
    }

    @if $use-custom-list-styling {
        ol {
            counter-reset: number-counter;

            li {
                counter-increment: number-counter;

                &::before {
                    color: $color-primary;
                    content: counter(number-counter) '. ';
                    left: 0;
                    position: absolute;
                }
            }
        }
    }
}
