nuke theme
This commit is contained in:
1 parent
32fbb8f434
commit
dd463bb60b
83 files changed
+225
-349
No files matched your search
@@ -210,7 +210,7 @@ const Invite = () => {
|
||||
<Button
|
||||
loading={loading}
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
type="submit"
|
||||
>
|
||||
Send Invite
|
||||
|
||||
@@ -130,7 +130,7 @@ const Login = () => {
|
||||
<Button
|
||||
variant="contained"
|
||||
loading={loading}
|
||||
color="accent"
|
||||
color="primary"
|
||||
type="submit"
|
||||
sx={{ width: "100%", alignSelf: "center", fontWeight: 700 }}
|
||||
>
|
||||
|
||||
@@ -56,7 +56,7 @@ export const RegisterForm = ({
|
||||
return (
|
||||
<Button
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
onClick={() => onSubmit(defaults)}
|
||||
>
|
||||
Accept invite
|
||||
@@ -165,7 +165,7 @@ export const RegisterForm = ({
|
||||
<Button
|
||||
variant="contained"
|
||||
loading={loading}
|
||||
color="accent"
|
||||
color="primary"
|
||||
type="submit"
|
||||
sx={{ width: "100%", alignSelf: "center", fontWeight: 700 }}
|
||||
>
|
||||
|
||||
@@ -43,13 +43,13 @@ const BillingSuccessPage = () => {
|
||||
>
|
||||
<Typography variant="h1">Finishing subscription update...</Typography>
|
||||
<Stack direction="row" alignItems={"center"} gap={theme.spacing(10)}>
|
||||
<CircularProgress color="accent" size={28} />
|
||||
<CircularProgress color="primary" size={28} />
|
||||
<Stack>
|
||||
<Typography variant="h2">
|
||||
{plan ? (
|
||||
<>
|
||||
{"Selected plan: "}
|
||||
<span style={{ color: theme.palette.accent.main }}>
|
||||
<span style={{ color: theme.palette.primary.main }}>
|
||||
{plan.charAt(0).toUpperCase() + plan.slice(1)}
|
||||
</span>
|
||||
</>
|
||||
@@ -70,13 +70,13 @@ const BillingSuccessPage = () => {
|
||||
nothing will change.
|
||||
</Typography>
|
||||
<Button
|
||||
color="accent"
|
||||
color="primary"
|
||||
variant="outlined"
|
||||
onClick={() => refetch?.()}
|
||||
>
|
||||
Try again
|
||||
</Button>
|
||||
<Button color="accent" variant="contained" href="/billing">
|
||||
<Button color="primary" variant="contained" href="/billing">
|
||||
Back to billing
|
||||
</Button>
|
||||
</Stack>
|
||||
|
||||
@@ -27,7 +27,7 @@ export const DiagnosticsLogTab = () => {
|
||||
info: theme.palette.success.main,
|
||||
warn: theme.palette.warning.main,
|
||||
error: theme.palette.error.main,
|
||||
debug: theme.palette.accent.main,
|
||||
debug: theme.palette.primary.main,
|
||||
};
|
||||
|
||||
const headers: Header<ILogEntry>[] = [
|
||||
|
||||
@@ -42,7 +42,7 @@ const NoTeam = () => {
|
||||
<Box>
|
||||
<Button
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
onClick={async () => {
|
||||
await post("/auth/logout", {});
|
||||
navigate("/login");
|
||||
|
||||
@@ -27,7 +27,7 @@ const NotFound = ({ title = DefaultValue.title, desc = DefaultValue.desc }) => {
|
||||
<Typography variant="body1">{desc}</Typography>
|
||||
<Button
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
sx={{ mt: theme.spacing(10) }}
|
||||
onClick={() => navigate("/")}
|
||||
>
|
||||
|
||||
@@ -75,7 +75,7 @@ const ExportPage = () => {
|
||||
<Button
|
||||
loading={loading}
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
onClick={handleExport}
|
||||
>
|
||||
Export to JSON
|
||||
@@ -130,7 +130,7 @@ const ExportPage = () => {
|
||||
<Button
|
||||
loading={isPosting}
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
onClick={handleImport}
|
||||
>
|
||||
Import from JSON
|
||||
|
||||
@@ -119,7 +119,7 @@ export const IncidentTable = ({
|
||||
refetch();
|
||||
}}
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
Resolve
|
||||
</Button>
|
||||
|
||||
@@ -11,8 +11,8 @@ const getChartConfigs = (theme: any, checks: IInfraCheck[]) => {
|
||||
{
|
||||
type: "memory",
|
||||
dataKeys: ["memory.usage_percent"],
|
||||
strokeColor: theme.palette.accent.main,
|
||||
gradientStartColor: theme.palette.accent.main,
|
||||
strokeColor: theme.palette.primary.main,
|
||||
gradientStartColor: theme.palette.primary.main,
|
||||
yDomain: [0, 1],
|
||||
idx: null,
|
||||
},
|
||||
|
||||
@@ -20,8 +20,8 @@ const getChartConfigs = (
|
||||
{
|
||||
type: "Bytes received",
|
||||
dataKeys: [`net[${idx}].bytes_recv`],
|
||||
strokeColor: theme.palette.accent.main,
|
||||
gradientStartColor: theme.palette.accent.main,
|
||||
strokeColor: theme.palette.primary.main,
|
||||
gradientStartColor: theme.palette.primary.main,
|
||||
yDomain: [0, 1],
|
||||
idx: null,
|
||||
},
|
||||
|
||||
@@ -349,7 +349,7 @@ export const InfraForm = ({
|
||||
loading={loading}
|
||||
type="submit"
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
{t("settingsSave")}
|
||||
</Button>
|
||||
|
||||
@@ -217,7 +217,7 @@ export const MaintenanceForm = ({
|
||||
loading={loading}
|
||||
type="submit"
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
{t("settingsSave")}
|
||||
</Button>
|
||||
|
||||
@@ -213,7 +213,7 @@ export const NotificationChannelsForm = ({
|
||||
>
|
||||
<Button
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
onClick={handleTest}
|
||||
loading={isPosting || loading}
|
||||
>
|
||||
@@ -223,7 +223,7 @@ export const NotificationChannelsForm = ({
|
||||
loading={isPosting || loading}
|
||||
type="submit"
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
{t("settingsSave")}
|
||||
</Button>
|
||||
|
||||
@@ -269,7 +269,7 @@ export const PageSpeedForm = ({
|
||||
loading={loading}
|
||||
type="submit"
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
{t("settingsSave")}
|
||||
</Button>
|
||||
|
||||
@@ -140,7 +140,7 @@ export const ProfileForm = ({
|
||||
<Button
|
||||
variant="contained"
|
||||
loading={loading}
|
||||
color="accent"
|
||||
color="primary"
|
||||
type="submit"
|
||||
sx={{ width: "100%", alignSelf: "center", fontWeight: 700 }}
|
||||
>
|
||||
|
||||
@@ -78,7 +78,7 @@ export const RecoveryForm = ({
|
||||
<Button
|
||||
variant="contained"
|
||||
loading={loading}
|
||||
color="accent"
|
||||
color="primary"
|
||||
type="submit"
|
||||
sx={{ width: "100%", alignSelf: "center", fontWeight: 700 }}
|
||||
>
|
||||
|
||||
@@ -98,7 +98,7 @@ export const ResetForm = ({
|
||||
<Button
|
||||
variant="contained"
|
||||
loading={loading}
|
||||
color="accent"
|
||||
color="primary"
|
||||
type="submit"
|
||||
sx={{ width: "100%", alignSelf: "center", fontWeight: 700 }}
|
||||
>
|
||||
|
||||
@@ -309,7 +309,7 @@ export const SettingsForm = ({
|
||||
<Button
|
||||
loading={loading}
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
onClick={() => {
|
||||
onTest(formValues);
|
||||
}}
|
||||
@@ -320,7 +320,7 @@ export const SettingsForm = ({
|
||||
loading={loading}
|
||||
type="submit"
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
Save e-mail settings
|
||||
</Button>
|
||||
@@ -364,7 +364,7 @@ export const SettingsForm = ({
|
||||
>
|
||||
<Button
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
type="submit"
|
||||
loading={loading}
|
||||
>
|
||||
|
||||
@@ -203,7 +203,7 @@ export const StatusPageForm = ({
|
||||
loading={loading}
|
||||
type="submit"
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
{t("settingsSave")}
|
||||
</Button>
|
||||
|
||||
@@ -137,7 +137,7 @@ export const TeamMemberForm = ({
|
||||
loading={loading}
|
||||
type="submit"
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
{t("settingsSave")}
|
||||
</Button>
|
||||
|
||||
@@ -144,7 +144,7 @@ export const TeamsForm = ({
|
||||
loading={loading}
|
||||
type="submit"
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
{t("settingsSave")}
|
||||
</Button>
|
||||
|
||||
@@ -338,7 +338,7 @@ export const UptimeForm = ({
|
||||
loading={loading}
|
||||
type="submit"
|
||||
variant="contained"
|
||||
color="accent"
|
||||
color="primary"
|
||||
>
|
||||
{t("settingsSave")}
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user