Skip to content

Commit afc4c83

Browse files
jayairopencode
authored andcommitted
tweak: use theme tokens for debug bar surface
1 parent ec64cea commit afc4c83

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

packages/app/src/components/debug-bar.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function Cell(props: { bad?: boolean; dim?: boolean; label: string; tip: string;
5555
<Tooltip value={props.tip} placement="top">
5656
<div
5757
classList={{
58-
"flex min-h-[42px] w-full min-w-0 flex-col items-center justify-center rounded-[8px] bg-white/5 px-0.5 py-1 text-center": true,
58+
"flex min-h-[42px] w-full min-w-0 flex-col items-center justify-center rounded-[8px] px-0.5 py-1 text-center": true,
5959
"col-span-2": !!props.wide,
6060
}}
6161
>
@@ -363,11 +363,7 @@ export function DebugBar() {
363363
return (
364364
<aside
365365
aria-label={language.t("debugBar.ariaLabel")}
366-
class="pointer-events-auto fixed bottom-3 right-3 z-50 w-[308px] max-w-[calc(100vw-1.5rem)] overflow-hidden rounded-xl border p-0.5 text-text-on-interactive-base shadow-[var(--shadow-lg-border-base)] sm:bottom-4 sm:right-4 sm:w-[324px]"
367-
style={{
368-
"background-color": "color-mix(in srgb, var(--icon-interactive-base) 42%, black)",
369-
"border-color": "color-mix(in srgb, white 14%, transparent)",
370-
}}
366+
class="pointer-events-auto fixed bottom-3 right-3 z-50 w-[308px] max-w-[calc(100vw-1.5rem)] overflow-hidden rounded-xl border border-border-base bg-surface-raised-stronger-non-alpha p-0.5 text-text-strong shadow-[var(--shadow-lg-border-base)] sm:bottom-4 sm:right-4 sm:w-[324px]"
371367
>
372368
<div class="grid grid-cols-5 gap-px font-mono">
373369
<Cell

0 commit comments

Comments
 (0)