Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui] Add PagerDuty icon #20749

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ import no_access from '../icon-svgs/no_access.svg';
import notifications from '../icon-svgs/notifications.svg';
import observation from '../icon-svgs/observation.svg';
import open_in_new from '../icon-svgs/open_in_new.svg';
import pagerduty from '../icon-svgs/pagerduty.svg';
import panel_hide_right from '../icon-svgs/panel_hide_right.svg';
import panel_show_both from '../icon-svgs/panel_show_both.svg';
import panel_show_bottom from '../icon-svgs/panel_show_bottom.svg';
Expand Down Expand Up @@ -242,6 +243,7 @@ export const Icons = {
tag,
slack,
ms_teams,
pagerduty,
github,
github_pr_open,
github_pr_closed,
Expand Down Expand Up @@ -373,7 +375,11 @@ export const Icons = {
zoom_out,
} as const;

const SVGS_WITH_COLORS = new Set([(slack as any).src, (ms_teams as any).src]);
const SVGS_WITH_COLORS = new Set([
(slack as any).src,
(ms_teams as any).src,
(pagerduty as any).src,
]);

export type IconName = keyof typeof Icons;

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.