Skip to content

Commit

Permalink
docs: Update examples for better dark mode viewing. (Fix #600)
Browse files Browse the repository at this point in the history
  • Loading branch information
jheer committed Nov 22, 2024
1 parent cfe9f2f commit 5e2d831
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions docs/public/specs/esm/line-multi-series.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export default vg.plot(
y: "unemployment",
z: "division",
stroke: "steelblue",
curve: "monotone-x",
mixBlendMode: "multiply"
strokeOpacity: 0.9,
curve: "monotone-x"
}
),
vg.nearestX({channels: ["z"], as: $curr}),
Expand Down
4 changes: 2 additions & 2 deletions docs/public/specs/esm/region-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export default vg.vconcat(
y: "unemployment",
z: "division",
stroke: "steelblue",
curve: "monotone-x",
mixBlendMode: "multiply"
strokeOpacity: 0.9,
curve: "monotone-x"
}
),
vg.region({channels: ["z"], as: $series}),
Expand Down
4 changes: 2 additions & 2 deletions docs/public/specs/json/line-multi-series.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"y": "unemployment",
"z": "division",
"stroke": "steelblue",
"curve": "monotone-x",
"mixBlendMode": "multiply"
"strokeOpacity": 0.9,
"curve": "monotone-x"
},
{
"select": "nearestX",
Expand Down
4 changes: 2 additions & 2 deletions docs/public/specs/json/region-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"y": "unemployment",
"z": "division",
"stroke": "steelblue",
"curve": "monotone-x",
"mixBlendMode": "multiply"
"strokeOpacity": 0.9,
"curve": "monotone-x"
},
{
"select": "region",
Expand Down
2 changes: 1 addition & 1 deletion docs/public/specs/yaml/line-multi-series.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ plot:
y: unemployment
z: division
stroke: steelblue
strokeOpacity: 0.9
curve: monotone-x
mixBlendMode: multiply
- { select: nearestX, channels: ['z'], as: $curr }
- { select: highlight, by: $curr }
- mark: dot
Expand Down
2 changes: 1 addition & 1 deletion docs/public/specs/yaml/region-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ vconcat:
y: unemployment
z: division
stroke: steelblue
strokeOpacity: 0.9
curve: monotone-x
mixBlendMode: multiply
- select: region
channels: [z]
as: $series
Expand Down
4 changes: 2 additions & 2 deletions specs/esm/line-multi-series.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export default vg.plot(
y: "unemployment",
z: "division",
stroke: "steelblue",
curve: "monotone-x",
mixBlendMode: "multiply"
strokeOpacity: 0.9,
curve: "monotone-x"
}
),
vg.nearestX({channels: ["z"], as: $curr}),
Expand Down
4 changes: 2 additions & 2 deletions specs/esm/region-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export default vg.vconcat(
y: "unemployment",
z: "division",
stroke: "steelblue",
curve: "monotone-x",
mixBlendMode: "multiply"
strokeOpacity: 0.9,
curve: "monotone-x"
}
),
vg.region({channels: ["z"], as: $series}),
Expand Down
4 changes: 2 additions & 2 deletions specs/json/line-multi-series.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"y": "unemployment",
"z": "division",
"stroke": "steelblue",
"curve": "monotone-x",
"mixBlendMode": "multiply"
"strokeOpacity": 0.9,
"curve": "monotone-x"
},
{
"select": "nearestX",
Expand Down
4 changes: 2 additions & 2 deletions specs/json/region-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"y": "unemployment",
"z": "division",
"stroke": "steelblue",
"curve": "monotone-x",
"mixBlendMode": "multiply"
"strokeOpacity": 0.9,
"curve": "monotone-x"
},
{
"select": "region",
Expand Down
4 changes: 2 additions & 2 deletions specs/ts/line-multi-series.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const spec : Spec = {
"y": "unemployment",
"z": "division",
"stroke": "steelblue",
"curve": "monotone-x",
"mixBlendMode": "multiply"
"strokeOpacity": 0.9,
"curve": "monotone-x"
},
{
"select": "nearestX",
Expand Down
4 changes: 2 additions & 2 deletions specs/ts/region-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export const spec : Spec = {
"y": "unemployment",
"z": "division",
"stroke": "steelblue",
"curve": "monotone-x",
"mixBlendMode": "multiply"
"strokeOpacity": 0.9,
"curve": "monotone-x"
},
{
"select": "region",
Expand Down
2 changes: 1 addition & 1 deletion specs/yaml/line-multi-series.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ plot:
y: unemployment
z: division
stroke: steelblue
strokeOpacity: 0.9
curve: monotone-x
mixBlendMode: multiply
- { select: nearestX, channels: ['z'], as: $curr }
- { select: highlight, by: $curr }
- mark: dot
Expand Down
2 changes: 1 addition & 1 deletion specs/yaml/region-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ vconcat:
y: unemployment
z: division
stroke: steelblue
strokeOpacity: 0.9
curve: monotone-x
mixBlendMode: multiply
- select: region
channels: [z]
as: $series
Expand Down

0 comments on commit 5e2d831

Please sign in to comment.