Export color interfaces from `ColorUtil`
authorMatthias Schmidt <gravatronics@live.com>
Wed, 30 Jun 2021 11:45:56 +0000 (13:45 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 30 Jun 2021 11:45:56 +0000 (13:45 +0200)
ts/WoltLabSuite/Core/ColorUtil.ts
wcfsetup/install/files/js/WoltLabSuite/Core/ColorUtil.js

index d58c57ccd9625bdc6c9e259c430ca265634641e6..556adafb16514fe86f519f9a4c7c1cc2ff9c41d8 100644 (file)
@@ -2,7 +2,7 @@
  * Helper functions to convert between different color formats.
  *
  * @author      Alexander Ebert
- * @copyright  2001-2019 WoltLab GmbH
+ * @copyright  2001-2021 WoltLab GmbH
  * @license     GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @module  ColorUtil (alias)
  * @module      WoltLabSuite/Core/ColorUtil
@@ -185,13 +185,13 @@ export function rgbToHex(r: number, g: number, b: number): string {
   );
 }
 
-interface RGB {
+export interface RGB {
   r: number;
   g: number;
   b: number;
 }
 
-interface HSV {
+export interface HSV {
   h: number;
   s: number;
   v: number;
index 8ed83736fa96264fd7765ebeb85e4b9fdc61b3fa..7e7426af05e505feafc68babcc8ec9499badc0ac 100644 (file)
@@ -2,7 +2,7 @@
  * Helper functions to convert between different color formats.
  *
  * @author      Alexander Ebert
- * @copyright  2001-2019 WoltLab GmbH
+ * @copyright  2001-2021 WoltLab GmbH
  * @license     GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @module  ColorUtil (alias)
  * @module      WoltLabSuite/Core/ColorUtil