Merge pull request #283614 from microsoft/revert-283569-mrleemurray/tough-asp-maroon

Revert "Remove border color assignment in Toggle component styles"
This commit is contained in:
Lee Murray
2025-12-15 16:44:42 +00:00
committed by GitHub
+1
View File
@@ -229,6 +229,7 @@ export class Toggle extends Widget {
protected applyStyles(): void {
if (this.domNode) {
this.domNode.style.borderColor = (this._checked && this._opts.inputActiveOptionBorder) || '';
this.domNode.style.color = (this._checked && this._opts.inputActiveOptionForeground) || 'inherit';
this.domNode.style.backgroundColor = (this._checked && this._opts.inputActiveOptionBackground) || '';
}