chore: tweak accent color

This commit is contained in:
Steven
2024-01-03 23:30:28 +08:00
parent 96140f3875
commit c58851bc97
7 changed files with 21 additions and 10 deletions

View File

@ -62,7 +62,7 @@ const VersionUpdateMessage = ({ inbox }: Props) => {
className={classNames(
"shrink-0 mt-2 p-2 rounded-full border",
inbox.status === Inbox_Status.UNREAD
? "border-green-600 text-green-600 bg-blue-50 dark:bg-zinc-800"
? "border-blue-600 text-blue-600 bg-blue-50 dark:bg-zinc-800"
: "border-gray-400 text-gray-400 bg-gray-50 dark:bg-zinc-800"
)}
>

View File

@ -406,7 +406,12 @@ const MemoEditor = (props: Props) => {
</Select>
</div>
<div className="shrink-0 flex flex-row justify-end items-center">
<Button color="success" disabled={!allowSave} loading={state.isRequesting} onClick={handleSaveBtnClick}>
<Button
disabled={!allowSave}
loading={state.isRequesting}
endDecorator={<Icon.Send className="w-4 h-auto" />}
onClick={handleSaveBtnClick}
>
{t("editor.save")}
</Button>
</div>

View File

@ -196,7 +196,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
<>
<Icon.Dot className="w-4 h-auto text-gray-400 dark:text-zinc-400" />
<Tooltip title={"Pinned"} placement="top">
<Icon.Bookmark className="w-4 h-auto text-green-600" />
<Icon.Bookmark className="w-4 h-auto text-amber-500" />
</Tooltip>
</>
)}

View File

@ -122,7 +122,7 @@ const TagItemContainer: React.FC<TagItemContainerProps> = (props: TagItemContain
>
<div
className={`flex flex-row justify-start items-center truncate shrink leading-5 mr-1 text-gray-600 dark:text-gray-400 ${
isActive && "text-green-600"
isActive && "!text-blue-600"
}`}
>
<Icon.Hash className="w-4 h-auto shrink-0 opacity-60 mr-1" />