Skip to content

Commit a2b9d14

Browse files
committed
Make button icons more visible with darker colors
1 parent 42e7c38 commit a2b9d14

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/components/SkillItem.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ const SkillItem: FC<SkillItemProps> = ({ skill, level }) => {
109109
{skill.children.length > 0 && (
110110
<button onClick={handleToggleExpand} className="mr-1">
111111
{skill.isExpanded ?
112-
<IconWrapper icon={<ChevronDown size={16} />} /> :
113-
<IconWrapper icon={<ChevronRight size={16} />} />
112+
<IconWrapper icon={<ChevronDown size={16} className="text-gray-300" />} /> :
113+
<IconWrapper icon={<ChevronRight size={16} className="text-gray-300" />} />
114114
}
115115
</button>
116116
)}
@@ -126,21 +126,21 @@ const SkillItem: FC<SkillItemProps> = ({ skill, level }) => {
126126
<div className="flex space-x-1">
127127
<button
128128
onClick={handleAddSubskill}
129-
className="p-1 text-gray-600 hover:text-blue-600 hover:bg-blue-100 rounded"
129+
className="p-1 text-gray-300 hover:text-blue-600 hover:bg-blue-100 rounded"
130130
title="Add Sub-skill"
131131
>
132132
<IconWrapper icon={<Plus size={16} />} />
133133
</button>
134134
<button
135135
onClick={handleEditSkill}
136-
className="p-1 text-gray-600 hover:text-yellow-600 hover:bg-yellow-100 rounded"
136+
className="p-1 text-gray-300 hover:text-yellow-600 hover:bg-yellow-100 rounded"
137137
title="Edit Skill"
138138
>
139139
<IconWrapper icon={<Edit size={16} />} />
140140
</button>
141141
<button
142142
onClick={handleDeleteSkill}
143-
className="p-1 text-gray-600 hover:text-red-600 hover:bg-red-100 rounded"
143+
className="p-1 text-gray-300 hover:text-red-600 hover:bg-red-100 rounded"
144144
title="Delete Skill"
145145
>
146146
<IconWrapper icon={<Trash size={16} />} />

src/components/SkillTree.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const SkillTree: FC = () => {
5454
: 'bg-gray-800 text-gray-200 hover:bg-gray-700'
5555
}`}
5656
>
57-
<IconWrapper icon={<List size={16} />} />
57+
<IconWrapper icon={<List size={16} className="text-white" />} />
5858
<span>List</span>
5959
</button>
6060
<button
@@ -65,15 +65,15 @@ const SkillTree: FC = () => {
6565
: 'bg-gray-800 text-gray-200 hover:bg-gray-700'
6666
}`}
6767
>
68-
<IconWrapper icon={<Network size={16} />} />
68+
<IconWrapper icon={<Network size={16} className="text-white" />} />
6969
<span>Graph</span>
7070
</button>
7171
</div>
7272
<button
7373
onClick={() => setIsFormOpen(true)}
7474
className="flex items-center gap-2 px-4 py-2 bg-blue-700 text-white rounded-md hover:bg-blue-800"
7575
>
76-
<IconWrapper icon={<PlusCircle size={18} />} />
76+
<IconWrapper icon={<PlusCircle size={18} className="text-white" />} />
7777
<span>Add New Skill</span>
7878
</button>
7979
</div>

0 commit comments

Comments
 (0)