Skip to content

Commit d0258c9

Browse files
committed
cleaned up people picker style
1 parent 540b803 commit d0258c9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ $avatar-size-s: var(--avatar-size-s, 24px);
1414
$avatar-size: var(--avatar-size, 48px);
1515
$initials-color: var(--initials-color, white);
1616
$initials-background-color: var(--initials-background-color, #{$ms-color-magenta});
17+
$accent-color: var(--accent-color, #0078d4);
1718

1819
:host {
19-
box-shadow: 0px 1.3289px 2.65781px rgba(180, 180, 180, 0.182), 0px 10.6312px 13.289px rgba(180, 180, 180, 0.182);
2020
border-radius: 2px;
2121
}
2222
:host .root,
@@ -51,10 +51,8 @@ mgt-people-picker .people-list {
5151
:host .people-list-separator,
5252
mgt-people-picker .people-list-separator {
5353
height: 2px;
54-
background: #0078d4;
54+
background: $accent-color;
5555
margin-top: 5px;
56-
margin-left: 16px;
57-
margin-right: 16px;
5856
text-align: center;
5957
}
6058

@@ -94,7 +92,7 @@ mgt-people-picker .CloseIcon {
9492
:host .SearchIcon,
9593
mgt-people-picker .SearchIcon {
9694
font-family: 'FabricMDL2Icons';
97-
color: #0078d4;
95+
color: $accent-color;
9896
}
9997

10098
:host .people-person,
@@ -154,7 +152,6 @@ mgt-people-picker .input-search-start {
154152

155153
:host .people-picker-input,
156154
mgt-people-picker .people-picker-input {
157-
padding-inline-start: 14px;
158155
display: flex;
159156
order: 2;
160157
background-color: white;

0 commit comments

Comments
 (0)