Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(theme): fix error css vars #2338

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading