Skip to content

Commit 9040a8e

Browse files
beth-panxshweaver-MSFTnmetulev
authored
Add dark theme to mgt-people-picker and mgt-channel-picker (#676)
* Add dark theme to mgt-people-picker * Add copyright language * themeing with css only * Address pr feedback and add Nikola's suggestion * Add channel picker themes. Consolidate commonly used css functions. * Address PR feedback * Update reference Co-authored-by: Shane Weaver <[email protected]> Co-authored-by: Nikola Metulev <[email protected]> Co-authored-by: Nikola Metulev <[email protected]>
1 parent 5c014a8 commit 9040a8e

File tree

16 files changed

+732
-636
lines changed

16 files changed

+732
-636
lines changed

packages/mgt-react/src/generated/react.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ResponseType,IDynamicPerson,PersonType,GroupType,ThemeType,PersonCardInteraction,PersonViewType,AvatarSize,TasksStringResource,TaskFilter,SelectedChannel } from '@microsoft/mgt';
1+
import { ResponseType,IDynamicPerson,PersonType,GroupType,PersonCardInteraction,PersonViewType,AvatarSize,TasksStringResource,TaskFilter,SelectedChannel } from '@microsoft/mgt';
22
import * as MgtElement from '@microsoft/mgt-element';
33
import * as MicrosoftGraph from '@microsoft/microsoft-graph-types';
44
import * as MicrosoftGraphBeta from '@microsoft/microsoft-graph-types-beta';
@@ -56,7 +56,6 @@ export type PeoplePickerProps = {
5656
selectionMode?: string;
5757
showMax?: number;
5858
selectedPeople?: IDynamicPerson[];
59-
theme?: ThemeType;
6059
templateConverters?: MgtElement.TemplateContext;
6160
templateContext?: MgtElement.TemplateContext;
6261
useShadowRoot?: boolean;

packages/mgt/src/components/mgt-agenda/mgt-agenda.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import * as MicrosoftGraph from '@microsoft/microsoft-graph-types';
99
import { customElement, html, property, TemplateResult } from 'lit-element';
1010
import { Providers, ProviderState, MgtTemplatedComponent } from '@microsoft/mgt-element';
11-
import '../../styles/fabric-icon-font';
11+
import '../../styles/style-helper';
1212
import { prepScopes } from '../../utils/GraphHelpers';
1313
import { getDayOfWeekString, getMonthString } from '../../utils/Utils';
1414
import '../mgt-person/mgt-person';

packages/mgt/src/components/mgt-login/mgt-login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Providers, ProviderState, MgtTemplatedComponent } from '@microsoft/mgt-
1212
import { MgtFlyout } from '../sub-components/mgt-flyout/mgt-flyout';
1313
import { styles } from './mgt-login-css';
1414
import { getUserWithPhoto } from '../../graph/graph.user';
15-
import '../../styles/fabric-icon-font';
15+
import '../../styles/style-helper';
1616
import '../mgt-person/mgt-person';
1717
import { PersonViewType } from '../mgt-person/mgt-person';
1818

0 commit comments

Comments
 (0)