Skip to content

Commit be7759d

Browse files
committed
[TOOL-3075] Dashboard: Adjust theming, Improved light mode (#5956)
Fix "inverted look" of light mode - light mode now correctly has a slightly dark background and lighter cards on top * Instead of `bg-muted/50`, use `bg-card` instead. `--card` color is updated * For cards that are links, don't change the background color on hover - apply a subtle border change instead - added a `--active-border` for this - this looks great in both light and dark mode * Prefer using `bg-accent` for hover effects instead of `bg-muted` (even though they are currently both same color) for adding hover accent. Use `bg-accent/50` for applying a very subtle accent - use cases: clickable table row <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the styles of various components in the application to replace the `bg-muted` class with `bg-card`, enhancing the visual consistency across the UI. ### Detailed summary - Changed `className` from `bg-muted/50` to `bg-card` in multiple components. - Updated hover effects from `hover:bg-muted` to `hover:bg-card`. - Modified background colors in various layouts to use `bg-card` instead of `bg-muted`. - Adjusted button and input styles for consistent theming. > The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/table.tsx`, `apps/dashboard/src/components/configure-networks/ConfigureNetworkForm.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/insight/[blueprint_slug]/blueprint-playground.client.tsx`, `apps/dashboard/src/@/styles/globals.css`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/embed/embed-setup.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/PayAnalytics.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/client/filters.tsx`, `apps/dashboard/src/app/components/sdk-component-theme.ts`, `apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx`, `apps/dashboard/src/app/team/components/Analytics/EmptyState.tsx`, `apps/dashboard/src/components/settings/Account/Billing/CreditsItem.tsx` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 15178b2 commit be7759d

File tree

147 files changed

+403
-375
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+403
-375
lines changed

apps/dashboard/src/@/components/blocks/Avatars/ProjectAvatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function ProjectAvatar(props: {
1212
className={cn("rounded-lg border border-border", props.className)}
1313
alt={""}
1414
fallback={
15-
<div className="flex items-center justify-center bg-muted/50">
15+
<div className="flex items-center justify-center bg-card">
1616
<BoxIcon className="size-[50%] text-muted-foreground" />
1717
</div>
1818
}

apps/dashboard/src/@/components/blocks/DangerSettingCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function DangerSettingCard(props: {
3030
return (
3131
<div
3232
className={cn(
33-
"overflow-hidden rounded-lg border border-red-500/70",
33+
"overflow-hidden rounded-lg border border-red-500/70 bg-card",
3434
props.className,
3535
)}
3636
>

apps/dashboard/src/@/components/blocks/Img.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function Img(props: imgElementProps) {
2525
: _status;
2626
const { className, fallback, skeleton, ...restProps } = props;
2727
const defaultSkeleton = <div className="animate-pulse bg-accent" />;
28-
const defaultFallback = <div className="bg-muted" />;
28+
const defaultFallback = <div className="bg-accent" />;
2929
const imgRef = useRef<HTMLImageElement>(null);
3030

3131
useIsomorphicLayoutEffect(() => {

apps/dashboard/src/@/components/blocks/MobileSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function MobileSidebar(props: {
4747
const defaultTrigger = (
4848
<Button
4949
className={cn(
50-
"w-full justify-between gap-2 bg-muted/50 text-left lg:hidden",
50+
"w-full justify-between gap-2 bg-card text-left lg:hidden",
5151
props.triggerClassName,
5252
)}
5353
variant="outline"

apps/dashboard/src/@/components/blocks/SettingsCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function SettingsCard(
3030
}>,
3131
) {
3232
return (
33-
<div className="relative rounded-lg border border-border bg-muted/50">
33+
<div className="relative rounded-lg border border-border bg-card">
3434
<div
3535
className={cn(
3636
"relative border-border border-b px-4 py-6 lg:px-6",

apps/dashboard/src/@/components/blocks/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function RenderSidebarLinks(props: { links: SidebarLink[] }) {
6767
// biome-ignore lint/suspicious/noArrayIndexKey: items won't be reordered
6868
key={i}
6969
href={link.href}
70-
className="flex items-center gap-2 rounded-md px-3 py-2 text-muted-foreground text-sm hover:bg-muted"
70+
className="flex items-center gap-2 rounded-md px-3 py-2 text-muted-foreground text-sm hover:bg-accent"
7171
activeClassName="text-foreground"
7272
exactMatch={link.exactMatch}
7373
>

apps/dashboard/src/@/components/blocks/app-footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function AppFooter(props: AppFooterProps) {
1919
return (
2020
<footer
2121
className={cn(
22-
"w-full border-border border-t bg-muted/50 py-6 md:py-8",
22+
"w-full border-border border-t bg-card py-6 md:py-8",
2323
props.className,
2424
)}
2525
>

apps/dashboard/src/@/components/blocks/error-fallbacks/unexpect-value-error-message.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function UnexpectedValueErrorMessage(props: {
2323
{stringifiedValue && (
2424
<div className="mt-3">
2525
<p className="mb-0.5 text-muted-foreground text-sm">Value Received</p>
26-
<ScrollShadow className="rounded-lg bg-muted/50">
26+
<ScrollShadow className="rounded-lg bg-card">
2727
<code className="block whitespace-pre p-4 font-mono text-xs">
2828
{stringifiedValue}
2929
</code>

apps/dashboard/src/@/components/blocks/multi-select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export const MultiSelect = forwardRef<HTMLButtonElement, MultiSelectProps>(
202202
event.stopPropagation();
203203
handleClear();
204204
}}
205-
className="rounded p-1 hover:bg-muted"
205+
className="rounded p-1 hover:bg-accent"
206206
>
207207
<XIcon className="h-4 cursor-pointer text-muted-foreground" />
208208
</div>

apps/dashboard/src/@/components/blocks/pricing-card.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ export const PricingCard: React.FC<PricingCardProps> = ({
5757
return (
5858
<div
5959
className={cn(
60-
"z-[999] flex w-full flex-col gap-6 rounded-xl border border-border bg-muted/50 p-4 md:p-6",
60+
"z-10 flex w-full flex-col gap-6 rounded-xl border border-border bg-card p-4 md:p-6",
6161
current && "border-blue-500",
62+
highlighted && "border-active-border",
6263
)}
6364
style={
6465
highlighted

apps/dashboard/src/@/components/ui/alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as React from "react";
44
import { cn } from "@/lib/utils";
55

66
const alertVariants = cva(
7-
"dark:bg-muted/50 relative w-full rounded-lg border border-border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
7+
"bg-card relative w-full rounded-lg border border-border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
88
{
99
variants: {
1010
variant: {

apps/dashboard/src/@/components/ui/code/CodeBlockContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function CodeBlockContainer(props: {
2121
return (
2222
<div
2323
className={cn(
24-
"group relative max-w-full overflow-hidden rounded-lg border border-border bg-background",
24+
"group relative max-w-full overflow-hidden rounded-lg border border-border bg-card",
2525
props.className,
2626
)}
2727
>

apps/dashboard/src/@/components/ui/image-upload.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const ImageUpload = React.forwardRef<HTMLInputElement, ImageUploadProps>(
3333
<div
3434
{...getRootProps()}
3535
className={cn(
36-
"group relative flex cursor-pointer flex-col items-center justify-center gap-1.5 overflow-hidden rounded-md border bg-card p-4 py-6 text-muted-foreground transition-all hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
36+
"group relative flex cursor-pointer flex-col items-center justify-center gap-1.5 overflow-hidden rounded-md border bg-background p-4 py-6 text-muted-foreground transition-all hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
3737
isDragActive ? "border-primary" : "border-input",
3838
!activeFile ? "w-full" : "min-h-32 min-w-32",
3939
className,

apps/dashboard/src/@/components/ui/input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
1111
<input
1212
type={type}
1313
className={cn(
14-
"flex h-10 w-full rounded-md border border-input bg-card px-3 py-2 text-base ring-offset-background selection:bg-foreground selection:text-background file:border-0 file:bg-transparent file:font-medium file:text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
14+
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background selection:bg-foreground selection:text-background file:border-0 file:bg-transparent file:font-medium file:text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
1515
className,
1616
)}
1717
ref={ref}

apps/dashboard/src/@/components/ui/radio-group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const RadioGroupItemButton = React.forwardRef<
5151
<RadioGroupPrimitive.Item
5252
ref={ref}
5353
className={cn(
54-
"group flex min-w-32 cursor-pointer items-center space-x-3 space-y-0 rounded-lg border px-4 py-3 font-medium transition-all hover:border-foreground/25 hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 peer-hover:border-nonce data-[state=checked]:border-muted-foreground",
54+
"group flex min-w-32 cursor-pointer items-center space-x-3 space-y-0 rounded-lg border px-4 py-3 font-medium transition-all hover:border-foreground/25 hover:bg-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 peer-hover:border-nonce data-[state=checked]:border-muted-foreground",
5555
className,
5656
)}
5757
{...props}

apps/dashboard/src/@/components/ui/select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const SelectTrigger = React.forwardRef<
2121
<SelectPrimitive.Trigger
2222
ref={ref}
2323
className={cn(
24-
"flex h-10 w-full items-center justify-between gap-2 rounded-md border border-input bg-card px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
24+
"flex h-10 w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
2525
className,
2626
)}
2727
{...props}

apps/dashboard/src/@/components/ui/table.stories.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ function TableDemo(props: {
114114
<TableRow
115115
key={invoice.invoice}
116116
linkBox={props.linkBox}
117-
className={cn(props.linkBox && "cursor-pointer hover:bg-muted")}
117+
className={cn(
118+
props.linkBox && "cursor-pointer hover:bg-accent/50",
119+
)}
118120
>
119121
<TableCell className="font-medium">
120122
<Link

apps/dashboard/src/@/components/ui/table.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const TableHeader = React.forwardRef<
2525
<thead
2626
ref={ref}
2727
className={cn(
28-
"border-border border-b bg-muted/50 [&_tr]:border-b",
28+
"border-border border-b bg-background [&_tr]:border-b",
2929
className,
3030
)}
3131
{...props}
@@ -53,7 +53,7 @@ const TableFooter = React.forwardRef<
5353
<tfoot
5454
ref={ref}
5555
className={cn(
56-
"border-border border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
56+
"border-border border-t bg-card font-medium [&>tr]:last:border-b-0",
5757
className,
5858
)}
5959
{...props}
@@ -128,7 +128,7 @@ TableCaption.displayName = "TableCaption";
128128
function TableContainer(props: { children: React.ReactNode }) {
129129
return (
130130
<ScrollShadow
131-
className="relative whitespace-nowrap rounded-lg border border-border"
131+
className="relative whitespace-nowrap rounded-lg border border-border bg-card"
132132
shadowColor="hsl(var(--muted))"
133133
>
134134
{props.children}

apps/dashboard/src/@/components/ui/tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function TabLinks(props: {
5151
href={tab.href}
5252
aria-disabled={tab.isDisabled}
5353
className={cn(
54-
"relative h-auto rounded-lg px-3 font-normal text-muted-foreground text-sm hover:bg-muted lg:text-sm",
54+
"relative h-auto rounded-lg px-3 font-normal text-muted-foreground text-sm hover:bg-accent lg:text-sm",
5555
!tab.isActive && !tab.isDisabled && "hover:text-foreground",
5656
tab.isDisabled && "pointer-events-none",
5757
tab.isActive && "!text-foreground",

apps/dashboard/src/@/components/ui/textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
1010
return (
1111
<textarea
1212
className={cn(
13-
"flex min-h-[80px] w-full rounded-md border border-input bg-card px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
13+
"flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
1414
className,
1515
)}
1616
ref={ref}

apps/dashboard/src/@/styles/globals.css

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
:root,
77
[data-theme="light"] {
88
/* bg - neutral */
9-
--background: 0 0% 100%;
9+
--background: 0 0% 98%;
1010
--popover: 0 0% 100%;
1111
--card: 0 0% 100%;
12-
--secondary: 0 0% 92%;
13-
--muted: 0 0% 95%;
14-
--accent: 0 0% 95%;
12+
--secondary: 0 0% 90%;
13+
--muted: 0 0% 93%;
14+
--accent: 0 0% 93%;
1515
--inverted: 0 0% 4%;
1616

1717
/* bg - colorful */
@@ -34,9 +34,10 @@
3434
--destructive-text: 357.15deg 100% 68.72%;
3535

3636
/* Borders */
37-
--border: 0 0% 80%;
38-
--input: 0 0% 80%;
39-
--ring: 0 0% 85%;
37+
--border: 0 0% 85%;
38+
--active-border: 0 0% 70%;
39+
--input: 0 0% 85%;
40+
--ring: 0 0% 80%;
4041

4142
/* Others */
4243
--radius: 0.5rem;
@@ -46,7 +47,7 @@
4647
[data-theme="dark"] {
4748
/* bg - neutral */
4849
--background: 0 0% 0%;
49-
--card: 0 0% 0%;
50+
--card: 0 0% 3.92%;
5051
--popover: 0 0% 0%;
5152
--secondary: 0 0% 11%;
5253
--muted: 0 0% 11%;
@@ -74,6 +75,7 @@
7475

7576
/* Borders */
7677
--border: 0 0% 15%;
78+
--active-border: 0 0% 22%;
7779
--ring: 0 0% 30%;
7880
--input: 0 0% 15%;
7981
}
@@ -159,13 +161,12 @@ input:-webkit-autofill:active {
159161

160162
.shiki,
161163
.shiki span {
162-
background-color: var(--background) !important;
164+
background-color: transparent !important;
163165
}
164166

165167
.dark .shiki,
166168
.dark .shiki span {
167169
color: var(--shiki-dark) !important;
168-
background-color: var(--background) !important;
169170
/* Optional, if you also want font styles */
170171
font-style: var(--shiki-dark-font-style) !important;
171172
font-weight: var(--shiki-dark-font-weight) !important;

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/BuyFundsSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function BuyFundsSection(props: { chain: ChainMetadata }) {
1212
return (
1313
<section>
1414
<SectionTitle title="Buy Funds" />
15-
<div className="flex justify-center rounded-lg border border-border bg-muted/30 px-4 py-10">
15+
<div className="flex justify-center rounded-lg border border-border bg-card px-4 py-10">
1616
<div className="flex max-w-[520px] flex-col items-center ">
1717
<div className="flex items-center">
1818
<ChainIcon

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/ChainOverviewSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function ChainOverviewSection(props: { chain: ChainMetadata }) {
1111
return (
1212
<section>
1313
<SectionTitle title="Chain Overview" />
14-
<div className="grid grid-cols-1 gap-6 rounded-lg border bg-muted/50 p-4 md:grid-cols-2 md:p-6 lg:grid-cols-3 lg:gap-8">
14+
<div className="grid grid-cols-1 gap-6 rounded-lg border bg-card p-4 md:grid-cols-2 md:p-6 lg:grid-cols-3 lg:gap-8">
1515
{/* Info */}
1616
{chain.infoURL && (
1717
<PrimaryInfoItem title="Info">

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/ClaimChainSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function ClaimChainSection() {
77
return (
88
<section>
99
<SectionTitle title="Claim Chain" />
10-
<div className="rounded-lg border bg-muted/50 p-4">
10+
<div className="rounded-lg border bg-card p-4">
1111
<p className="mb-1"> This chain page is unclaimed </p>
1212
<p className="mb-5 text-muted-foreground text-sm">
1313
Are you the owner of this ecosystem? Claim this page to add additional

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/FaucetSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export async function FaucetSection(props: {
1919
return (
2020
<section>
2121
<SectionTitle title="Faucet" />
22-
<div className="flex justify-center rounded-lg border border-border bg-muted/50 px-4 py-10">
22+
<div className="flex justify-center rounded-lg border border-border bg-card px-4 py-10">
2323
<div className="flex w-full max-w-[520px] flex-col items-center ">
2424
<div className="flex items-center">
2525
<ChainIcon

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/SupportedProductsSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function SupportedProductsSection(props: {
2525
return (
2626
<div
2727
key={product.id}
28-
className="relative flex gap-3 rounded-lg border bg-muted/50 p-4 pr-8 transition-colors duration-300 hover:bg-muted"
28+
className="relative flex gap-3 rounded-lg border bg-card p-4 pr-8 transition-colors hover:border-active-border"
2929
>
3030
<CircleCheckIcon className="absolute top-4 right-4 size-5 text-success-text" />
3131
<product.icon className="mt-0.5 size-5 shrink-0" />

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/explorer-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function ExplorersSection(props: {
1414
return (
1515
<div
1616
key={explorer.url}
17-
className="relative rounded-xl border bg-muted/50 p-4 hover:bg-muted"
17+
className="relative rounded-xl border bg-card p-4 transition-colors hover:border-active-border"
1818
>
1919
<ExternalLinkIcon className="absolute top-4 right-4 size-4 text-muted-foreground" />
2020
<h3 className="mb-1 font-semibold text-base capitalize">

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/marketplace-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export const MarketplaceTable: React.FC<MarketplaceTableProps> = ({
247247
<Tr
248248
{...row.getRowProps()}
249249
role="group"
250-
className="hover:bg-muted/50"
250+
className="hover:bg-card"
251251
style={{ cursor: "pointer" }}
252252
onClick={() => setTokenRow(row.original)}
253253
borderBottomWidth={1}

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_components/claim-conditions/snapshot-upload.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const SnapshotViewerSheetContent: React.FC<SnapshotUploadProps> = ({
160160
<div
161161
className={cn(
162162
"flex h-full cursor-pointer rounded-md border border-border hover:border-primary",
163-
noCsv ? "bg-red-200" : "bg-card",
163+
noCsv ? "bg-red-200" : "bg-background",
164164
)}
165165
{...getRootProps()}
166166
>

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_layout/metadata-header.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const MetadataHeader: React.FC<MetadataHeaderProps> = ({
8383
{chain && (
8484
<Link
8585
href={`/${chain.slug}`}
86-
className="flex w-fit shrink-0 items-center gap-2 rounded-3xl border border-border bg-muted/50 px-2.5 py-1.5 hover:bg-muted"
86+
className="flex w-fit shrink-0 items-center gap-2 rounded-3xl border border-border bg-card px-2.5 py-1.5 hover:bg-accent"
8787
>
8888
<ChainIcon ipfsSrc={chain.icon?.url} className="size-4" />
8989
{cleanedChainName && (
@@ -109,7 +109,7 @@ export const MetadataHeader: React.FC<MetadataHeaderProps> = ({
109109
<CopyAddressButton
110110
address={address}
111111
copyIconPosition="left"
112-
className="bg-muted/50 text-xs"
112+
className="bg-card text-xs"
113113
variant="outline"
114114
/>
115115

@@ -138,7 +138,7 @@ function BadgeLink(props: {
138138
<Button
139139
variant="outline"
140140
asChild
141-
className="!h-auto gap-2 rounded-lg bg-muted/50 px-3 py-1.5 text-xs capitalize"
141+
className="!h-auto gap-2 rounded-lg bg-card px-3 py-1.5 text-xs capitalize"
142142
>
143143
<Link href={props.href} target="_blank">
144144
{props.name}

0 commit comments

Comments
 (0)