GeezerVison is showing github.com — style: add css themes vars · lawplus/lowcode-engine@1f21491
File treeExpand file treeCollapse file tree Open diff view settings docs/docs/guide/expand/editor designer/src/builtin-simulator/bem-tools editor-skeleton/src/layouts
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: docs/docs/guide/expand/editor/theme.md +7-1Lines changed: 7 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -35,6 +35,7 @@ sidebar_position: 9 | 35 | 35 | #### Icon 相关颜色 | 36 | 36 |
| 37 | 37 | - `--color-icon-normal`: 默认状态 | | 38 | +- `--color-icon-light`: icon light 状态 | 38 | 39 | - `--color-icon-hover`: 鼠标悬停状态 | 39 | 40 | - `--color-icon-active`: 激活状态 | 40 | 41 | - `--color-icon-reverse`: 反色状态 | @@ -82,16 +83,21 @@ sidebar_position: 9 | 82 | 83 | #### 区块背景色 | 83 | 84 |
| 84 | 85 | - `--color-block-background-normal`: 区块背景色 | 85 | | -- `--color-block-background-light`: 区块背景色(light), 作用于画布组件 hover 时遮罩背景色。 | | 86 | +- `--color-block-background-light`: 区块背景色(light)。 | 86 | 87 | - `--color-block-background-shallow`: 区块背景色 shallow | 87 | 88 | - `--color-block-background-dark`: 区块背景色(dark) | 88 | 89 | - `--color-block-background-disabled`: 区块背景色(disabled) | 89 | 90 | - `--color-block-background-active`: 区块背景色(active) | | 91 | +- `--color-block-background-active-light`: 区块背景色(active light) | 90 | 92 | - `--color-block-background-warning`: 区块背景色(warning) | 91 | 93 | - `--color-block-background-error`: 区块背景色(error) | 92 | 94 | - `--color-block-background-success`: 区块背景色(success) | 93 | 95 | - `--color-block-background-deep-dark`: 区块背景色(deep-dark),作用于多个组件同时拖拽的背景色。 | 94 | 96 |
| | 97 | +#### 引擎相关颜色 | | 98 | + | | 99 | +- `--color-canvas-detecting-background`: 画布组件 hover 时遮罩背景色。 | | 100 | + | 95 | 101 | #### 其他区域背景色 | 96 | 102 |
| 97 | 103 | - `--color-layer-mask-background`: 拖拽元素时,元素原来位置的遮罩背景色 | |
Collapse file Copy file name to clipboardExpand all lines: packages/designer/src/builtin-simulator/bem-tools/borders.less +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 100 | 100 | &&-detecting { | 101 | 101 | z-index: 1; | 102 | 102 | border-style: dashed; | 103 | | - background: var(--color-block-background-light, rgba(0,121,242,.04)); | | 103 | + background: var(--color-canvas-detecting-background, rgba(0,121,242,.04)); | 104 | 104 | } | 105 | 105 |
| 106 | 106 | &&-selecting { | |
Collapse file Copy file name to clipboardExpand all lines: packages/editor-skeleton/src/layouts/theme.less +6-2Lines changed: 6 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 14 | 14 |
| 15 | 15 | --color-icon-normal: @normal-alpha-4; | 16 | 16 | --color-icon-hover: @normal-alpha-3; | | 17 | + --color-icon-light: @normal-alpha-5; | 17 | 18 | --color-icon-active: @brand-color-1; | 18 | 19 | --color-icon-reverse: @white-alpha-1; | 19 | 20 | --color-icon-disabled: @normal-alpha-6; | | 55 | 56 | --color-pane-background: @white-alpha-1; | 56 | 57 | --color-block-background-normal: @white-alpha-1; | 57 | 58 | --color-block-background-light: @normal-alpha-9; | 58 | | - --color-block-background-shallow: @normal-alpha-8; | 59 | 59 | --color-block-background-dark: @normal-alpha-7; | | 60 | + --color-block-background-shallow: @normal-alpha-8; | 60 | 61 | --color-block-background-disabled: @normal-alpha-6; | 61 | | - --color-block-background-active: @brand-color-1-7; | | 62 | + --color-block-background-active: @brand-color-1; | | 63 | + --color-block-background-active-light: @brand-color-1-7; | 62 | 64 | --color-block-background-warning: @brand-warning-alpha-7; | 63 | 65 | --color-block-background-error: @brand-danger-alpha-7; | 64 | 66 | --color-block-background-success: @brand-success-alpha-7; | | 67 | 69 | --color-layer-tooltip-background: rgba(44,47,51,0.8); | 68 | 70 | --color-background: #edeff3; | 69 | 71 |
| | 72 | + --color-canvas-detecting-background: rgba(0,121,242,.04); | | 73 | + | 70 | 74 | --pane-title-bg-color: rgba(31,56,88,.04); | 71 | 75 | } | 72 | 76 |
| |
|