mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-22 06:40:01 +08:00
Compacted entity color options in settings view
- Also extracted the view code into it's own blade template - Made smaller color input styles
This commit is contained in:
@ -6,7 +6,7 @@ class SettingAppColorPicker {
|
||||
this.colorInput = elem.querySelector('input[type=color]');
|
||||
this.lightColorInput = elem.querySelector('input[name="setting-app-color-light"]');
|
||||
this.resetButton = elem.querySelector('[setting-app-color-picker-reset]');
|
||||
this.defaultButton = elem.querySelector('[setting-app-color-picker-default]')
|
||||
this.defaultButton = elem.querySelector('[setting-app-color-picker-default]');
|
||||
|
||||
this.colorInput.addEventListener('change', this.updateColor.bind(this));
|
||||
this.colorInput.addEventListener('input', this.updateColor.bind(this));
|
||||
|
Reference in New Issue
Block a user