@aixa-transformation/pptx-viewer 2.0.30 → 2.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { THEME_PRESETS, MIN_ELEMENT_SIZE, guideEmuToPx, hasShapeProperties, THEME_COLOR_SCHEME_KEYS, hasTextProperties, createChartElement, getShapeClipPath, getAdjustmentAwareShapeClipPath, getShapeClipPathFromPreset, getCloudPathForRendering, hslToRgb, PRESET_COLOR_MAP, isImageLikeElement, stripXmlOrderSuffix, orderedXmlKey, createBuiltinVariables, resolveCoordinate, applyDrawingColorTransforms } from './chunk-JJ5MVLCK.mjs';
1
+ import { THEME_PRESETS, MIN_ELEMENT_SIZE, guideEmuToPx, hasShapeProperties, THEME_COLOR_SCHEME_KEYS, hasTextProperties, createChartElement, getShapeClipPath, getAdjustmentAwareShapeClipPath, getShapeClipPathFromPreset, getCloudPathForRendering, hslToRgb, PRESET_COLOR_MAP, isImageLikeElement, stripXmlOrderSuffix, orderedXmlKey, createBuiltinVariables, resolveCoordinate, applyDrawingColorTransforms } from './chunk-QKRGKIBL.mjs';
2
2
  import DOMPurify from 'dompurify';
3
3
 
4
4
  var defaultThemeColors = {
@@ -13290,7 +13290,7 @@ function shadeColor(hex, shadeFactor) {
13290
13290
  function applyTintShade(base, fill) {
13291
13291
  let color = base;
13292
13292
  if (fill.tint !== void 0 && fill.tint > 0) {
13293
- color = tintColor(color, fill.tint / 1e5);
13293
+ color = tintColor(color, 1 - fill.tint / 1e5);
13294
13294
  }
13295
13295
  if (fill.shade !== void 0 && fill.shade > 0) {
13296
13296
  color = shadeColor(color, 1 - fill.shade / 1e5);