Skip to content

Commit 95f9b11

Browse files
committed
Update docs for @reactodia/workspace@0.32.0
1 parent f8c9ba5 commit 95f9b11

3 files changed

Lines changed: 9 additions & 11 deletions

File tree

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@easyops-cn/docusaurus-search-local": "^0.51.0",
2222
"@mdx-js/react": "^3.1.0",
2323
"@reactodia/hashmap": "^0.2.1",
24-
"@reactodia/workspace": "^0.31.2",
24+
"@reactodia/workspace": "^0.32.0",
2525
"clsx": "^2.1.1",
2626
"n3": "^1.17.2",
2727
"prism-react-renderer": "^2.4.1",

src/examples/PlaygroundStyleCustomization.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,9 @@ function BookDecoration(props: { target: Reactodia.EntityElement }) {
164164
// Custom link template
165165
const DoubleArrowLinkTemplate: Reactodia.LinkTemplate = {
166166
markerSource: {
167-
fill: '#4b4a67',
168-
stroke: '#4b4a67',
169-
d: 'M0,3a3,3 0 1,0 6,0a3,3 0 1,0 -6,0',
170-
width: 6,
171-
height: 6,
167+
...Reactodia.LinkMarkerDiamond,
168+
fill: 'var(--reactodia-canvas-background-color)',
169+
strokeWidth: 1,
172170
},
173171
markerTarget: {
174172
fill: '#4b4a67',

0 commit comments

Comments
 (0)