From 7456fe3fae94cce8a3592bac2154432adc7ed766 Mon Sep 17 00:00:00 2001 From: Arunavo Ray Date: Sun, 15 Jun 2025 12:22:38 +0530 Subject: [PATCH] Fixed contrast issues --- .../config/OrganizationStrategy.tsx | 86 +++++++++---------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/src/components/config/OrganizationStrategy.tsx b/src/components/config/OrganizationStrategy.tsx index d5c3804..41d6360 100644 --- a/src/components/config/OrganizationStrategy.tsx +++ b/src/components/config/OrganizationStrategy.tsx @@ -31,9 +31,9 @@ const strategyConfig = { title: "Mirror GitHub Structure", icon: FolderTree, description: "Keep the same organization structure as GitHub", - color: "text-blue-600", - bgColor: "bg-blue-50", - borderColor: "border-blue-200", + color: "text-blue-600 dark:text-blue-400", + bgColor: "bg-blue-50 dark:bg-blue-950/20", + borderColor: "border-blue-200 dark:border-blue-900", details: [ "Personal repos → Your Gitea username", "Org repos → Same org name in Gitea", @@ -44,9 +44,9 @@ const strategyConfig = { title: "Consolidate to One Org", icon: Building2, description: "Mirror all repositories into a single organization", - color: "text-purple-600", - bgColor: "bg-purple-50", - borderColor: "border-purple-200", + color: "text-purple-600 dark:text-purple-400", + bgColor: "bg-purple-50 dark:bg-purple-950/20", + borderColor: "border-purple-200 dark:border-purple-900", details: [ "All repos in one place", "Simplified management", @@ -57,9 +57,9 @@ const strategyConfig = { title: "Flat User Structure", icon: User, description: "Mirror all repositories under your user account", - color: "text-green-600", - bgColor: "bg-green-50", - borderColor: "border-green-200", + color: "text-green-600 dark:text-green-400", + bgColor: "bg-green-50 dark:bg-green-950/20", + borderColor: "border-green-200 dark:border-green-900", details: [ "All repos under your username", "No organizations needed", @@ -80,15 +80,15 @@ const StrategyVisualizer: React.FC<{
GitHub
-
+
{githubUsername}/my-repo
-
+
my-org/team-repo
-
+
awesome/starred-repo
@@ -102,16 +102,16 @@ const StrategyVisualizer: React.FC<{
Gitea
-
- +
+ {giteaUsername}/my-repo
-
- +
+ my-org/team-repo
-
- +
+ {starredReposOrg || "starred"}/starred-repo
@@ -124,15 +124,15 @@ const StrategyVisualizer: React.FC<{
GitHub
-
+
{githubUsername}/my-repo
-
+
my-org/team-repo
-
+
awesome/starred-repo
@@ -146,16 +146,16 @@ const StrategyVisualizer: React.FC<{
Gitea
-
- +
+ {destinationOrg || "github-mirrors"}/my-repo
-
- +
+ {destinationOrg || "github-mirrors"}/team-repo
-
- +
+ {starredReposOrg || "starred"}/starred-repo
@@ -168,15 +168,15 @@ const StrategyVisualizer: React.FC<{
GitHub
-
+
{githubUsername}/my-repo
-
+
my-org/team-repo
-
+
awesome/starred-repo
@@ -190,16 +190,16 @@ const StrategyVisualizer: React.FC<{
Gitea
-
- +
+ {giteaUsername}/my-repo
-
- +
+ {giteaUsername}/team-repo
-
- +
+ {starredReposOrg || "starred"}/starred-repo
@@ -270,11 +270,11 @@ export const OrganizationStrategy: React.FC = ({
@@ -296,7 +296,7 @@ export const OrganizationStrategy: React.FC = ({
{detail}
@@ -315,7 +315,7 @@ export const OrganizationStrategy: React.FC = ({ {strategy === "single-org" && (
- +
)} - +