File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,8 @@ const clampChroma = color => {
6464 return conv ( clamped ) ;
6565} ;
6666
67+ // Deprecated / no longer documented
6768const clamp = ( method = 'rgb' ) => {
68- console . warn (
69- 'culori.clamp() is deprecated and will be removed from the 1.x release.'
70- ) ;
7169 switch ( method ) {
7270 case 'rgb' :
7371 return clampRgb ;
Original file line number Diff line number Diff line change @@ -39,10 +39,8 @@ const formatRgb = c => {
3939 }
4040} ;
4141
42+ // Deprecated / no longer documented
4243const formatter = ( format = 'rgb' ) => {
43- console . warn (
44- 'culori.formatter() is deprecated and will be removed from the 1.x version. Use individual formatters instead.'
45- ) ;
4644 switch ( format ) {
4745 case 'rgb' :
4846 return formatRgb ;
You can’t perform that action at this time.
0 commit comments