( descriptor: ColorsDescriptor )
| 82 | } |
| 83 | |
| 84 | function containsColorsDefinition( |
| 85 | descriptor: ColorsDescriptor |
| 86 | ) { |
| 87 | return descriptor && (descriptor.borderColor || descriptor.backgroundColor); |
| 88 | } |
| 89 | |
| 90 | function containsDefaultColorsDefenitions() { |
| 91 | return defaults.borderColor !== 'rgba(0,0,0,0.1)' || defaults.backgroundColor !== 'rgba(0,0,0,0.1)'; |