Skip to content

Commit cbbf704

Browse files
committed
chore: bumdle size
1 parent f8e1555 commit cbbf704

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/FastColor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class FastColor {
133133
if (presetColor) {
134134
this.fromHexString(
135135
// Convert 36 hex to 16 hex
136-
parseInt(presetColor, 36).toString(16),
136+
parseInt(presetColor, 36).toString(16).padStart(6, '0'),
137137
);
138138
}
139139
}

src/presetColors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// 36 Hex to reduce the size of the file
12
export default {
23
aliceblue: '9ehhb',
34
antiquewhite: '9sgk7',

0 commit comments

Comments
 (0)