Skip to content

Commit d045df1

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

5 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/ci-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches: [ "main" ]
1111

1212
env:
13-
reactodia_workspace_ref: 'v0.31.2'
13+
reactodia_workspace_ref: 'v0.32.0'
1414

1515
jobs:
1616
build:

.github/workflows/deploy-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
env:
11-
reactodia_workspace_ref: 'v0.31.2'
11+
reactodia_workspace_ref: 'v0.32.0'
1212

1313
jobs:
1414
build:

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)