Skip to content

Commit 4ef33a6

Browse files
committed
Fix flow issues
1 parent 35250ac commit 4ef33a6

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

src/main/webapp/ui/flow-typed/mui.js

+8
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ declare module "@mui/system" {
2424
*/
2525
declare export function darken(color: string, coefficient: number): string;
2626

27+
/**
28+
* Lightens a color.
29+
* @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
30+
* @param {number} coefficient - multiplier in the range 0 - 1
31+
* @returns {string} A CSS color string. Hex input values are returned as rgb
32+
*/
33+
declare export function lighten(color: string, coefficient: number): string;
34+
2735
/**
2836
* Applies a transparency to a color.
2937
* @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()

src/main/webapp/ui/package-lock.json

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)