(feat:config) color name update

This commit is contained in:
ManishMadan2882
2025-03-07 19:55:47 +05:30
parent b3f6a3aae6
commit 93fea17918
3 changed files with 8 additions and 12 deletions

View File

@@ -155,13 +155,13 @@ const ConversationBubble = forwardRef<
/> />
<div className="flex items-center justify-end gap-2"> <div className="flex items-center justify-end gap-2">
<button <button
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" 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"
onClick={() => setIsEditClicked(false)} onClick={() => setIsEditClicked(false)}
> >
{t('conversation.edit.cancel')} {t('conversation.edit.cancel')}
</button> </button>
<button <button
className="rounded-full bg-purple-30 hover:bg-purple-hover px-4 py-2 text-white text-sm font-medium transition-colors" className="rounded-full bg-purple-30 hover:bg-royal-purple px-4 py-2 text-white text-sm font-medium transition-colors"
onClick={handleEditClick} onClick={handleEditClick}
> >
{t('conversation.edit.update')} {t('conversation.edit.update')}

View File

@@ -138,14 +138,14 @@ export const ShareConversationModal = ({
</span> </span>
{status === 'fetched' ? ( {status === 'fetched' ? (
<button <button
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" 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"
onClick={() => handleCopyKey(`${domain}/share/${identifier}`)} onClick={() => handleCopyKey(`${domain}/share/${identifier}`)}
> >
{isCopied ? t('modals.saveKey.copied') : t('modals.saveKey.copy')} {isCopied ? t('modals.saveKey.copied') : t('modals.saveKey.copy')}
</button> </button>
) : ( ) : (
<button <button
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" 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"
onClick={() => { onClick={() => {
shareCoversationPublicly(allowPrompt); shareCoversationPublicly(allowPrompt);
}} }}

View File

@@ -49,8 +49,6 @@ module.exports = {
'independence': '#54546D', 'independence': '#54546D',
'philippine-yellow': '#FFC700', 'philippine-yellow': '#FFC700',
'bright-gray': '#EBEBEB', 'bright-gray': '#EBEBEB',
// New semantically named colors for UI elements
'chinese-white': '#e0e0e0', 'chinese-white': '#e0e0e0',
'dark-gray': '#aaaaaa', 'dark-gray': '#aaaaaa',
'dim-gray': '#6A6A6A', 'dim-gray': '#6A6A6A',
@@ -64,12 +62,10 @@ module.exports = {
'light-silver': '#D9D9D9', 'light-silver': '#D9D9D9',
'carbon': '#2E2E2E', 'carbon': '#2E2E2E',
'onyx':'#35363B', 'onyx':'#35363B',
'royal-purple': '#6C4AB0',
// New colors for edit buttons 'chinese-black-2': '#0F1419',
'purple-hover': '#6C4AB0', //royal purple 'gainsboro': '#D9DCDE',
'rich-black': '#0F1419', // chinese-black-2 'onyx-2': '#35383C',
'light-gray-hover': '#D9DCDE', //gainsboro
'charcoal': '#35383C',//onyx 2
'philippine-grey': '#929292', 'philippine-grey': '#929292',
'charcoal-grey':'#53545D', 'charcoal-grey':'#53545D',
'rosso-corsa': '#D30000', 'rosso-corsa': '#D30000',