@tangle-network/sandbox-ui 0.115.3 → 0.115.4
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/README.md +3 -0
- package/dist/globals.css +9 -4
- package/dist/styles.css +9 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -302,6 +302,9 @@ The shared visual contract lives in [src/styles/tokens.css](./src/styles/tokens.
|
|
|
302
302
|
- borders: `--border-subtle`, `--border-default`, `--border-accent`
|
|
303
303
|
- radii/shadows: `--radius-*`, `--shadow-card`, `--shadow-dropdown`, `--shadow-accent`
|
|
304
304
|
|
|
305
|
+
Markdown prose uses `--foreground` and `--muted-foreground` as HSL channel values.
|
|
306
|
+
Set them on the nearest product wrapper when its colors differ from the brand theme.
|
|
307
|
+
|
|
305
308
|
App-level overrides can be scoped to a wrapper:
|
|
306
309
|
|
|
307
310
|
```css
|
package/dist/globals.css
CHANGED
|
@@ -5997,6 +5997,10 @@
|
|
|
5997
5997
|
--border-default: rgba(120, 108, 158, 0.18);
|
|
5998
5998
|
--border-hover: rgba(120, 108, 158, 0.28);
|
|
5999
5999
|
}
|
|
6000
|
+
:is(.dark, .light, [data-theme], [data-sandbox-theme="vault"]) {
|
|
6001
|
+
--foreground: var(--hsl-foreground);
|
|
6002
|
+
--muted-foreground: var(--hsl-muted-foreground);
|
|
6003
|
+
}
|
|
6000
6004
|
:root {
|
|
6001
6005
|
--duration-instant: 90ms;
|
|
6002
6006
|
--duration-fast: 150ms;
|
|
@@ -6523,7 +6527,7 @@
|
|
|
6523
6527
|
box-shadow: none;
|
|
6524
6528
|
}
|
|
6525
6529
|
.tangle-prose {
|
|
6526
|
-
color: var(--
|
|
6530
|
+
color: hsl(var(--foreground));
|
|
6527
6531
|
line-height: 1.7;
|
|
6528
6532
|
}
|
|
6529
6533
|
.tangle-prose :where(p, ul, ol) {
|
|
@@ -6537,7 +6541,7 @@
|
|
|
6537
6541
|
line-height: 1.3;
|
|
6538
6542
|
margin-top: 1.4em;
|
|
6539
6543
|
margin-bottom: 0.5em;
|
|
6540
|
-
color:
|
|
6544
|
+
color: inherit;
|
|
6541
6545
|
}
|
|
6542
6546
|
.tangle-prose h1 {
|
|
6543
6547
|
font-size: 1.4em;
|
|
@@ -6565,7 +6569,7 @@
|
|
|
6565
6569
|
.tangle-prose blockquote {
|
|
6566
6570
|
border-left: 2px solid var(--border-default);
|
|
6567
6571
|
padding-left: 0.9em;
|
|
6568
|
-
color: var(--
|
|
6572
|
+
color: hsl(var(--muted-foreground));
|
|
6569
6573
|
}
|
|
6570
6574
|
.tangle-prose hr {
|
|
6571
6575
|
border: 0;
|
|
@@ -6588,6 +6592,7 @@
|
|
|
6588
6592
|
font-size: 0.95em;
|
|
6589
6593
|
display: block;
|
|
6590
6594
|
overflow-x: auto;
|
|
6595
|
+
color: inherit;
|
|
6591
6596
|
}
|
|
6592
6597
|
.tangle-prose thead {
|
|
6593
6598
|
border-bottom: 1px solid var(--border-default);
|
|
@@ -6596,7 +6601,7 @@
|
|
|
6596
6601
|
text-align: left;
|
|
6597
6602
|
font-weight: 600;
|
|
6598
6603
|
padding: 0.5em 0.85em;
|
|
6599
|
-
color:
|
|
6604
|
+
color: inherit;
|
|
6600
6605
|
white-space: nowrap;
|
|
6601
6606
|
}
|
|
6602
6607
|
.tangle-prose td {
|
package/dist/styles.css
CHANGED
|
@@ -5997,6 +5997,10 @@
|
|
|
5997
5997
|
--border-default: rgba(120, 108, 158, 0.18);
|
|
5998
5998
|
--border-hover: rgba(120, 108, 158, 0.28);
|
|
5999
5999
|
}
|
|
6000
|
+
:is(.dark, .light, [data-theme], [data-sandbox-theme="vault"]) {
|
|
6001
|
+
--foreground: var(--hsl-foreground);
|
|
6002
|
+
--muted-foreground: var(--hsl-muted-foreground);
|
|
6003
|
+
}
|
|
6000
6004
|
:root {
|
|
6001
6005
|
--duration-instant: 90ms;
|
|
6002
6006
|
--duration-fast: 150ms;
|
|
@@ -6523,7 +6527,7 @@
|
|
|
6523
6527
|
box-shadow: none;
|
|
6524
6528
|
}
|
|
6525
6529
|
.tangle-prose {
|
|
6526
|
-
color: var(--
|
|
6530
|
+
color: hsl(var(--foreground));
|
|
6527
6531
|
line-height: 1.7;
|
|
6528
6532
|
}
|
|
6529
6533
|
.tangle-prose :where(p, ul, ol) {
|
|
@@ -6537,7 +6541,7 @@
|
|
|
6537
6541
|
line-height: 1.3;
|
|
6538
6542
|
margin-top: 1.4em;
|
|
6539
6543
|
margin-bottom: 0.5em;
|
|
6540
|
-
color:
|
|
6544
|
+
color: inherit;
|
|
6541
6545
|
}
|
|
6542
6546
|
.tangle-prose h1 {
|
|
6543
6547
|
font-size: 1.4em;
|
|
@@ -6565,7 +6569,7 @@
|
|
|
6565
6569
|
.tangle-prose blockquote {
|
|
6566
6570
|
border-left: 2px solid var(--border-default);
|
|
6567
6571
|
padding-left: 0.9em;
|
|
6568
|
-
color: var(--
|
|
6572
|
+
color: hsl(var(--muted-foreground));
|
|
6569
6573
|
}
|
|
6570
6574
|
.tangle-prose hr {
|
|
6571
6575
|
border: 0;
|
|
@@ -6588,6 +6592,7 @@
|
|
|
6588
6592
|
font-size: 0.95em;
|
|
6589
6593
|
display: block;
|
|
6590
6594
|
overflow-x: auto;
|
|
6595
|
+
color: inherit;
|
|
6591
6596
|
}
|
|
6592
6597
|
.tangle-prose thead {
|
|
6593
6598
|
border-bottom: 1px solid var(--border-default);
|
|
@@ -6596,7 +6601,7 @@
|
|
|
6596
6601
|
text-align: left;
|
|
6597
6602
|
font-weight: 600;
|
|
6598
6603
|
padding: 0.5em 0.85em;
|
|
6599
|
-
color:
|
|
6604
|
+
color: inherit;
|
|
6600
6605
|
white-space: nowrap;
|
|
6601
6606
|
}
|
|
6602
6607
|
.tangle-prose td {
|
package/package.json
CHANGED