soft-wrap-indicator
Adds an indicator to the status bar that lights up if the active editor has soft wrap enabled
This package consumes the following services:
Soft Wrap Indicator
Adds an indicator to the status bar that lights up if the active editor has soft wrap enabled.
Usage
The indicator is present when the active pane is an editor and removed when the active pane is anything else. The indicator is lit when soft wrap is enabled on the active editor and dark if not.
Indicator Lit:
Indicator Dark:
Styles
The soft wrap indicator can be styled using the following classes:
.soft-wrap-indicator
- For styling all instances of the indicator.soft-wrap-indicator.lit
- For styling the indicator when lit
It uses the following values from ui-variables
as defaults in order to blend in to your theme:
@text-color
- Text color when not lit@text-color-highlight
- Text color when lit
By default it also includes a blurred text shadow to give it a kind of glow when lit.