feat(DropdownMenu): add @dropdown-menu-title-active-text-color less var (#4208)

This commit is contained in:
neverland
2019-08-23 15:16:42 +08:00
committed by GitHub
parent 1cc6f03e6f
commit 2205285b38
5 changed files with 74 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
import { createNamespace } from '../utils';
import { BLUE, BORDER_TOP_BOTTOM } from '../utils/constant';
import { BORDER_TOP_BOTTOM } from '../utils/constant';
import { ParentMixin } from '../mixins/relation';
import { ClickOutsideMixin } from '../mixins/click-outside';
@@ -15,6 +15,7 @@ export default createComponent({
],
props: {
activeColor: String,
overlay: {
type: Boolean,
default: true
@@ -31,10 +32,6 @@ export default createComponent({
type: String,
default: 'down'
},
activeColor: {
type: String,
default: BLUE
},
closeOnClickOverlay: {
type: Boolean,
default: true
@@ -91,6 +88,7 @@ export default createComponent({
<span
class={[
bem('title', {
active: item.showPopup,
down: item.showPopup === (this.direction === 'down')
}),
item.titleClass