feat(color-config): 将门区域颜色设为透明以提升视觉一致性
This commit is contained in:
parent
aedaf86c23
commit
acc7afddf9
@ -314,22 +314,22 @@ const DEFAULT_COLORS: EditorColorConfig = {
|
||||
area: {
|
||||
strokeActive: '#EBB214',
|
||||
// 为门区域(15)定制更友好的配色:蓝色系,提升可读性
|
||||
stroke: { ...generateAreaStrokeColors(), 15: '#1890FF99' },
|
||||
fill: { ...generateAreaFillColors(), 15: '#1890FF33' },
|
||||
stroke: { ...generateAreaStrokeColors(), 15: 'transparent' },
|
||||
fill: { ...generateAreaFillColors(), 15: 'transparent' },
|
||||
// 边框配置
|
||||
border: {
|
||||
width: 1, // 默认边框宽度
|
||||
opacity: 0.15, // 默认边框透明度 15%
|
||||
colors: { ...generateAreaBorderColors(), 15: '#1890FF' },
|
||||
colors: { ...generateAreaBorderColors(), 15: 'transparent' },
|
||||
},
|
||||
types: {
|
||||
...generateAreaTypeColors(),
|
||||
// 门区域(15)专属:统一蓝色系,边框由上方 colors[15] 提供
|
||||
15: {
|
||||
stroke: '#1890FF99',
|
||||
strokeActive: '#1890FF99',
|
||||
fill: '#1890FF33',
|
||||
borderColor: '#1890FF',
|
||||
stroke: 'transparent',
|
||||
strokeActive: 'transparent',
|
||||
fill: 'transparent',
|
||||
borderColor: 'transparent',
|
||||
borderWidth: 1,
|
||||
borderOpacity: 0.22,
|
||||
},
|
||||
@ -422,7 +422,7 @@ const DARK_THEME_COLORS: EditorColorConfig = {
|
||||
12: '#0DBB8A99',
|
||||
13: '#e61e4aad',
|
||||
14: '#FFD70099',
|
||||
15: '#1890FF99',
|
||||
15: 'transparent',
|
||||
},
|
||||
fill: {
|
||||
1: '#9ACDFF33',
|
||||
@ -430,7 +430,7 @@ const DARK_THEME_COLORS: EditorColorConfig = {
|
||||
12: '#0DBB8A33',
|
||||
13: '#e61e4a33',
|
||||
14: '#FFD70033',
|
||||
15: '#1890FF26',
|
||||
15: 'transparent',
|
||||
},
|
||||
// 边框配置
|
||||
border: {
|
||||
@ -442,7 +442,7 @@ const DARK_THEME_COLORS: EditorColorConfig = {
|
||||
12: '#52C41A',
|
||||
13: '#FA8C16',
|
||||
14: '#722ED1',
|
||||
15: '#1890FF',
|
||||
15: 'transparent',
|
||||
},
|
||||
},
|
||||
types: {
|
||||
@ -487,10 +487,10 @@ const DARK_THEME_COLORS: EditorColorConfig = {
|
||||
borderOpacity: 0.15,
|
||||
},
|
||||
15: {
|
||||
stroke: '#1890FF99',
|
||||
strokeActive: '#FCC947',
|
||||
fill: '#1890FF26',
|
||||
borderColor: '#1890FF',
|
||||
stroke: 'transparent',
|
||||
strokeActive: 'transparent',
|
||||
fill: 'transparent',
|
||||
borderColor: 'transparent',
|
||||
borderWidth: 1,
|
||||
borderOpacity: 0.2,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user