Skip to content

Commit

Permalink
fix:Modify panel shadow color (#943)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanlid authored Jan 7, 2025
1 parent 15597a1 commit a14a508
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/common/component/PluginSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default {
overflow: hidden;
border-left: 1px solid var(--ti-lowcode-plugin-panel-header-border-bottom-color);
&:not(.second-panel) {
box-shadow: 6px 0px 3px 0px rgba(0, 0, 0, 0.05);
box-shadow: 6px 0px 3px 0px var(--te-base-box-shadow-rgba-3);
border-right: none;
border-left: none;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/i18n/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ export default {

<style lang="less" scoped>
.plugin-panel-i18n {
box-shadow: 6px 0px 3px 0px rgba(0, 0, 0, 0.05);
box-shadow: 6px 0px 3px 0px var(--te-base-box-shadow-rgba-3);
}
.stripe-tiny-grid {
word-wrap: break-word;
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/schema/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default {
top: var(--base-top-panel-height);
left: 41px;
background: var(--ti-lowcode-common-component-bg);
box-shadow: 6px 0px 3px 0px rgba(0, 0, 0, 0.05);
box-shadow: 6px 0px 3px 0px var(--te-base-box-shadow-rgba-3);
z-index: 1000;
.source-code-header {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/script/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default {
width: 50vw;
height: 100%;
background: var(--ti-lowcode-plugin-js-bg);
box-shadow: 6px 0px 3px 0px rgba(0, 0, 0, 0.05);
box-shadow: 6px 0px 3px 0px var(--te-base-box-shadow-rgba-3);
position: absolute;
left: 0;
top: 0;
Expand Down
1 change: 1 addition & 0 deletions packages/plugins/state/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ export default {
height: 100%;
border-right: 1px solid var(--ti-lowcode-toolbar-border-color);
background: var(--ti-lowcode-common-component-bg);
box-shadow: 6px 0px 3px 0px var(--te-base-box-shadow-rgba-3);
position: absolute;
left: var(--base-left-panel-width);
top: 0;
Expand Down
1 change: 1 addition & 0 deletions packages/theme/base/src/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@

--te-base-box-shadow-rgba-1: rgba(25, 25, 25, 0.15);
--te-base-box-shadow-rgba-2: rgba(0, 0, 0, 0.16);
--te-base-box-shadow-rgba-3: rgba(0, 0, 0, 0.1);

/**
* 1.1 行高
Expand Down

0 comments on commit a14a508

Please sign in to comment.