Skip to content

Commit 93fea17

Browse files
(feat:config) color name update
1 parent b3f6a3a commit 93fea17

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

frontend/src/conversation/ConversationBubble.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ const ConversationBubble = forwardRef<
155155
/>
156156
<div className="flex items-center justify-end gap-2">
157157
<button
158-
className="px-4 py-2 text-purple-30 text-sm hover:text-rich-black hover:bg-light-gray-hover dark:hover:bg-charcoal transition-colors rounded-full"
158+
className="px-4 py-2 text-purple-30 text-sm hover:text-chinese-black-2 hover:bg-gainsboro dark:hover:bg-onyx-2 transition-colors rounded-full"
159159
onClick={() => setIsEditClicked(false)}
160160
>
161161
{t('conversation.edit.cancel')}
162162
</button>
163163
<button
164-
className="rounded-full bg-purple-30 hover:bg-purple-hover px-4 py-2 text-white text-sm font-medium transition-colors"
164+
className="rounded-full bg-purple-30 hover:bg-royal-purple px-4 py-2 text-white text-sm font-medium transition-colors"
165165
onClick={handleEditClick}
166166
>
167167
{t('conversation.edit.update')}

frontend/src/modals/ShareConversationModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,14 @@ export const ShareConversationModal = ({
138138
</span>
139139
{status === 'fetched' ? (
140140
<button
141-
className="my-1 h-10 w-28 rounded-full border border-solid bg-purple-30 p-2 text-sm text-white hover:bg-purple-hover"
141+
className="my-1 h-10 w-28 rounded-full border border-solid bg-purple-30 p-2 text-sm text-white hover:bg-royal-purple"
142142
onClick={() => handleCopyKey(`${domain}/share/${identifier}`)}
143143
>
144144
{isCopied ? t('modals.saveKey.copied') : t('modals.saveKey.copy')}
145145
</button>
146146
) : (
147147
<button
148-
className="my-1 flex h-10 w-28 items-center justify-evenly rounded-full bg-purple-30 p-2 text-center text-sm font-normal text-white hover:bg-purple-hover"
148+
className="my-1 flex h-10 w-28 items-center justify-evenly rounded-full bg-purple-30 p-2 text-center text-sm font-normal text-white hover:bg-royal-purple"
149149
onClick={() => {
150150
shareCoversationPublicly(allowPrompt);
151151
}}

frontend/tailwind.config.cjs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ module.exports = {
4949
'independence': '#54546D',
5050
'philippine-yellow': '#FFC700',
5151
'bright-gray': '#EBEBEB',
52-
53-
// New semantically named colors for UI elements
5452
'chinese-white': '#e0e0e0',
5553
'dark-gray': '#aaaaaa',
5654
'dim-gray': '#6A6A6A',
@@ -64,12 +62,10 @@ module.exports = {
6462
'light-silver': '#D9D9D9',
6563
'carbon': '#2E2E2E',
6664
'onyx':'#35363B',
67-
68-
// New colors for edit buttons
69-
'purple-hover': '#6C4AB0', //royal purple
70-
'rich-black': '#0F1419', // chinese-black-2
71-
'light-gray-hover': '#D9DCDE', //gainsboro
72-
'charcoal': '#35383C',//onyx 2
65+
'royal-purple': '#6C4AB0',
66+
'chinese-black-2': '#0F1419',
67+
'gainsboro': '#D9DCDE',
68+
'onyx-2': '#35383C',
7369
'philippine-grey': '#929292',
7470
'charcoal-grey':'#53545D',
7571
'rosso-corsa': '#D30000',

0 commit comments

Comments
 (0)