1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

feat: remove color validation in appearance admin page & add color indicator (#3140)

* Remove color validation in basics admin page & add color indicator

* Create ColorInput common component

* Revert 'formGroupAttrs' addition

* Rename component CSS classes

* Fix input type in ColorInput from AdminPage#buildSettingComponent

* Rename component to ColorPreviewInput, remove aliases in admin & export in compat

* Remove leftovers from rebase on master

* feat: add global type definition for a vnode element tag

* fix(a11y): add aria roles to color input

* chore: use new type

* chore: format

Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
David Sevilla Martin
2021-11-23 16:38:46 -05:00
committed by GitHub
parent 9dbe86a22c
commit f418b84aca
8 changed files with 77 additions and 25 deletions

View File

@@ -23,14 +23,6 @@
margin-bottom: 24px !important;
margin-left: 10px;
}
input {
float: left;
&:first-child {
margin-right: 2%;
}
}
}
.AppearancePage-colors .Checkbox {