Skip to content

Commit 4735b23

Browse files
committed
fix: update icon color from 'text-secondary' to 'text-foreground' in multiple preview tables
1 parent e64387f commit 4735b23

File tree

6 files changed

+21
-48
lines changed

6 files changed

+21
-48
lines changed

src/index.css

Lines changed: 16 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -234,71 +234,44 @@
234234
--border: oklch(0.922 0 0);
235235
--input: oklch(0.922 0 0);
236236
--ring: oklch(0.708 0 0);
237-
238-
--chart-1: oklch(0.646 0.222 41.116);
239-
--chart-2: oklch(0.6 0.118 184.704);
240-
--chart-3: oklch(0.398 0.07 227.392);
241-
--chart-4: oklch(0.828 0.189 84.429);
242-
--chart-5: oklch(0.769 0.188 70.08);
243-
244-
--sidebar: oklch(0.985 0 0);
245-
--sidebar-foreground: oklch(0.145 0 0);
246-
--sidebar-primary: oklch(0.205 0 0);
247-
--sidebar-primary-foreground: oklch(0.985 0 0);
248-
--sidebar-accent: oklch(0.97 0 0);
249-
--sidebar-accent-foreground: oklch(0.205 0 0);
250-
--sidebar-border: oklch(0.922 0 0);
251-
--sidebar-ring: oklch(0.708 0 0);
252237
}
253238

254239
.dark {
255240
--background: var(--color-grey-900);
256241
--foreground: var(--color-grey-50);
257242

258-
--card: oklch(0.208 0.042 265.755);
259-
--card-foreground: oklch(0.984 0.003 247.858);
243+
--card: oklch(0.208 0.042 265.755);
244+
--card-foreground: oklch(0.984 0.003 247.858);
260245

261-
--popover: var(--color-grey-800);
262-
--popover-foreground: var(--color-grey-50);
246+
--popover: var(--color-grey-800);
247+
// used in footer ! addressChip ! and Select
248+
--popover-foreground: var(--color-grey-50);
263249

264-
--tooltip: var(--color-grey-800);
265-
--tooltip-foreground: var(--color-grey-50);
266-
--tooltip-border: var(--color-grey-700);
250+
--tooltip: var(--color-grey-800);
251+
// used in Table ! and Tooltip
252+
--tooltip-foreground: var(--color-grey-50);
253+
// used in Tooltip
267254

268-
--primary: var(--color-yellow-300);
255+
--primary: var(--color-yellow-300);
269256
--primary-foreground: var(--color-grey-900);
270257

271-
--secondary: var(--color-grey-600);
272-
--secondary-foreground: var(--color-grey-50);
258+
--secondary: var(--color-grey-600);
259+
--secondary-foreground: var(--color-grey-50);
273260

274261
--muted: var(--color-grey-700);
275262
--muted-foreground: var(--color-grey-300);
276263

277-
--intermediate: var(--color-grey-500);
278-
--intermediate-foreground: var(--color-grey-200);
264+
--intermediate: var(--color-grey-500); // used in scrollbar
265+
--intermediate-foreground: var(--color-grey-200); // used in footer
279266

280267
--accent: var(--color-grey-600);
281268
--accent-foreground: var(--color-white);
282269

283270
--destructive: var(--color-red-500);
284-
--border: var(--color-white);
271+
/* --border: var(--color-white); */
272+
--border: var(--color-grey-600);
285273
--input: var(--color-grey-400);
286274
--ring: var(--color-primary);
287-
288-
--chart-1: oklch(0.488 0.243 264.376);
289-
--chart-2: oklch(0.696 0.17 162.48);
290-
--chart-3: oklch(0.769 0.188 70.08);
291-
--chart-4: oklch(0.627 0.265 303.9);
292-
--chart-5: oklch(0.645 0.246 16.439);
293-
294-
--sidebar: oklch(0.208 0.042 265.755);
295-
--sidebar-foreground: oklch(0.984 0.003 247.858);
296-
--sidebar-primary: oklch(0.488 0.243 264.376);
297-
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
298-
--sidebar-accent: oklch(0.279 0.041 260.031);
299-
--sidebar-accent-foreground: oklch(0.984 0.003 247.858);
300-
--sidebar-border: oklch(1 0 0 / 10%);
301-
--sidebar-ring: oklch(0.551 0.027 264.364);
302275
}
303276

304277
@layer base {

src/modules/apps/AppsPreviewTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function AppsPreviewTable({ className }: { className?: string }) {
3939
<div className={cn(className, 'flex flex-col gap-2')}>
4040
<div className="flex items-center justify-between">
4141
<h2 className="flex items-center gap-2 font-sans">
42-
<AppIcon size={20} className="text-secondary" />
42+
<AppIcon size={20} className="text-foreground" />
4343
Latest apps deployed
4444
{apps.data && apps.isError && (
4545
<span className="text-muted-foreground text-sm font-light">

src/modules/datasets/DatasetsPreviewTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function DatasetsPreviewTable({ className }: { className?: string }) {
3939
<div className={cn(className, 'flex flex-col gap-2')}>
4040
<div className="flex items-center justify-between">
4141
<h2 className="flex items-center gap-2 font-sans">
42-
<DatasetIcon size={20} className="text-secondary" />
42+
<DatasetIcon size={20} className="text-foreground" />
4343
Latest datasets deployed
4444
{datasets.data && datasets.isError && (
4545
<span className="text-muted-foreground text-sm font-light">

src/modules/deals/DealsPreviewTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function DealsPreviewTable({ className }: { className?: string }) {
3939
<div className={cn(className, 'flex flex-col gap-2')}>
4040
<div className="flex items-center justify-between">
4141
<h2 className="flex items-center gap-2 font-sans">
42-
<DealIcon size={20} className="text-secondary" />
42+
<DealIcon size={20} className="text-foreground" />
4343
Latest deals
4444
{deals.data && deals.isError && (
4545
<span className="text-muted-foreground text-sm font-light">

src/modules/tasks/TasksPreviewTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function TasksPreviewTable({ className }: { className?: string }) {
3939
<div className={cn(className, 'flex flex-col gap-2')}>
4040
<div className="flex items-center justify-between">
4141
<h2 className="flex items-center gap-2 font-sans">
42-
<TaskIcon size={20} className="text-secondary" />
42+
<TaskIcon size={20} className="text-foreground" />
4343
Latest tasks
4444
{tasks.data && tasks.isError && (
4545
<span className="text-muted-foreground text-sm font-light">

src/modules/workerpools/WorkerpoolsPreviewTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function WorkerpoolsPreviewTable({ className }: { className?: string }) {
3939
<div className={cn(className, 'flex flex-col gap-2')}>
4040
<div className="flex items-center justify-between">
4141
<h2 className="flex items-center gap-2 font-sans">
42-
<WorkerpoolIcon size={20} className="text-secondary" />
42+
<WorkerpoolIcon size={20} className="text-foreground" />
4343
Latest workerpools deployed
4444
{workerpools.data && workerpools.isError && (
4545
<span className="text-muted-foreground text-sm font-light">

0 commit comments

Comments
 (0)