Skip to content

chore: replace MUI icons with Lucide icons - 5 #17750

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

Merged
merged 6 commits into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge branch 'main' of https://github.com/coder/coder into bq/replace…
…-mui-5
  • Loading branch information
BrunoQuaresma committed May 12, 2025
commit 62817932e77d601145b277f5ecb0ce89fd69fcf5
3 changes: 1 addition & 2 deletions site/src/modules/resources/PortForwardButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ import {
} from "components/deprecated/Popover/Popover";
import { type FormikContextType, useFormik } from "formik";
import { type ClassName, useClassName } from "hooks/useClassName";
import { ExternalLinkIcon } from "lucide-react";
import { ChevronDownIcon } from "lucide-react";
import { ExternalLinkIcon, X as XIcon, ChevronDownIcon } from "lucide-react";
import { useDashboard } from "modules/dashboard/useDashboard";
import { type FC, useState } from "react";
import { useMutation, useQuery } from "react-query";
Expand Down
7 changes: 3 additions & 4 deletions site/src/pages/HealthPage/Content.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { css } from "@emotion/css";
import { useTheme } from "@emotion/react";
import CheckCircleOutlined from "@mui/icons-material/CheckCircleOutlined";
import DoNotDisturbOnOutlined from "@mui/icons-material/DoNotDisturbOnOutlined";
import Link from "@mui/material/Link";
import type { HealthCode, HealthSeverity } from "api/typesGenerated";
import { CircleAlertIcon } from "lucide-react";
import type { HealthCode, HealthSeverity } from "api/typesGenerated";
import { CircleCheckIcon, CircleMinusIcon } from "lucide-react";
import {
type ComponentProps,
type FC,
Expand Down Expand Up @@ -57,7 +56,7 @@ interface HealthIconProps {
export const HealthIcon: FC<HealthIconProps> = ({ size, severity }) => {
const theme = useTheme();
const color = healthyColor(theme, severity);
const Icon = severity === "error" ? CircleAlertIcon : CheckCircleOutlined;
const Icon = severity === "error" ? CircleAlertIcon : CircleCheckIcon;

return <Icon css={{ width: size, height: size, color }} />;
};
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.