Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8bc684b

Browse files
committed
icons adjusted
1 parentdfd25d9 commit8bc684b

File tree

2 files changed

+5
-16
lines changed

2 files changed

+5
-16
lines changed

‎client/packages/lowcoder/src/comps/controls/styleControl.tsx

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import {
2727
TimerFlashIcon,
2828
Timer2Icon,
2929
RefreshLineIcon,
30+
ShadowIcon,
31+
OpacityIcon,
3032
}from'lowcoder-design';
3133
import{useContext}from"react";
3234
importstyledfrom"styled-components";
@@ -729,7 +731,7 @@ const AnimationIterationCountPropIcon = styled(RefreshLineIcon)`
729731
color: #888;
730732
`;
731733

732-
constOpacityPropIcon=styled(BorderWidthIcon)`
734+
constOpacityPropIcon=styled(OpacityIcon)`
733735
margin: 0 8px 0 -3px;
734736
padding: 3px;
735737
color: #888;
@@ -741,7 +743,7 @@ const BoxShadowColorPropIcon = styled(BorderWidthIcon)`
741743
color: #888;
742744
`;
743745

744-
constBoxShadowPropIcon=styled(BorderWidthIcon)`
746+
constBoxShadowPropIcon=styled(ShadowIcon)`
745747
margin: 0 8px 0 -3px;
746748
padding: 3px;
747749
color: #888;
@@ -788,7 +790,6 @@ export function styleControl<T extends readonly SingleColorConfig[]>(colorConfig
788790
name==='radius'||
789791
name==='borderWidth'||
790792
name==='boxShadow'||
791-
name==='boxShadowColor'||
792793
name==='animationIterationCount'||
793794
name==='opacity'||
794795
name==='animation'||
@@ -1061,18 +1062,6 @@ export function styleControl<T extends readonly SingleColorConfig[]>(colorConfig
10611062
),
10621063
placeholder:props[name],
10631064
})
1064-
:name==='boxShadowColor'
1065-
?(
1066-
children[name]asInstanceType<
1067-
typeofStringControl
1068-
>
1069-
).propertyView({
1070-
label:config.label,
1071-
preInputNode:(
1072-
<BoxShadowColorPropIcontitle="BoxShadowColor-Type"/>
1073-
),
1074-
placeholder:props[name],
1075-
})
10761065
:name==='padding'||
10771066
name===
10781067
'containerHeaderPadding'||

‎client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ export const en = {
474474
// fourth part
475475

476476
"style":{
477-
"boxShadowColor":'BoxShadow Color',
477+
"boxShadowColor":'Shadow Color',
478478
"boxShadow":'Box Shadow',
479479
"opacity":'Opacity',
480480
"animation":'Animation',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp