# Javascript: StatusBarViewGeneratorColors.resetSeparatorColorLight 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. Resets the status bar's separatorColorLight to its system dependent default value.

> **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.resetSeparatorColorLight Method
- **419 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/statusbarviewgeneratorcolors/resetseparatorcolorlight-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/statusbarviewgeneratorcolors/resetseparatorcolorlight-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/statusbarviewgeneratorcolors/resetseparatorcolorlight-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. Resets the status bar's separatorColorLight to its system dependent default value.

### Syntax

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

### Parameters

| Parameter | Description |
|---|---|
| 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.resetSeparatorColorLight` 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. Resets the status bar's separatorColorLight to its system dependent default value.

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

function resetSeparatorColorLight(statusBarViewGeneratorColors) {
    statusBarViewGeneratorColors.resetSeparatorColorLight(
        function() {
            console.log("reset separator color light completed.");
        },
        onTxError
    );
}
```

---

## Nearby

- **Previous:** [Javascript: StatusBarViewGeneratorColors.resetSeparatorColorDark Method](https://docs.textcontrol.com/ds-server/reference/javascript/statusbarviewgeneratorcolors/resetseparatorcolordark-method/llms-full.txt)
- **Next:** [Javascript: StatusBarViewGeneratorColors.setBackColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/statusbarviewgeneratorcolors/setbackcolor-method/llms-full.txt)
