Skip to content

Commit

Permalink
feat: input,select less vars (#19546)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycjcl868 authored and zombieJ committed Nov 4, 2019
1 parent 0189244 commit 696f560
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/input-number/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
}

&:hover {
.hover();
.hover(@input-number-hover-border-color);
}

&-focused {
Expand Down
2 changes: 1 addition & 1 deletion components/select/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
&-selection {
display: block;
box-sizing: border-box;
background-color: @component-background;
background-color: @select-background;
border: @border-width-base @border-style-base @select-border-color;
// strange align fix for chrome but works
// https://gw.alipayobjects.com/zos/rmsportal/VFTfKXJuogBAXcvfAUWJ.gif
Expand Down
2 changes: 2 additions & 0 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@
@input-color: @text-color;
@input-border-color: @border-color-base;
@input-bg: @component-background;
@input-number-hover-border-color: @input-hover-border-color;
@input-number-handler-active-bg: #f4f4f4;
@input-number-handler-hover-bg: @primary-5;
@input-number-handler-bg: @component-background;
Expand All @@ -338,6 +339,7 @@
@select-dropdown-bg: @component-background;
@select-item-selected-bg: @background-color-light;
@select-item-active-bg: @item-active-bg;
@select-background: @component-background;

// Anchor
// ---
Expand Down

0 comments on commit 696f560

Please sign in to comment.