Skip to content

Commit

Permalink
fix: colorPalette is not defined when use theme
Browse files Browse the repository at this point in the history
close #26290
  • Loading branch information
afc163 committed Aug 25, 2020
1 parent fb839f0 commit a4da6fa
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 190 deletions.
8 changes: 3 additions & 5 deletions components/tree-select/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,10 @@
}
}

// ========================== Tree ==========================
.antTreeFn(@select-tree-prefix-cls);

// change switcher icon rotation in rtl direction
.@{select-tree-prefix-cls} {
// >>> Switcher
.antTreeFn(@select-tree-prefix-cls);

// change switcher icon rotation in rtl direction
& &-switcher {
&_close {
.@{select-tree-prefix-cls}-switcher-icon {
Expand Down
4 changes: 3 additions & 1 deletion components/tree/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

.antCheckboxFn(@checkbox-prefix-cls: ~'@{ant-prefix}-tree-checkbox');

.antTreeFn(@tree-prefix-cls);
.@{tree-prefix-cls} {
.antTreeFn(@tree-prefix-cls);
}

@import './rtl';

0 comments on commit a4da6fa

Please sign in to comment.