diff --git a/src/types/slides.ts b/src/types/slides.ts index ac091ab..de9cfe5 100644 --- a/src/types/slides.ts +++ b/src/types/slides.ts @@ -72,6 +72,11 @@ export interface PPTImageElement { shadow?: PPTElementShadow; } +export interface ShapeGradient { + type: 'line' | 'radial'; + color: [string, string]; + rotate: number; +} export interface PPTShapeElement { type: 'shape'; id: string; @@ -85,6 +90,7 @@ export interface PPTShapeElement { path: string; fixedRatio: boolean; fill: string; + gradient?: ShapeGradient; rotate?: number; outline?: PPTElementOutline; opacity?: number; diff --git a/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.vue b/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.vue index ecfcd29..b1f491a 100644 --- a/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.vue +++ b/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel/index.vue @@ -53,7 +53,7 @@
主题配色:
- +