Skip to content

Commit ede4ffe

Browse files
authored
mgt-people-picker updating cssprops to match implementation and documentation (#478)
* updating cssprops to match implementation and documentation * removing accent color from scss * removing searchIcon (legacy design)
1 parent 66f67e2 commit ede4ffe

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/components/mgt-people-picker/mgt-people-picker.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@
88
@import '../../../node_modules/office-ui-fabric-core/dist/sass/References';
99
@import '../../styles/shared-styles.scss';
1010

11-
$list-margin: var(--list-margin, 20px 4px 8px 8px);
1211
$avatar-margin: var(--avatar-margin, 0 4px 0 0);
1312
$avatar-size-s: var(--avatar-size-s, 24px);
1413
$avatar-size: var(--avatar-size, 48px);
1514
$initials-color: var(--initials-color, white);
1615
$initials-background-color: var(--initials-background-color, #{$ms-color-magenta});
17-
$accent-color: var(--accent-color, #0078d4);
1816

1917
$input-border: var(--input-border, 2px solid #b3b0ad);
2018
$input-border-bottom: var(--input-border-bottom, $input-border);
@@ -120,11 +118,6 @@ mgt-people-picker .CloseIcon {
120118
cursor: pointer;
121119
color: $font-color;
122120
}
123-
:host .SearchIcon,
124-
mgt-people-picker .SearchIcon {
125-
font-family: 'FabricMDL2Icons';
126-
color: $accent-color;
127-
}
128121

129122
:host .people-person,
130123
mgt-people-picker .people-person {

src/components/mgt-people-picker/mgt-people-picker.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,11 @@ interface IFocusable {
5757
* @cssprop --input-focus-color - {Color} Input text focus color
5858
*
5959
* @cssprop --dropdown-background-color - {Color} Background color of dropdown area
60-
* @cssprop --dropdown-item-hover-background - {Color} Background color of channel or team during hover
61-
* @cssprop --dropdown-item-selected-background - {Color} Background color of selected channel
60+
* @cssprop --dropdown-item-hover-background - {Color} Background color of person during hover
6261
*
6362
* @cssprop --placeholder-focus-color - {Color} Color of placeholder text during focus state
6463
* @cssprop --placeholder-default-color - {Color} Color of placeholder text
6564
*
66-
* @cssprop --people-list-background-color - {Color} People list background color
67-
* @cssprop --accent-color - {Color} Accent color
6865
*/
6966
@customElement('mgt-people-picker')
7067
export class MgtPeoplePicker extends MgtTemplatedComponent {

0 commit comments

Comments
 (0)