@handamade/psi-tokens 0.10.0 → 0.12.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/dist/components/toast.vars.css +12 -0
- package/dist/components.css +13 -0
- package/dist/scope-map.json +21 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@layer psi.components {
|
|
2
|
+
:where(:root, [data-psi-theme]) {
|
|
3
|
+
--psi-toast-bg: var(--psi-surface-bg);
|
|
4
|
+
--psi-toast-border: var(--psi-surface-border);
|
|
5
|
+
--psi-toast-radius: var(--psi-surface-radius);
|
|
6
|
+
--psi-toast-fg: var(--psi-fg-primary);
|
|
7
|
+
--psi-toast-icon-fg-neutral: var(--psi-fg-secondary);
|
|
8
|
+
--psi-toast-icon-fg-success: var(--psi-fg-success);
|
|
9
|
+
--psi-toast-icon-fg-warning: var(--psi-fg-warning);
|
|
10
|
+
--psi-toast-icon-fg-danger: var(--psi-fg-danger);
|
|
11
|
+
}
|
|
12
|
+
}
|
package/dist/components.css
CHANGED
|
@@ -305,6 +305,19 @@
|
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
+
@layer psi.components {
|
|
309
|
+
:where(:root, [data-psi-theme]) {
|
|
310
|
+
--psi-toast-bg: var(--psi-surface-bg);
|
|
311
|
+
--psi-toast-border: var(--psi-surface-border);
|
|
312
|
+
--psi-toast-radius: var(--psi-surface-radius);
|
|
313
|
+
--psi-toast-fg: var(--psi-fg-primary);
|
|
314
|
+
--psi-toast-icon-fg-neutral: var(--psi-fg-secondary);
|
|
315
|
+
--psi-toast-icon-fg-success: var(--psi-fg-success);
|
|
316
|
+
--psi-toast-icon-fg-warning: var(--psi-fg-warning);
|
|
317
|
+
--psi-toast-icon-fg-danger: var(--psi-fg-danger);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
308
321
|
@layer psi.components {
|
|
309
322
|
:where(:root, [data-psi-theme]) {
|
|
310
323
|
--psi-tooltip-bg: var(--psi-bg-inverted);
|
package/dist/scope-map.json
CHANGED
|
@@ -522,6 +522,27 @@
|
|
|
522
522
|
"tag-danger-subtle-fg": [
|
|
523
523
|
"text"
|
|
524
524
|
],
|
|
525
|
+
"toast-bg": [
|
|
526
|
+
"surface"
|
|
527
|
+
],
|
|
528
|
+
"toast-border": [
|
|
529
|
+
"border"
|
|
530
|
+
],
|
|
531
|
+
"toast-fg": [
|
|
532
|
+
"text"
|
|
533
|
+
],
|
|
534
|
+
"toast-icon-fg-neutral": [
|
|
535
|
+
"text"
|
|
536
|
+
],
|
|
537
|
+
"toast-icon-fg-success": [
|
|
538
|
+
"text"
|
|
539
|
+
],
|
|
540
|
+
"toast-icon-fg-warning": [
|
|
541
|
+
"text"
|
|
542
|
+
],
|
|
543
|
+
"toast-icon-fg-danger": [
|
|
544
|
+
"text"
|
|
545
|
+
],
|
|
525
546
|
"tooltip-bg": [
|
|
526
547
|
"surface"
|
|
527
548
|
],
|