diff --git a/apps/web/src/components/settings/ResourceTelemetryDiagnostics.tsx b/apps/web/src/components/settings/ResourceTelemetryDiagnostics.tsx
index aa125e0efd4d..2fabb2417890 100644
--- a/apps/web/src/components/settings/ResourceTelemetryDiagnostics.tsx
+++ b/apps/web/src/components/settings/ResourceTelemetryDiagnostics.tsx
@@ -142,10 +142,10 @@ function categoryLabel(category: ResourceTelemetryProcessCategory): string {
}
function categoryDotClass(category: ResourceTelemetryProcessCategory): string {
- if (category === "resource-monitor") return "bg-amber-500";
- if (category.startsWith("electron-")) return "bg-sky-500";
+ if (category === "resource-monitor") return "bg-warning";
+ if (category.startsWith("electron-")) return "bg-info";
if (category === "server") return "bg-violet-500";
- return "bg-emerald-500";
+ return "bg-success";
}
function ioSemanticsLabel(semantics: ResourceTelemetryIoSemantics): string {
@@ -196,10 +196,8 @@ function SourceStatusBadge({
className={cn(
"inline-flex items-center gap-1.5 rounded-full border px-2.5 py-1 text-[10px] font-semibold uppercase tracking-[0.08em]",
tone === "neutral" && "border-border/70 bg-muted/45 text-muted-foreground",
- tone === "default" &&
- "border-emerald-500/25 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",
- tone === "warning" &&
- "border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300",
+ tone === "default" && "border-success/25 bg-success/10 text-success-foreground",
+ tone === "warning" && "border-warning/30 bg-warning/10 text-warning-foreground",
tone === "danger" && "border-destructive/30 bg-destructive/10 text-destructive",
)}
>
@@ -207,8 +205,8 @@ function SourceStatusBadge({
className={cn(
"size-1.5 rounded-full",
tone === "neutral" && "bg-muted-foreground/55",
- tone === "default" && "bg-emerald-500",
- tone === "warning" && "bg-amber-500",
+ tone === "default" && "bg-success",
+ tone === "warning" && "bg-warning",
tone === "danger" && "bg-destructive",
)}
/>
@@ -258,7 +256,7 @@ function IconStat({
@@ -412,10 +410,10 @@ function ResourceHistoryChart({
CPU average
- I/O reads
+ I/O reads
- I/O writes
+ I/O writes
@@ -445,11 +443,11 @@ function ResourceHistoryChart({
style={{ height: `${cpuHeight}%` }}
/>
@@ -632,10 +630,10 @@ function ProcessTable({
{formatBytes(process.residentBytes)}
|
-
+ |
{formatRate(process.ioReadBytesPerSecond)}
|
-
+ |
{formatRate(process.ioWriteBytesPerSecond)}
|
@@ -740,10 +738,10 @@ function HistoryProcessTable({
|
{formatBytes(process.peakRssBytes)}
|
-
+ |
{formatBytes(process.ioReadBytes)}
|
-
+ |
{formatBytes(process.ioWriteBytes)}
|
@@ -797,10 +795,10 @@ function AttributionTable({ entries }: { entries: ReadonlyArray
| {entry.operation} |
-
+ |
{formatBytes(entry.logicalReadBytes)}
|
-
+ |
{formatBytes(entry.logicalWriteBytes)}
|
{entry.count} |
@@ -997,7 +995,7 @@ export function ResourceTelemetryDiagnostics({
-
+
Sampling every {snapshot ? formatSampleInterval(snapshot.sampleIntervalMs) : "..."}
@@ -1063,17 +1061,17 @@ export function ResourceTelemetryDiagnostics({
@@ -1186,7 +1184,7 @@ export function ResourceTelemetryDiagnostics({
value={String(snapshot.health.inaccessibleProcessCount)}
valueClassName={
snapshot.health.inaccessibleProcessCount > 0
- ? "text-amber-600 dark:text-amber-300"
+ ? "text-warning-foreground"
: undefined
}
/>
diff --git a/apps/web/src/components/settings/SnapShotSetupDialog.tsx b/apps/web/src/components/settings/SnapShotSetupDialog.tsx
index f0adbcc40cf1..c5ba97cedd97 100644
--- a/apps/web/src/components/settings/SnapShotSetupDialog.tsx
+++ b/apps/web/src/components/settings/SnapShotSetupDialog.tsx
@@ -5,7 +5,8 @@ import {
type DesktopSnapShotSetupAction,
type DesktopSnapShotState,
} from "@t3tools/contracts";
-import { useId, useState, type ReactNode } from "react";
+import { useState, type ReactNode } from "react";
+import { MacAccessibilityIcon, MacScreenRecordingIcon } from "../Icons";
import { CaptureShortcutConfig } from "./CaptureShortcutConfig";
import { Button } from "../ui/button";
import { Dialog, DialogDescription } from "../ui/dialog";
@@ -61,72 +62,6 @@ const GNOME_ACCESS_COPY = {
},
};
-function ScreenRecordingIcon() {
- const gradientId = useId();
- return (
-
- );
-}
-
-function AccessibilityPermissionIcon() {
- const gradientId = useId();
- return (
-
- );
-}
-
export function SnapShotSetupDialog({
state,
initialStep,
@@ -333,7 +268,9 @@ export function SnapShotSetupDialog({
permissions={[
{
id: "screenRecording",
- icon: ,
+ icon: (
+
+ ),
title: "Screen Recording",
description: "Capture the window you're using.",
granted: macPermissions.screenRecording,
@@ -341,7 +278,9 @@ export function SnapShotSetupDialog({
},
{
id: "accessibility",
- icon: ,
+ icon: (
+
+ ),
title: "Accessibility",
description: includeAccessibility
? "Include text and controls from the captured app."
diff --git a/apps/web/src/components/sidebar/DesktopUpdateStatusIcon.tsx b/apps/web/src/components/sidebar/DesktopUpdateStatusIcon.tsx
index 833559e1cc27..04ee884bbf6c 100644
--- a/apps/web/src/components/sidebar/DesktopUpdateStatusIcon.tsx
+++ b/apps/web/src/components/sidebar/DesktopUpdateStatusIcon.tsx
@@ -67,7 +67,7 @@ function DesktopUpdateDownloadingIcon({ percent }: { readonly percent: number |
cy="16"
r={DOWNLOAD_PROGRESS_RADIUS}
fill="none"
- stroke="color-mix(in srgb, currentColor 22%, transparent)"
+ className="stroke-current/22"
strokeWidth="1.5"
/>
) : showUsageStatus && hasIssue ? (
) : (
diff --git a/apps/web/src/routes/_chat.pull-requests.tsx b/apps/web/src/routes/_chat.pull-requests.tsx
index 7b3d4d4418dd..87439e8a4bc9 100644
--- a/apps/web/src/routes/_chat.pull-requests.tsx
+++ b/apps/web/src/routes/_chat.pull-requests.tsx
@@ -1819,7 +1819,7 @@ function PullRequestsRouteView() {
)}
{listQuery.error && shownCount > 0 ? (
-
+
{listQuery.error} Showing the last pull requests loaded.
|