mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-01 09:33:14 +00:00
(feat:config) color name update
This commit is contained in:
@@ -155,13 +155,13 @@ const ConversationBubble = forwardRef<
|
||||
/>
|
||||
<div className="flex items-center justify-end gap-2">
|
||||
<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)}
|
||||
>
|
||||
{t('conversation.edit.cancel')}
|
||||
</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}
|
||||
>
|
||||
{t('conversation.edit.update')}
|
||||
|
||||
@@ -138,14 +138,14 @@ export const ShareConversationModal = ({
|
||||
</span>
|
||||
{status === 'fetched' ? (
|
||||
<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}`)}
|
||||
>
|
||||
{isCopied ? t('modals.saveKey.copied') : t('modals.saveKey.copy')}
|
||||
</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={() => {
|
||||
shareCoversationPublicly(allowPrompt);
|
||||
}}
|
||||
|
||||
@@ -49,8 +49,6 @@ module.exports = {
|
||||
'independence': '#54546D',
|
||||
'philippine-yellow': '#FFC700',
|
||||
'bright-gray': '#EBEBEB',
|
||||
|
||||
// New semantically named colors for UI elements
|
||||
'chinese-white': '#e0e0e0',
|
||||
'dark-gray': '#aaaaaa',
|
||||
'dim-gray': '#6A6A6A',
|
||||
@@ -64,12 +62,10 @@ module.exports = {
|
||||
'light-silver': '#D9D9D9',
|
||||
'carbon': '#2E2E2E',
|
||||
'onyx':'#35363B',
|
||||
|
||||
// New colors for edit buttons
|
||||
'purple-hover': '#6C4AB0', //royal purple
|
||||
'rich-black': '#0F1419', // chinese-black-2
|
||||
'light-gray-hover': '#D9DCDE', //gainsboro
|
||||
'charcoal': '#35383C',//onyx 2
|
||||
'royal-purple': '#6C4AB0',
|
||||
'chinese-black-2': '#0F1419',
|
||||
'gainsboro': '#D9DCDE',
|
||||
'onyx-2': '#35383C',
|
||||
'philippine-grey': '#929292',
|
||||
'charcoal-grey':'#53545D',
|
||||
'rosso-corsa': '#D30000',
|
||||
|
||||
Reference in New Issue
Block a user