ui: add --color-ui-button variable, adapt modal's theme, show prop name in color picker
This commit is contained in:
parent
9d477f1259
commit
742d3dafa8
7 changed files with 46 additions and 30 deletions
|
|
@ -58,11 +58,13 @@ class ColorPicker extends UiWidget {
|
|||
// })
|
||||
|
||||
this.opened = 0
|
||||
this.label = DOM.get(this.modal.container, '.title')[0]
|
||||
|
||||
}
|
||||
|
||||
open() {
|
||||
|
||||
this.label.innerHTML = this.name
|
||||
this.modal.open()
|
||||
resize.check(this.rgb.container)
|
||||
this.opened = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue