enhance readability
This commit is contained in:
@@ -18,7 +18,7 @@ export class ColorPicker {
|
||||
if(!this.names[name]) {
|
||||
this.current_h+=golden_ratio_conjugate;
|
||||
this.current_h%=1;
|
||||
this.names[name]=`hsl(${this.current_h*360}, 60%, 90%)`;
|
||||
this.names[name]=`hsl(${this.current_h*360}, 50%, 90%)`;
|
||||
}
|
||||
return this.names[name];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user