feat: @input-icon-hover-color

This commit is contained in:
ycjcl868 2019-12-05 00:04:50 +08:00
parent e1d850374a
commit 6af7f8382c
4 changed files with 4 additions and 12 deletions

View File

@ -37,12 +37,7 @@
transition: all 0.3s; transition: all 0.3s;
&:hover { &:hover {
& when (@theme = dark) { color: @input-icon-hover-color;
color: fade(@white, 85%);
}
& when not (@theme = dark) {
color: fade(@black, 85%);
}
} }
} }

View File

@ -11,12 +11,7 @@
cursor: pointer; cursor: pointer;
transition: all 0.3s; transition: all 0.3s;
&:hover { &:hover {
& when (@theme = dark) { color: @input-icon-hover-color;
color: fade(@white, 85%);
}
& when not (@theme = dark) {
color: fade(@black, 85%);
}
} }
} }

View File

@ -259,6 +259,7 @@
@input-placeholder-color: fade(@white, 30%); @input-placeholder-color: fade(@white, 30%);
@input-number-handler-bg: transparent; @input-number-handler-bg: transparent;
@input-number-handler-active-bg: @gray-11; @input-number-handler-active-bg: @gray-11;
@input-icon-hover-color: fade(@white, 85%);
// Select // Select
// --- // ---

View File

@ -350,6 +350,7 @@
@input-hover-border-color: @primary-5; @input-hover-border-color: @primary-5;
@input-disabled-bg: @disabled-bg; @input-disabled-bg: @disabled-bg;
@input-outline-offset: 0 0; @input-outline-offset: 0 0;
@input-icon-hover-color: fade(@black, 85%);
// Mentions // Mentions
// --- // ---