mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
feat(core): highlight the share button (#12470)
close AF-2659  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated the share button to use the primary styling for improved visual emphasis. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -222,7 +222,7 @@ const DefaultShareButton = forwardRef(function DefaultShareButton(
|
||||
: t['com.affine.share-menu.option.link.no-access.description']()
|
||||
}
|
||||
>
|
||||
<Button ref={ref} className={styles.button}>
|
||||
<Button ref={ref} className={styles.button} variant="primary">
|
||||
<div className={styles.buttonContainer}>
|
||||
{shared ? <PublishIcon fontSize={16} /> : <LockIcon fontSize={16} />}
|
||||
{t['com.affine.share-menu.shareButton']()}
|
||||
|
||||
Reference in New Issue
Block a user