# Javascript: StatusBarViewGeneratorColors.setSeparatorColorLight Method

> Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Sets the color of the light part of a separator.

> **Note:** This is deprecated and should not be used in new work.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 30.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: StatusBarViewGeneratorColors.setSeparatorColorLight Method
- **438 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/statusbarviewgeneratorcolors/setseparatorcolorlight-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/statusbarviewgeneratorcolors/setseparatorcolorlight-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/statusbarviewgeneratorcolors/setseparatorcolorlight-method/llms-full.txt

---

### Description

`Obsolete. This method will be removed in one of the next versions.` Since version 33.0 the status bar doesn't support gradients in separators anymore. Sets the color of the light part of a separator.

### Syntax

```javascript
<void> StatusBarViewGeneratorColors.setSeparatorColorLight(<string> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| value | The property value. |
| callback | Optional. Is called when the operation completed. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `StatusBarViewGeneratorColors.setSeparatorColorLight` in a practical document-editing workflow. Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Sets the color of the light part of a separator.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function configureSeparatorColorLight(statusBarViewGeneratorColors) {
    statusBarViewGeneratorColors.setSeparatorColorLight(
        "Quarterly report",
        function() {
            console.log("set separator color light completed.");
        },
        onTxError
    );
}
```

---

## Nearby

- **Previous:** [Javascript: StatusBarViewGeneratorColors.setSeparatorColorDark Method](https://docs.textcontrol.com/ds-server/reference/javascript/statusbarviewgeneratorcolors/setseparatorcolordark-method/llms-full.txt)
- **Next:** [SubTextPart Object](https://docs.textcontrol.com/ds-server/reference/javascript/subtextpart/llms-full.txt)
