File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,23 @@ export const Ads: any; // export { default as Ads } from './src/Ads'
22
22
export { AppData , FontFaceDefinition } from './src/Application/index.js' ;
23
23
export { default as Application } from './src/Application/index.js' ;
24
24
export const AudioPlayer : any ; // export { default as AudioPlayer } from './src/AudioPlayer'
25
- export const Colors : any ; // export { default as Colors } from './src/Colors'
25
+ export type ColorTransform = {
26
+ alpha ( value : number ) : ColorTransform ;
27
+ hue ( value : number ) : ColorTransform ;
28
+ lightness ( value : number ) : ColorTransform ;
29
+ saturation ( value : number ) : ColorTransform ;
30
+ lighter ( value : number ) : ColorTransform ;
31
+ darker ( value : number ) : ColorTransform ;
32
+ mix ( color : string , percentage : number ) : ColorTransform ;
33
+ get ( ) : number ;
34
+ } ;
35
+
36
+ export type Colors = {
37
+ ( colorName : string ) : ColorTransform ;
38
+ } & {
39
+ [ colorName : string ] : ColorTransform ;
40
+ } ;
41
+ export const Colors : Colors ; // export { default as Colors } from './src/Colors'
26
42
export { default as Img } from './src/Img/index.js' ;
27
43
export const Keyboard : any ; // export { default as Keyboard } from './src/Keyboard'
28
44
export { default as Launch } from './src/Launch/index.js' ;
You can’t perform that action at this time.
0 commit comments