Skip to content

Commit

Permalink
refactor: remove duplicative stroke in undo/redo icons
Browse files Browse the repository at this point in the history
This would impact theming efforts
  • Loading branch information
xaviemirmon authored Aug 12, 2024
1 parent 2c52d27 commit 6386bd1
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions packages/core/components/MenuBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,10 @@ export const MenuBar = ({
<div className={getClassName("inner")}>
<div className={getClassName("history")}>
<IconButton title="undo" disabled={!hasPast} onClick={back}>
<Undo2Icon
size={21}
stroke={
hasPast
? "var(--puck-color-black)"
: "var(--puck-color-grey-08)"
}
/>
<Undo2Icon size={21} />
</IconButton>
<IconButton title="redo" disabled={!hasFuture} onClick={forward}>
<Redo2Icon
size={21}
stroke={
hasFuture
? "var(--puck-color-black)"
: "var(--puck-color-grey-08)"
}
/>
<Redo2Icon size={21} />
</IconButton>
</div>
<>
Expand Down

0 comments on commit 6386bd1

Please sign in to comment.