nextcloud/apps/theming
Abijeet 81f34e224c
Allows adding of hex color to the theme-color
Fixes #7158. Adds a # on the color if missing.

Increased maxlength, added hash:true for jscolor, and adding a # if not present on the change event.

Since the input element now allows a hex code, changed values to hexcode.

In addition, added a function to get RGB array from hex or rgb values. Calling it in both methods and using it to perform comparison.

Also changed the way we were determining whether the jscolor component had loaded.

Changed the control to use data-jscolor rather than defining opts in the class.

Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2017-12-08 10:42:41 +01:00
..
appinfo Theming: bump version to retrigger icon generation 2017-11-13 10:18:48 +01:00
css Theming: add hint about favicon generation 2017-11-08 23:31:18 +01:00
img Add the icons for shipped apps 2017-01-19 10:42:22 +01:00
js Allows adding of hex color to the theme-color 2017-12-08 10:42:41 +01:00
l10n [tx-robot] updated from transifex 2017-12-07 01:10:37 +00:00
lib Theming: Fix tests for favicon containing multiple sizes 2017-11-13 10:18:48 +01:00
templates Allows adding of hex color to the theme-color 2017-12-08 10:42:41 +01:00
tests Theming: Fix tests for favicon containing multiple sizes 2017-11-13 10:18:48 +01:00