Skip to content

Commit 39a5dd0

Browse files
committed
fix swimlanes loading
1 parent 91e8c87 commit 39a5dd0

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

homedocs/src/styles/homedocsDark.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ const homedocsDarkPreset: ThemeVariables = {
4848
// Calendar
4949
calendarBackgroundColor: "#1f1f1f",
5050

51+
// Charts
52+
chartSwimlaneLaneColor: "rgba(255, 255, 255, 0.06)",
53+
chartShapeFillColor: "#333",
54+
chartShapeStrokeColor: "#555",
55+
chartGridlineColor: "rgba(255, 255, 255, 0.08)",
56+
chartAxisLineColor: "rgba(255, 255, 255, 0.15)",
57+
chartAxisTickColor: "rgba(255, 255, 255, 0.2)",
58+
chartRangeFillColor: "#444",
59+
chartRangeMarkerColor: "#999",
60+
chartLegendShapeColor: "rgba(255, 255, 255, 0.08)",
61+
5162
// Cursor
5263
cursorColor: "hsl(var(--primary))",
5364

packages/cx/src/charts/Swimlane.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
@use "sass:map";
2+
@use "../util/scss/besm.scss" as *;
3+
@use "../util/scss/include.scss" as *;
4+
@use "./variables" as *;
25

36
@mixin cx-swimlane($name: "swimlane", $besm: $cx-besm, $lane-color: $cx-default-swimlanes-lane-background-color) {
47
$block: map.get($besm, block);

packages/cx/src/charts/Swimlanes.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
@use "sass:map";
2+
@use "../util/scss/besm.scss" as *;
3+
@use "../util/scss/include.scss" as *;
4+
@use "./variables" as *;
25

36
@mixin cx-swimlanes($name: "swimlanes", $besm: $cx-besm, $lane-color: $cx-default-swimlanes-lane-background-color) {
47
$block: map.get($besm, block);

packages/cx/src/charts/index.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
@use "Marker";
1515
@use "MarkerLine";
1616
@use "Range";
17+
@use "Swimlane";
18+
@use "Swimlanes";
1719

1820
//define last for higher priority
1921
@use "palette";

0 commit comments

Comments
 (0)