diff --git a/packages/web/components/elements/images/PenWithColorIcon.tsx b/packages/web/components/elements/images/PenWithColorIcon.tsx
new file mode 100644
index 000000000..b3c8a75d1
--- /dev/null
+++ b/packages/web/components/elements/images/PenWithColorIcon.tsx
@@ -0,0 +1,55 @@
+import { config } from '../../tokens/stitches.config'
+
+type PenWithColorProps = {
+ color?: string
+ width?: number
+ height?: number
+}
+
+export function PenWithColorIcon({
+ color,
+ height,
+ width,
+}: PenWithColorProps): JSX.Element {
+ return (
+
+ )
+}
diff --git a/packages/web/components/patterns/HighlightBar.tsx b/packages/web/components/patterns/HighlightBar.tsx
index ead951168..f8efb3ccc 100644
--- a/packages/web/components/patterns/HighlightBar.tsx
+++ b/packages/web/components/patterns/HighlightBar.tsx
@@ -1,16 +1,17 @@
-import { Button } from '../elements/Button'
-import { HStack, Box } from '../elements/LayoutPrimitives'
-import { AnchoredPopover } from '../patterns/AnchoredPopover'
-import { StyledText } from '../elements/StyledText'
import { highlightBarKeyboardCommands } from '../../lib/keyboardShortcuts/navigationShortcuts'
import { useKeyboardShortcuts } from '../../lib/keyboardShortcuts/useKeyboardShortcuts'
-import { styled, theme } from '../tokens/stitches.config'
-import { PenIcon } from '../elements/images/PenIcon'
-import { CommentIcon } from '../elements/images/CommentIcon'
-import { ShareIcon } from '../elements/images/ShareIcon'
-import { TrashIcon } from '../elements/images/TrashIcon'
import { isAndroid } from '../../lib/deviceType'
+import { styled, theme } from '../tokens/stitches.config'
+import { AnchoredPopover } from '../patterns/AnchoredPopover'
+
+import { StyledText } from '../elements/StyledText'
+import { Button } from '../elements/Button'
+import { HStack, Box } from '../elements/LayoutPrimitives'
+import { TrashIcon } from '../elements/images/TrashIcon'
+import { PenWithColorIcon } from '../elements/images/PenWithColorIcon'
+import { Note } from 'phosphor-react'
+
type PageCoordinates = {
pageX: number
pageY: number
@@ -48,7 +49,9 @@ export function HighlightBar(props: HighlightBarProps): JSX.Element {
bottom: 'calc(38px + env(safe-area-inset-bottom, 40px))',
'@smDown': {
maxWidth: '80%',
- bottom: `calc(28px + ${isAndroid() ? 30 : 0}px + env(safe-area-inset-bottom, 40px))`,
+ bottom: `calc(28px + ${
+ isAndroid() ? 30 : 0
+ }px + env(safe-area-inset-bottom, 40px))`,
},
}}
>
@@ -62,7 +65,17 @@ export function HighlightBar(props: HighlightBarProps): JSX.Element {
yAnchorCoordinate={props.anchorCoordinates.pageY}
preventAutoFocus={false}
>
-
+
+ css=
+ {{
+ width: '350px',
+ background: '$grayBg',
+ borderRadius: '4px',
+ border: '1px solid $grayBorder',
+ boxShadow: '$cardBoxShadow',
+ }}
+
+
)
}
@@ -111,16 +124,14 @@ function BarContent(props: HighlightBarProps): JSX.Element {
height: '100%',
m: 0,
p: 0,
- pt: '6px',
alignItems: 'baseline',
}}
>
-
+
props.handleButtonClick('delete')}
- css={{ color: '$readerFont', height: '100%', m: 0, p: 0, pt: '6px' }}
+ css={{ color: '$readerFont', height: '100%', m: 0, p: 0, pt: '6px'}}
>
-
+
)}
@@ -147,9 +161,23 @@ function BarContent(props: HighlightBarProps): JSX.Element {
style="plainIcon"
title="Add Note to Highlight"
onClick={() => props.handleButtonClick('comment')}
- css={{ color: '$readerFont', height: '100%', m: 0, p: 0, pt: '6px' }}
+ css={{ color: '$readerFont', height: '100%', m: 0, p: 0}}
>
-
+
+
+
+ Note
+
+
{/*