@lace-cloud/design-tokens 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tokens.css +24 -19
package/package.json
CHANGED
package/tokens.css
CHANGED
|
@@ -334,6 +334,8 @@
|
|
|
334
334
|
--lace-paper-thread-major: var(--lace-color-green-alpha-06);
|
|
335
335
|
--lace-paper-pitch-fine: var(--lace-size-grid-fine);
|
|
336
336
|
--lace-paper-pitch-major: var(--lace-size-grid-major);
|
|
337
|
+
/* How thick a thread is drawn; a surface the paper sits under can draw it finer. */
|
|
338
|
+
--lace-paper-thread-width: 1px;
|
|
337
339
|
}
|
|
338
340
|
|
|
339
341
|
/* ══════════════════════════════════════════════════════════════════════
|
|
@@ -516,14 +518,6 @@
|
|
|
516
518
|
--lace-canvas-edge-stroke-width: 1.5px;
|
|
517
519
|
--lace-canvas-edge-stroke-width-selected: 2.5px;
|
|
518
520
|
--lace-canvas-grid-dot: var(--lace-color-green-alpha-04);
|
|
519
|
-
/* The canvas's engineering paper: the shell paper's threads, drawn a step
|
|
520
|
-
* stronger because the canvas is a drawing surface you work on, not a
|
|
521
|
-
* backdrop — still quiet next to the nodes. */
|
|
522
|
-
--lace-canvas-paper-thread-fine: var(--lace-color-green-alpha-04);
|
|
523
|
-
--lace-canvas-paper-thread-major: var(--lace-color-green-alpha-10);
|
|
524
|
-
/* The paper's pitch at zoom 1: the shell paper's own, 1:5 fine to major. */
|
|
525
|
-
--lace-canvas-paper-pitch-fine: var(--lace-paper-pitch-fine);
|
|
526
|
-
--lace-canvas-paper-pitch-major: var(--lace-paper-pitch-major);
|
|
527
521
|
|
|
528
522
|
/* ── Tooltip ──
|
|
529
523
|
* A floating label on the menus' floating surface; one declaration
|
|
@@ -712,8 +706,6 @@
|
|
|
712
706
|
--lace-canvas-edge-stroke-hover: #2d4a00;
|
|
713
707
|
--lace-canvas-edge-stroke-selected: #2d4a00;
|
|
714
708
|
--lace-canvas-grid-dot: rgba(0, 0, 0, 0.06);
|
|
715
|
-
--lace-canvas-paper-thread-fine: var(--lace-color-neutral-900-alpha-04);
|
|
716
|
-
--lace-canvas-paper-thread-major: var(--lace-color-neutral-900-alpha-08);
|
|
717
709
|
--lace-group-bg: var(--lace-color-neutral-900-alpha-04);
|
|
718
710
|
|
|
719
711
|
/* ── Tier-3: Module detail panel ──
|
|
@@ -780,11 +772,10 @@ body {
|
|
|
780
772
|
* `.lace-paper-layers` on an element that positions itself and only
|
|
781
773
|
* wants the grid recipe.
|
|
782
774
|
*
|
|
783
|
-
* The canvas mounts `.lace-paper-layers` on a layer
|
|
784
|
-
*
|
|
785
|
-
*
|
|
786
|
-
*
|
|
787
|
-
* the graph (packages/canvas/src/components/PaperGrid.css).
|
|
775
|
+
* The canvas mounts `.lace-paper-layers` on a layer filling its flow pane
|
|
776
|
+
* behind the graph, at the shell paper's own pitch and threads: a backdrop
|
|
777
|
+
* that stays put while the graph pans and zooms over it
|
|
778
|
+
* (packages/canvas/src/components/PaperGrid.css).
|
|
788
779
|
*
|
|
789
780
|
* MOUNT `.lace-paper` AT THE SHELL ROOT, OUTSIDE ANY TRANSFORMED ANCESTOR. A
|
|
790
781
|
* transformed ancestor becomes the containing block for its fixed-position
|
|
@@ -798,10 +789,24 @@ body {
|
|
|
798
789
|
.lace-paper,
|
|
799
790
|
.lace-paper-layers {
|
|
800
791
|
background-image:
|
|
801
|
-
linear-gradient(
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
792
|
+
linear-gradient(
|
|
793
|
+
var(--lace-paper-thread-fine) var(--lace-paper-thread-width),
|
|
794
|
+
transparent var(--lace-paper-thread-width)
|
|
795
|
+
),
|
|
796
|
+
linear-gradient(
|
|
797
|
+
90deg,
|
|
798
|
+
var(--lace-paper-thread-fine) var(--lace-paper-thread-width),
|
|
799
|
+
transparent var(--lace-paper-thread-width)
|
|
800
|
+
),
|
|
801
|
+
linear-gradient(
|
|
802
|
+
var(--lace-paper-thread-major) var(--lace-paper-thread-width),
|
|
803
|
+
transparent var(--lace-paper-thread-width)
|
|
804
|
+
),
|
|
805
|
+
linear-gradient(
|
|
806
|
+
90deg,
|
|
807
|
+
var(--lace-paper-thread-major) var(--lace-paper-thread-width),
|
|
808
|
+
transparent var(--lace-paper-thread-width)
|
|
809
|
+
);
|
|
805
810
|
background-size:
|
|
806
811
|
var(--lace-paper-pitch-fine) var(--lace-paper-pitch-fine),
|
|
807
812
|
var(--lace-paper-pitch-fine) var(--lace-paper-pitch-fine),
|