Add dark theme support #13

This commit is contained in:
Rafostar
2020-11-20 17:37:41 +01:00
parent 82c30c6c2d
commit ac27c364f3
3 changed files with 28 additions and 3 deletions

View File

@@ -22,6 +22,9 @@ class ClapperGeneralPage extends PrefsBase.Grid
let spinButton = this.addSpinButton('Value (percentage)', 0, 200, 'volume-value');
this._onVolumeInitialChanged(spinButton, comboBox);
comboBox.connect('changed', this._onVolumeInitialChanged.bind(this, spinButton));
this.addTitle('Appearance');
this.addCheckButton('Enable dark theme', 'dark-theme');
}
_onVolumeInitialChanged(spinButton, comboBox)