Skip to content

Commit

Permalink
fix(theme): fix error css vars (#2338)
Browse files Browse the repository at this point in the history
  • Loading branch information
gimmyhehe authored Oct 21, 2024
1 parent 9397afb commit 35414f8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/theme/src/base/reset.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

// 高亮节点
.tiny-hl-query-node {
color: var(----tv-color-text-active) !important;
color: var(--tv-color-text-active) !important;
}

[class*=~'@{css-prefix}'] {
Expand Down
4 changes: 2 additions & 2 deletions packages/theme/src/cascader-panel/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
// 下拉菜单面板中子项的垂直方向的外边距
--tv-CascaderPanel-node-label-padding-x: 0;
// 下拉菜单面板中子项的标签的右侧内边距
--tv-CascaderPanel-node-label-padding-right: var(----tv-space-xl, 16px);
--tv-CascaderPanel-node-label-padding-right: var(--tv-space-xl, 16px);
// 下拉菜单面板中子项的标签的左侧内边距
--tv-CascaderPanel-node-label-padding-left: var(----tv-space-xl, 16px);
--tv-CascaderPanel-node-label-padding-left: var(--tv-space-xl, 16px);
// 下拉菜单面板中子项的边框圆角
--tv-CascaderPanel-node-border-radius: 0;
}
2 changes: 1 addition & 1 deletion packages/theme/src/grid/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@
}

&.col__valid-success:before {
border-color: transparent var(---tv-Grid-success-border-color) transparent transparent;
border-color: transparent var(--tv-Grid-success-border-color) transparent transparent;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/search/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
font-size: var(--tv-Search-font-size);
box-shadow: var(--tv-Search-selector-box-shadow);
background: var(--tv-Search-selector-bg-color);
color: var(--tv-Search-selector-text---tv-Search-disabled-border-color);
color: var(--tv-Search-selector-text);
margin-top: var(--tv-Search-selector-margin-top);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/select-dropdown/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// 字号(loading、空数据等辅助提示类)
--tv-SelectDropdown-font-size-tip: var(--tv-font-size-sm, 12px);
// 文本色(loading、空数据等辅助提示类)
--tv-SelectDropdown-text-color-tip: var(---tv-color-text-secondary, #595959);
--tv-SelectDropdown-text-color-tip: var(--tv-color-text-secondary, #595959);
// 行高
--tv-SelectDropdown-line-height: var(--tv-line-height-number, 1.5);
// 分割线颜色
Expand Down

0 comments on commit 35414f8

Please sign in to comment.