Skip to content

Commit 804dbc6

Browse files
authored
fix: 修复主题相关的错误拼写 (antvis#3358)
1 parent 7d29b28 commit 804dbc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/theme/style-sheet/dark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export const createDarkStyleSheet = (cfg: StyleSheetCfg = {}) => {
176176
legendItemSpacing: 24,
177177
/** 图例项垂直方向的间隔 */
178178
legendItemMarginBottom: 12,
179-
/** 图例与图表绘图区域的便宜距离 */
179+
/** 图例与图表绘图区域的偏移距离 */
180180
legendSpacing: 16,
181181
/** 图例与图表绘图区域的偏移距离 */
182182
legendPadding: [8, 8, 8, 8],

src/theme/util/create-by-style-sheet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ export function createThemeByStyleSheet(styleSheet: StyleSheet): LooseObject {
11011101
stroke: '#fff',
11021102
shadowBlur: 10,
11031103
shadowOffsetX: 0,
1104-
shadowOffSetY: 0,
1104+
shadowOffsetY: 0,
11051105
shadowColor: 'rgba(0,0,0,0.09)',
11061106
lineWidth: 2,
11071107
r: 4,

0 commit comments

Comments
 (0)