Skip to content

Commit 20bdb61

Browse files
authored
Colors - generatePalette addDarkestTints for 9 increments for adjusted lightness (#2975)
1 parent 9415434 commit 20bdb61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/style/colors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export class Colors {
233233
const isWhite = lightness === 100;
234234
const lightnessLevel = options?.addDarkestTints ? (isWhite ? 5 : 0) : 20;
235235
const lightColorsThreshold = options?.adjustLightness && this.shouldGenerateDarkerPalette(color) ? 5 : 0;
236-
const step = /* options?.addDarkestTints ? 9 : */ 10;
236+
const step = options?.addDarkestTints ? 9 : 10;
237237
const ls = [colorLightness];
238238

239239
let l = lightness - step;

0 commit comments

Comments
 (0)