💄 Fix RangePicker ranges color when custom theme (#23705)

close #23687
pull/23710/head
偏右 5 years ago committed by GitHub
parent f6d12c5d88
commit b70d607b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,6 @@
import * as React from 'react';
import Tag, { TagProps } from '../tag';
export default function PickerButton(props: TagProps) {
export default function PickerTag(props: TagProps) {
return <Tag color="blue" {...props} />;
}

@ -243,7 +243,11 @@
display: inline-block;
}
.@{picker-prefix-cls}-preset span {
// https://github.com/ant-design/ant-design/issues/23687
.@{picker-prefix-cls}-preset > .@{ant-prefix}-tag-blue {
color: @primary-color;
background: @primary-1;
border-color: @primary-3;
cursor: pointer;
}

Loading…
Cancel
Save