stlyes fixes

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-29 19:52:51 +00:00
parent c91175fdcb
commit 4f7ab9c606
155 changed files with 1576 additions and 2489 deletions

View File

@@ -160,7 +160,7 @@ export function useImportExport(
Upload a CSV file (max {maxFileSize / 1024 / 1024}MB)
</p>
{filename === 'keywords' && (
<p className="text-xs text-gray-600 dark:text-gray-300 mt-2 p-2 bg-blue-50 dark:bg-blue-900/20 rounded border border-blue-200 dark:border-blue-800">
<p className="text-xs text-gray-600 dark:text-gray-300 mt-2 p-2 bg-brand-50 dark:bg-brand-900/20 rounded border border-brand-200 dark:border-brand-800">
<strong>Expected columns:</strong> keyword, volume, difficulty, country, status
</p>
)}

View File

@@ -67,7 +67,7 @@ export function createApprovedPageConfig(params: {
{params.onRowClick ? (
<button
onClick={() => params.onRowClick!(row)}
className="text-base font-light text-blue-500 hover:text-blue-600 hover:underline text-left transition-colors"
className="text-base font-light text-brand-500 hover:text-brand-600 hover:underline text-left transition-colors"
>
{value || `Content #${row.id}`}
</button>
@@ -81,7 +81,7 @@ export function createApprovedPageConfig(params: {
href={row.external_url}
target="_blank"
rel="noopener noreferrer"
className="text-blue-500 hover:text-blue-600 transition-colors"
className="text-brand-500 hover:text-brand-600 transition-colors"
title="View on WordPress"
>
<ArrowRightIcon className="w-4 h-4" />

View File

@@ -105,7 +105,7 @@ export const createContentPageConfig = (
{handlers.onRowClick ? (
<button
onClick={() => handlers.onRowClick!(row)}
className="text-base font-light text-blue-500 hover:text-blue-600 hover:underline text-left transition-colors"
className="text-base font-light text-brand-500 hover:text-brand-600 hover:underline text-left transition-colors"
>
{row.title || `Content #${row.id}`}
</button>
@@ -324,9 +324,9 @@ export const createContentPageConfig = (
imageStatus = 'pending';
}
const imageStatusColors: Record<string, string> = {
'pending': 'text-amber-500 dark:text-amber-400',
'generated': 'text-green-500 dark:text-green-400',
'failed': 'text-red-500 dark:text-red-400',
'pending': 'text-warning-500 dark:text-warning-400',
'generated': 'text-success-500 dark:text-success-400',
'failed': 'text-error-500 dark:text-error-400',
};
const imageStatusTitles: Record<string, string> = {
'pending': 'Images pending',

View File

@@ -67,7 +67,7 @@ export function createReviewPageConfig(params: {
{params.onRowClick ? (
<button
onClick={() => params.onRowClick!(row)}
className="text-base font-light text-blue-500 hover:text-blue-600 hover:underline text-left transition-colors"
className="text-base font-light text-brand-500 hover:text-brand-600 hover:underline text-left transition-colors"
>
{value || `Content #${row.id}`}
</button>
@@ -202,7 +202,7 @@ export function createReviewPageConfig(params: {
<span className="text-[11px] font-normal">{label}</span>
</Badge>
{row.external_id && (
<CheckCircleIcon className="w-3.5 h-3.5 text-green-500" title="Published to WordPress" />
<CheckCircleIcon className="w-3.5 h-3.5 text-success-500" title="Published to WordPress" />
)}
</div>
);

View File

@@ -252,7 +252,7 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
{
key: 'view_on_wordpress',
label: 'View on WordPress',
icon: <CheckCircleIcon className="w-5 h-5 text-blue-500" />,
icon: <CheckCircleIcon className="w-5 h-5 text-brand-500" />,
variant: 'secondary',
shouldShow: (row: any) => !!row.external_id, // Only show if published
},
@@ -303,7 +303,7 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
{
key: 'view_on_wordpress',
label: 'View on Site',
icon: <CheckCircleIcon className="w-5 h-5 text-blue-500" />,
icon: <CheckCircleIcon className="w-5 h-5 text-brand-500" />,
variant: 'secondary',
shouldShow: (row: any) => !!row.external_id, // Only show if published
},
@@ -342,7 +342,7 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
{
key: 'view_on_wordpress',
label: 'View on WordPress',
icon: <CheckCircleIcon className="w-5 h-5 text-blue-500" />,
icon: <CheckCircleIcon className="w-5 h-5 text-brand-500" />,
variant: 'secondary',
shouldShow: (row: any) => !!row.external_id, // Only show if published
},