Skip to content

Change the color between steps #10

@Lucidiot

Description

@Lucidiot

Currently, it is possible to customize colors for the step markers, but not for the .steps-segment::after pseudo-element that draws the line between steps. It could be possible to set colors on the .steps-segment element itself to customize this:

<ul class="steps">
  <li class="steps-segment is-warning">
    <a href="#" class="steps-marker"><a>
  </li>
  <li class="steps-segment is-danger is-active">
    <a href="#" class="steps-marker is-info"></a>
  </li>
  <li class="steps-segment">
    <a href="#" class="steps-marker"></a>
  </li>
</ul>

The above code would yield this:
Preview of a steps bar with custom colors between the steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions