Skip to content

Commit

Permalink
feat: add FORMATS
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Nov 26, 2024
1 parent c52f2ef commit db402ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/color-picker/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export const DEFAULT_SYSTEM_SWATCH_COLORS = [
'#033017',
];

// 非透明色格式化类型
export const FORMATS = ['HEX', 'RGB', 'HSL', 'HSV', 'CMYK', 'CSS'];

// saturation-panel default rect
export const SATURATION_PANEL_DEFAULT_WIDTH = 230;
export const SATURATION_PANEL_DEFAULT_HEIGHT = 168;
Expand Down

0 comments on commit db402ab

Please sign in to comment.