@tangible/ui 0.2.2 → 0.2.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/components/Pager/Pager.d.ts +8 -1
- package/components/Pager/Pager.js +10 -6
- package/components/SearchInput/SearchInput.d.ts +11 -0
- package/components/SearchInput/SearchInput.js +76 -0
- package/components/SearchInput/index.d.ts +2 -0
- package/components/SearchInput/index.js +1 -0
- package/components/SearchInput/types.d.ts +69 -0
- package/components/SearchInput/types.js +1 -0
- package/components/index.d.ts +2 -0
- package/components/index.js +1 -0
- package/icons/icons.svg +16 -16
- package/icons/lms/index.js +13 -13
- package/icons/system/index.js +3 -3
- package/package.json +5 -1
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +155 -21
- package/styles/all.expanded.unlayered.css +155 -21
- package/styles/all.unlayered.css +1 -1
- package/styles/components/_bundle.scss +3 -1
- package/styles/components/card.scss +33 -6
- package/styles/components/color-picker.scss +7 -1
- package/styles/components/dropdown.scss +1 -0
- package/styles/components/pager.scss +11 -5
- package/styles/components/search-input.scss +104 -0
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/system/_tokens.scss +30 -7
- package/tui-manifest.json +107 -2
package/styles/all.expanded.css
CHANGED
|
@@ -342,6 +342,9 @@
|
|
|
342
342
|
*/
|
|
343
343
|
/* @tui-tokens: none — inherits --tui-progress-track, --tui-progress-fill */
|
|
344
344
|
/* @tui-tokens
|
|
345
|
+
--tui-search-input-button-radius
|
|
346
|
+
*/
|
|
347
|
+
/* @tui-tokens
|
|
345
348
|
--tui-steplist-gap
|
|
346
349
|
--tui-steplist-padding
|
|
347
350
|
--tui-steplist-radius
|
|
@@ -593,11 +596,14 @@
|
|
|
593
596
|
--tui-generative-pink-strong: oklch(0.82 0.1 350);
|
|
594
597
|
/* UA chrome: native controls, scrollbars render in dark mode */
|
|
595
598
|
color-scheme: dark;
|
|
596
|
-
/* Backgrounds
|
|
597
|
-
|
|
598
|
-
|
|
599
|
+
/* Backgrounds — surface is the darkest (page canvas); bg (component faces)
|
|
600
|
+
and elevated sit a step above it, mirroring light (white faces on an
|
|
601
|
+
off-white surface). Previously bg/surface were inverted, so faces read
|
|
602
|
+
darker than the page behind them. */
|
|
603
|
+
--tui-color-bg: #202836;
|
|
604
|
+
--tui-color-bg-surface: #111928;
|
|
599
605
|
--tui-color-bg-muted: #374151;
|
|
600
|
-
--tui-color-bg-elevated: #
|
|
606
|
+
--tui-color-bg-elevated: #202836;
|
|
601
607
|
--tui-color-bg-inverted: #F9FAFB;
|
|
602
608
|
--tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
|
|
603
609
|
/* Text */
|
|
@@ -627,23 +633,42 @@
|
|
|
627
633
|
--tui-theme-secondary-subtlest: #202836;
|
|
628
634
|
--tui-theme-secondary-subtle: #374151;
|
|
629
635
|
--tui-theme-secondary-soft: #4B5563;
|
|
636
|
+
--tui-theme-secondary-base: #9CA3AF;
|
|
630
637
|
--tui-theme-secondary-strong: #D1D5DB;
|
|
631
638
|
--tui-theme-secondary-stronger: #E5E7EB;
|
|
632
639
|
--tui-theme-secondary-strongest: #F3F4F6;
|
|
640
|
+
/* Success */
|
|
641
|
+
--tui-theme-success-subtlest: #003008;
|
|
642
|
+
--tui-theme-success-subtle: #00450c;
|
|
643
|
+
--tui-theme-success-soft: #008a20;
|
|
633
644
|
--tui-theme-success-base: #00a32a;
|
|
634
645
|
--tui-theme-success-strong: #00ba37;
|
|
635
646
|
--tui-theme-success-stronger: #1ed14b;
|
|
636
647
|
--tui-theme-success-strongest: #68de7c;
|
|
637
|
-
|
|
648
|
+
/* Info */
|
|
649
|
+
--tui-theme-info-subtlest: #090949;
|
|
650
|
+
--tui-theme-info-subtle: #101375;
|
|
651
|
+
--tui-theme-info-soft: #2942d1;
|
|
652
|
+
--tui-theme-info-base: #3858e9;
|
|
653
|
+
--tui-theme-info-strong: #5373f2;
|
|
654
|
+
--tui-theme-info-stronger: #7b93ff;
|
|
655
|
+
--tui-theme-info-strongest: #a0b5fe;
|
|
656
|
+
/* Warning */
|
|
657
|
+
--tui-theme-warning-subtlest: #362400;
|
|
658
|
+
--tui-theme-warning-subtle: #4a3200;
|
|
659
|
+
--tui-theme-warning-soft: #996800;
|
|
638
660
|
--tui-theme-warning-base: #bd8600;
|
|
639
661
|
--tui-theme-warning-strong: #dba617;
|
|
640
662
|
--tui-theme-warning-stronger: #f0c33c;
|
|
641
|
-
--tui-theme-warning-
|
|
663
|
+
--tui-theme-warning-strongest: #f2d675;
|
|
664
|
+
/* Danger */
|
|
665
|
+
--tui-theme-danger-subtlest: #451313;
|
|
666
|
+
--tui-theme-danger-subtle: #691c1c;
|
|
667
|
+
--tui-theme-danger-soft: #d63638;
|
|
642
668
|
--tui-theme-danger-base: #e65054;
|
|
643
669
|
--tui-theme-danger-strong: #f86368;
|
|
644
670
|
--tui-theme-danger-stronger: #ff8085;
|
|
645
671
|
--tui-theme-danger-strongest: #ffabaf;
|
|
646
|
-
--tui-theme-danger-subtlest: #451313;
|
|
647
672
|
/* Focus ring - brighter for dark backgrounds */
|
|
648
673
|
--tui-focus-ring-color: #3858e9;
|
|
649
674
|
/* Shadows - more pronounced in dark mode */
|
|
@@ -684,11 +709,14 @@
|
|
|
684
709
|
--tui-generative-pink-strong: oklch(0.82 0.1 350);
|
|
685
710
|
/* UA chrome: native controls, scrollbars render in dark mode */
|
|
686
711
|
color-scheme: dark;
|
|
687
|
-
/* Backgrounds
|
|
688
|
-
|
|
689
|
-
|
|
712
|
+
/* Backgrounds — surface is the darkest (page canvas); bg (component faces)
|
|
713
|
+
and elevated sit a step above it, mirroring light (white faces on an
|
|
714
|
+
off-white surface). Previously bg/surface were inverted, so faces read
|
|
715
|
+
darker than the page behind them. */
|
|
716
|
+
--tui-color-bg: #202836;
|
|
717
|
+
--tui-color-bg-surface: #111928;
|
|
690
718
|
--tui-color-bg-muted: #374151;
|
|
691
|
-
--tui-color-bg-elevated: #
|
|
719
|
+
--tui-color-bg-elevated: #202836;
|
|
692
720
|
--tui-color-bg-inverted: #F9FAFB;
|
|
693
721
|
--tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
|
|
694
722
|
/* Text */
|
|
@@ -718,23 +746,42 @@
|
|
|
718
746
|
--tui-theme-secondary-subtlest: #202836;
|
|
719
747
|
--tui-theme-secondary-subtle: #374151;
|
|
720
748
|
--tui-theme-secondary-soft: #4B5563;
|
|
749
|
+
--tui-theme-secondary-base: #9CA3AF;
|
|
721
750
|
--tui-theme-secondary-strong: #D1D5DB;
|
|
722
751
|
--tui-theme-secondary-stronger: #E5E7EB;
|
|
723
752
|
--tui-theme-secondary-strongest: #F3F4F6;
|
|
753
|
+
/* Success */
|
|
754
|
+
--tui-theme-success-subtlest: #003008;
|
|
755
|
+
--tui-theme-success-subtle: #00450c;
|
|
756
|
+
--tui-theme-success-soft: #008a20;
|
|
724
757
|
--tui-theme-success-base: #00a32a;
|
|
725
758
|
--tui-theme-success-strong: #00ba37;
|
|
726
759
|
--tui-theme-success-stronger: #1ed14b;
|
|
727
760
|
--tui-theme-success-strongest: #68de7c;
|
|
728
|
-
|
|
761
|
+
/* Info */
|
|
762
|
+
--tui-theme-info-subtlest: #090949;
|
|
763
|
+
--tui-theme-info-subtle: #101375;
|
|
764
|
+
--tui-theme-info-soft: #2942d1;
|
|
765
|
+
--tui-theme-info-base: #3858e9;
|
|
766
|
+
--tui-theme-info-strong: #5373f2;
|
|
767
|
+
--tui-theme-info-stronger: #7b93ff;
|
|
768
|
+
--tui-theme-info-strongest: #a0b5fe;
|
|
769
|
+
/* Warning */
|
|
770
|
+
--tui-theme-warning-subtlest: #362400;
|
|
771
|
+
--tui-theme-warning-subtle: #4a3200;
|
|
772
|
+
--tui-theme-warning-soft: #996800;
|
|
729
773
|
--tui-theme-warning-base: #bd8600;
|
|
730
774
|
--tui-theme-warning-strong: #dba617;
|
|
731
775
|
--tui-theme-warning-stronger: #f0c33c;
|
|
732
|
-
--tui-theme-warning-
|
|
776
|
+
--tui-theme-warning-strongest: #f2d675;
|
|
777
|
+
/* Danger */
|
|
778
|
+
--tui-theme-danger-subtlest: #451313;
|
|
779
|
+
--tui-theme-danger-subtle: #691c1c;
|
|
780
|
+
--tui-theme-danger-soft: #d63638;
|
|
733
781
|
--tui-theme-danger-base: #e65054;
|
|
734
782
|
--tui-theme-danger-strong: #f86368;
|
|
735
783
|
--tui-theme-danger-stronger: #ff8085;
|
|
736
784
|
--tui-theme-danger-strongest: #ffabaf;
|
|
737
|
-
--tui-theme-danger-subtlest: #451313;
|
|
738
785
|
/* Focus ring - brighter for dark backgrounds */
|
|
739
786
|
--tui-focus-ring-color: #3858e9;
|
|
740
787
|
/* Shadows - more pronounced in dark mode */
|
|
@@ -1662,6 +1709,11 @@
|
|
|
1662
1709
|
border-end-end-radius: calc(var(--_radius) - var(--_border-width));
|
|
1663
1710
|
border-end-start-radius: calc(var(--_radius) - var(--_border-width));
|
|
1664
1711
|
}
|
|
1712
|
+
:where(.tui-interface) .tui-card:not(.is-layout-inline) .tui-card__inner {
|
|
1713
|
+
display: flex;
|
|
1714
|
+
flex-direction: column;
|
|
1715
|
+
height: 100%;
|
|
1716
|
+
}
|
|
1665
1717
|
@container tuiCard (width >= 400px) {
|
|
1666
1718
|
:where(:where(.tui-interface) .tui-card.is-layout-inline) .tui-card__inner {
|
|
1667
1719
|
display: flex;
|
|
@@ -1739,6 +1791,12 @@
|
|
|
1739
1791
|
:where(.tui-interface) .tui-card.has-interaction:active, :where(.tui-interface) .tui-card.has-interaction.active {
|
|
1740
1792
|
--_border: var(--tui-card-border-active, var(--tui-theme-primary-soft));
|
|
1741
1793
|
}
|
|
1794
|
+
:where(.tui-interface) .tui-card.has-interaction.is-style-elevated {
|
|
1795
|
+
transition-property: border-color, color, background-color, box-shadow;
|
|
1796
|
+
}
|
|
1797
|
+
:where(.tui-interface) .tui-card.has-interaction.is-style-elevated:hover {
|
|
1798
|
+
box-shadow: var(--_shadow-interact);
|
|
1799
|
+
}
|
|
1742
1800
|
:where(.tui-interface) .tui-card .tui-stretched-link:focus {
|
|
1743
1801
|
outline: none;
|
|
1744
1802
|
}
|
|
@@ -1753,10 +1811,6 @@
|
|
|
1753
1811
|
}
|
|
1754
1812
|
:where(.tui-interface) .tui-card.is-style-elevated {
|
|
1755
1813
|
box-shadow: var(--_shadow);
|
|
1756
|
-
transition-property: border-color, color, background-color, box-shadow;
|
|
1757
|
-
}
|
|
1758
|
-
:where(.tui-interface) .tui-card.is-style-elevated:hover {
|
|
1759
|
-
box-shadow: var(--_shadow-interact);
|
|
1760
1814
|
}
|
|
1761
1815
|
:where(.tui-interface) .tui-card.is-style-outline {
|
|
1762
1816
|
--_bg: transparent;
|
|
@@ -2592,7 +2646,7 @@
|
|
|
2592
2646
|
flex: 1 1 0;
|
|
2593
2647
|
min-width: 0;
|
|
2594
2648
|
display: flex;
|
|
2595
|
-
align-items:
|
|
2649
|
+
align-items: center;
|
|
2596
2650
|
gap: 0.125em;
|
|
2597
2651
|
}
|
|
2598
2652
|
.tui-interface .tui-color-picker__channel-letter {
|
|
@@ -2613,6 +2667,8 @@
|
|
|
2613
2667
|
font: inherit;
|
|
2614
2668
|
text-align: start;
|
|
2615
2669
|
border-radius: var(--tui-radius-sm);
|
|
2670
|
+
margin-block: var(--tui-spacing-xxs);
|
|
2671
|
+
min-height: calc(var(--tui-control-height-md, 2.5rem) - 2 * var(--tui-spacing-xxs));
|
|
2616
2672
|
}
|
|
2617
2673
|
.tui-interface .tui-color-picker__channel-input:focus-visible {
|
|
2618
2674
|
outline: none;
|
|
@@ -3378,6 +3434,7 @@
|
|
|
3378
3434
|
animation: tui-fadeFromTransparent var(--tui-motion-duration) var(--tui-motion-timing);
|
|
3379
3435
|
}
|
|
3380
3436
|
.tui-interface .tui-dropdown__item {
|
|
3437
|
+
display: flex;
|
|
3381
3438
|
justify-content: flex-start;
|
|
3382
3439
|
width: 100%;
|
|
3383
3440
|
min-width: 0;
|
|
@@ -5386,9 +5443,7 @@
|
|
|
5386
5443
|
.tui-pager__nav .tui-pager__ellipsis {
|
|
5387
5444
|
--tui-button-border: var(--tui-pager-item-border, var(--tui-color-border));
|
|
5388
5445
|
border-color: var(--tui-button-border);
|
|
5389
|
-
font-size: var(--tui-typography-size-sm);
|
|
5390
5446
|
padding-inline: 0.85em;
|
|
5391
|
-
padding-block: 0.4em;
|
|
5392
5447
|
}
|
|
5393
5448
|
.tui-pager__nav .tui-pager__item:not(:first-child),
|
|
5394
5449
|
.tui-pager__nav .tui-pager__ellipsis:not(:first-child) {
|
|
@@ -5401,6 +5456,21 @@
|
|
|
5401
5456
|
border-start-end-radius: 0;
|
|
5402
5457
|
border-end-end-radius: 0;
|
|
5403
5458
|
}
|
|
5459
|
+
.tui-pager__nav .tui-pager__ellipsis {
|
|
5460
|
+
--_fs: var(--tui-control-font-size-md, var(--tui-typography-size-md));
|
|
5461
|
+
--_py: var(--tui-spacing-xxs);
|
|
5462
|
+
font-size: var(--_fs);
|
|
5463
|
+
padding-block: var(--_py);
|
|
5464
|
+
min-height: var(--tui-control-height-md, 2.5rem);
|
|
5465
|
+
}
|
|
5466
|
+
.tui-pager__nav .tui-pager__ellipsis.is-size-sm {
|
|
5467
|
+
--_fs: var(--tui-control-font-size-sm, var(--tui-typography-size-sm));
|
|
5468
|
+
min-height: var(--tui-control-height-sm, 2rem);
|
|
5469
|
+
}
|
|
5470
|
+
.tui-pager__nav .tui-pager__ellipsis.is-size-lg {
|
|
5471
|
+
--_fs: var(--tui-control-font-size-lg, var(--tui-typography-size-lg));
|
|
5472
|
+
min-height: var(--tui-control-height-lg, 3rem);
|
|
5473
|
+
}
|
|
5404
5474
|
.tui-pager__nav .tui-pager__ellipsis {
|
|
5405
5475
|
display: inline-flex;
|
|
5406
5476
|
align-items: center;
|
|
@@ -5912,6 +5982,70 @@
|
|
|
5912
5982
|
border-radius: 50%;
|
|
5913
5983
|
}
|
|
5914
5984
|
}
|
|
5985
|
+
:where(.tui-interface) .tui-search-input__clear,
|
|
5986
|
+
:where(.tui-interface) .tui-search-input__submit {
|
|
5987
|
+
display: inline-flex;
|
|
5988
|
+
align-items: center;
|
|
5989
|
+
justify-content: center;
|
|
5990
|
+
flex: none;
|
|
5991
|
+
min-inline-size: 1.5rem;
|
|
5992
|
+
min-block-size: 1.5rem;
|
|
5993
|
+
padding: 0.1875em;
|
|
5994
|
+
border: 0;
|
|
5995
|
+
border-radius: var(--tui-search-input-button-radius, var(--tui-radius-full, 999px));
|
|
5996
|
+
background: transparent;
|
|
5997
|
+
color: inherit;
|
|
5998
|
+
cursor: pointer;
|
|
5999
|
+
line-height: 0;
|
|
6000
|
+
transition-duration: var(--tui-motion-duration);
|
|
6001
|
+
transition-timing-function: var(--tui-motion-timing);
|
|
6002
|
+
transition-property: opacity, color, outline-color;
|
|
6003
|
+
}
|
|
6004
|
+
:where(.tui-interface) .tui-search-input__clear:focus-visible,
|
|
6005
|
+
:where(.tui-interface) .tui-search-input__submit:focus-visible {
|
|
6006
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
6007
|
+
outline-offset: var(--tui-focus-ring-offset);
|
|
6008
|
+
}
|
|
6009
|
+
@media (forced-colors: active) {
|
|
6010
|
+
:where(.tui-interface) .tui-search-input__clear,
|
|
6011
|
+
:where(.tui-interface) .tui-search-input__submit {
|
|
6012
|
+
color: ButtonText;
|
|
6013
|
+
}
|
|
6014
|
+
:where(.tui-interface) .tui-search-input__clear:focus-visible,
|
|
6015
|
+
:where(.tui-interface) .tui-search-input__submit:focus-visible {
|
|
6016
|
+
outline-color: Highlight;
|
|
6017
|
+
}
|
|
6018
|
+
}
|
|
6019
|
+
:where(.tui-interface) .tui-search-input__clear {
|
|
6020
|
+
opacity: 0.65;
|
|
6021
|
+
}
|
|
6022
|
+
:where(.tui-interface) .tui-search-input__clear .tui-icon {
|
|
6023
|
+
font-size: 1.125em;
|
|
6024
|
+
}
|
|
6025
|
+
@media (hover: hover) {
|
|
6026
|
+
:where(.tui-interface) .tui-search-input__clear:hover {
|
|
6027
|
+
opacity: 1;
|
|
6028
|
+
color: var(--tui-color-fg);
|
|
6029
|
+
}
|
|
6030
|
+
}
|
|
6031
|
+
:where(.tui-interface) .tui-search-input__clear:focus-visible {
|
|
6032
|
+
opacity: 1;
|
|
6033
|
+
color: var(--tui-color-fg);
|
|
6034
|
+
}
|
|
6035
|
+
:where(.tui-interface) .tui-search-input__submit {
|
|
6036
|
+
color: var(--tui-color-fg-secondary);
|
|
6037
|
+
}
|
|
6038
|
+
:where(.tui-interface) .tui-search-input__submit .tui-icon {
|
|
6039
|
+
font-size: 1em;
|
|
6040
|
+
}
|
|
6041
|
+
@media (hover: hover) {
|
|
6042
|
+
:where(.tui-interface) .tui-search-input__submit:hover {
|
|
6043
|
+
color: var(--tui-color-fg);
|
|
6044
|
+
}
|
|
6045
|
+
}
|
|
6046
|
+
:where(.tui-interface) .tui-search-input__submit:focus-visible {
|
|
6047
|
+
color: var(--tui-color-fg);
|
|
6048
|
+
}
|
|
5915
6049
|
:where(.tui-interface) .tui-segmented {
|
|
5916
6050
|
--_gap: var(--tui-segmented-gap, 0.5em);
|
|
5917
6051
|
--_padding: var(--tui-segmented-padding, 0.5em);
|
|
@@ -342,6 +342,9 @@
|
|
|
342
342
|
*/
|
|
343
343
|
/* @tui-tokens: none — inherits --tui-progress-track, --tui-progress-fill */
|
|
344
344
|
/* @tui-tokens
|
|
345
|
+
--tui-search-input-button-radius
|
|
346
|
+
*/
|
|
347
|
+
/* @tui-tokens
|
|
345
348
|
--tui-steplist-gap
|
|
346
349
|
--tui-steplist-padding
|
|
347
350
|
--tui-steplist-radius
|
|
@@ -593,11 +596,14 @@
|
|
|
593
596
|
--tui-generative-pink-strong: oklch(0.82 0.1 350);
|
|
594
597
|
/* UA chrome: native controls, scrollbars render in dark mode */
|
|
595
598
|
color-scheme: dark;
|
|
596
|
-
/* Backgrounds
|
|
597
|
-
|
|
598
|
-
|
|
599
|
+
/* Backgrounds — surface is the darkest (page canvas); bg (component faces)
|
|
600
|
+
and elevated sit a step above it, mirroring light (white faces on an
|
|
601
|
+
off-white surface). Previously bg/surface were inverted, so faces read
|
|
602
|
+
darker than the page behind them. */
|
|
603
|
+
--tui-color-bg: #202836;
|
|
604
|
+
--tui-color-bg-surface: #111928;
|
|
599
605
|
--tui-color-bg-muted: #374151;
|
|
600
|
-
--tui-color-bg-elevated: #
|
|
606
|
+
--tui-color-bg-elevated: #202836;
|
|
601
607
|
--tui-color-bg-inverted: #F9FAFB;
|
|
602
608
|
--tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
|
|
603
609
|
/* Text */
|
|
@@ -627,23 +633,42 @@
|
|
|
627
633
|
--tui-theme-secondary-subtlest: #202836;
|
|
628
634
|
--tui-theme-secondary-subtle: #374151;
|
|
629
635
|
--tui-theme-secondary-soft: #4B5563;
|
|
636
|
+
--tui-theme-secondary-base: #9CA3AF;
|
|
630
637
|
--tui-theme-secondary-strong: #D1D5DB;
|
|
631
638
|
--tui-theme-secondary-stronger: #E5E7EB;
|
|
632
639
|
--tui-theme-secondary-strongest: #F3F4F6;
|
|
640
|
+
/* Success */
|
|
641
|
+
--tui-theme-success-subtlest: #003008;
|
|
642
|
+
--tui-theme-success-subtle: #00450c;
|
|
643
|
+
--tui-theme-success-soft: #008a20;
|
|
633
644
|
--tui-theme-success-base: #00a32a;
|
|
634
645
|
--tui-theme-success-strong: #00ba37;
|
|
635
646
|
--tui-theme-success-stronger: #1ed14b;
|
|
636
647
|
--tui-theme-success-strongest: #68de7c;
|
|
637
|
-
|
|
648
|
+
/* Info */
|
|
649
|
+
--tui-theme-info-subtlest: #090949;
|
|
650
|
+
--tui-theme-info-subtle: #101375;
|
|
651
|
+
--tui-theme-info-soft: #2942d1;
|
|
652
|
+
--tui-theme-info-base: #3858e9;
|
|
653
|
+
--tui-theme-info-strong: #5373f2;
|
|
654
|
+
--tui-theme-info-stronger: #7b93ff;
|
|
655
|
+
--tui-theme-info-strongest: #a0b5fe;
|
|
656
|
+
/* Warning */
|
|
657
|
+
--tui-theme-warning-subtlest: #362400;
|
|
658
|
+
--tui-theme-warning-subtle: #4a3200;
|
|
659
|
+
--tui-theme-warning-soft: #996800;
|
|
638
660
|
--tui-theme-warning-base: #bd8600;
|
|
639
661
|
--tui-theme-warning-strong: #dba617;
|
|
640
662
|
--tui-theme-warning-stronger: #f0c33c;
|
|
641
|
-
--tui-theme-warning-
|
|
663
|
+
--tui-theme-warning-strongest: #f2d675;
|
|
664
|
+
/* Danger */
|
|
665
|
+
--tui-theme-danger-subtlest: #451313;
|
|
666
|
+
--tui-theme-danger-subtle: #691c1c;
|
|
667
|
+
--tui-theme-danger-soft: #d63638;
|
|
642
668
|
--tui-theme-danger-base: #e65054;
|
|
643
669
|
--tui-theme-danger-strong: #f86368;
|
|
644
670
|
--tui-theme-danger-stronger: #ff8085;
|
|
645
671
|
--tui-theme-danger-strongest: #ffabaf;
|
|
646
|
-
--tui-theme-danger-subtlest: #451313;
|
|
647
672
|
/* Focus ring - brighter for dark backgrounds */
|
|
648
673
|
--tui-focus-ring-color: #3858e9;
|
|
649
674
|
/* Shadows - more pronounced in dark mode */
|
|
@@ -684,11 +709,14 @@
|
|
|
684
709
|
--tui-generative-pink-strong: oklch(0.82 0.1 350);
|
|
685
710
|
/* UA chrome: native controls, scrollbars render in dark mode */
|
|
686
711
|
color-scheme: dark;
|
|
687
|
-
/* Backgrounds
|
|
688
|
-
|
|
689
|
-
|
|
712
|
+
/* Backgrounds — surface is the darkest (page canvas); bg (component faces)
|
|
713
|
+
and elevated sit a step above it, mirroring light (white faces on an
|
|
714
|
+
off-white surface). Previously bg/surface were inverted, so faces read
|
|
715
|
+
darker than the page behind them. */
|
|
716
|
+
--tui-color-bg: #202836;
|
|
717
|
+
--tui-color-bg-surface: #111928;
|
|
690
718
|
--tui-color-bg-muted: #374151;
|
|
691
|
-
--tui-color-bg-elevated: #
|
|
719
|
+
--tui-color-bg-elevated: #202836;
|
|
692
720
|
--tui-color-bg-inverted: #F9FAFB;
|
|
693
721
|
--tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
|
|
694
722
|
/* Text */
|
|
@@ -718,23 +746,42 @@
|
|
|
718
746
|
--tui-theme-secondary-subtlest: #202836;
|
|
719
747
|
--tui-theme-secondary-subtle: #374151;
|
|
720
748
|
--tui-theme-secondary-soft: #4B5563;
|
|
749
|
+
--tui-theme-secondary-base: #9CA3AF;
|
|
721
750
|
--tui-theme-secondary-strong: #D1D5DB;
|
|
722
751
|
--tui-theme-secondary-stronger: #E5E7EB;
|
|
723
752
|
--tui-theme-secondary-strongest: #F3F4F6;
|
|
753
|
+
/* Success */
|
|
754
|
+
--tui-theme-success-subtlest: #003008;
|
|
755
|
+
--tui-theme-success-subtle: #00450c;
|
|
756
|
+
--tui-theme-success-soft: #008a20;
|
|
724
757
|
--tui-theme-success-base: #00a32a;
|
|
725
758
|
--tui-theme-success-strong: #00ba37;
|
|
726
759
|
--tui-theme-success-stronger: #1ed14b;
|
|
727
760
|
--tui-theme-success-strongest: #68de7c;
|
|
728
|
-
|
|
761
|
+
/* Info */
|
|
762
|
+
--tui-theme-info-subtlest: #090949;
|
|
763
|
+
--tui-theme-info-subtle: #101375;
|
|
764
|
+
--tui-theme-info-soft: #2942d1;
|
|
765
|
+
--tui-theme-info-base: #3858e9;
|
|
766
|
+
--tui-theme-info-strong: #5373f2;
|
|
767
|
+
--tui-theme-info-stronger: #7b93ff;
|
|
768
|
+
--tui-theme-info-strongest: #a0b5fe;
|
|
769
|
+
/* Warning */
|
|
770
|
+
--tui-theme-warning-subtlest: #362400;
|
|
771
|
+
--tui-theme-warning-subtle: #4a3200;
|
|
772
|
+
--tui-theme-warning-soft: #996800;
|
|
729
773
|
--tui-theme-warning-base: #bd8600;
|
|
730
774
|
--tui-theme-warning-strong: #dba617;
|
|
731
775
|
--tui-theme-warning-stronger: #f0c33c;
|
|
732
|
-
--tui-theme-warning-
|
|
776
|
+
--tui-theme-warning-strongest: #f2d675;
|
|
777
|
+
/* Danger */
|
|
778
|
+
--tui-theme-danger-subtlest: #451313;
|
|
779
|
+
--tui-theme-danger-subtle: #691c1c;
|
|
780
|
+
--tui-theme-danger-soft: #d63638;
|
|
733
781
|
--tui-theme-danger-base: #e65054;
|
|
734
782
|
--tui-theme-danger-strong: #f86368;
|
|
735
783
|
--tui-theme-danger-stronger: #ff8085;
|
|
736
784
|
--tui-theme-danger-strongest: #ffabaf;
|
|
737
|
-
--tui-theme-danger-subtlest: #451313;
|
|
738
785
|
/* Focus ring - brighter for dark backgrounds */
|
|
739
786
|
--tui-focus-ring-color: #3858e9;
|
|
740
787
|
/* Shadows - more pronounced in dark mode */
|
|
@@ -1662,6 +1709,11 @@
|
|
|
1662
1709
|
border-end-end-radius: calc(var(--_radius) - var(--_border-width));
|
|
1663
1710
|
border-end-start-radius: calc(var(--_radius) - var(--_border-width));
|
|
1664
1711
|
}
|
|
1712
|
+
:where(.tui-interface) .tui-card:not(.is-layout-inline) .tui-card__inner {
|
|
1713
|
+
display: flex;
|
|
1714
|
+
flex-direction: column;
|
|
1715
|
+
height: 100%;
|
|
1716
|
+
}
|
|
1665
1717
|
@container tuiCard (width >= 400px) {
|
|
1666
1718
|
:where(:where(.tui-interface) .tui-card.is-layout-inline) .tui-card__inner {
|
|
1667
1719
|
display: flex;
|
|
@@ -1739,6 +1791,12 @@
|
|
|
1739
1791
|
:where(.tui-interface) .tui-card.has-interaction:active, :where(.tui-interface) .tui-card.has-interaction.active {
|
|
1740
1792
|
--_border: var(--tui-card-border-active, var(--tui-theme-primary-soft));
|
|
1741
1793
|
}
|
|
1794
|
+
:where(.tui-interface) .tui-card.has-interaction.is-style-elevated {
|
|
1795
|
+
transition-property: border-color, color, background-color, box-shadow;
|
|
1796
|
+
}
|
|
1797
|
+
:where(.tui-interface) .tui-card.has-interaction.is-style-elevated:hover {
|
|
1798
|
+
box-shadow: var(--_shadow-interact);
|
|
1799
|
+
}
|
|
1742
1800
|
:where(.tui-interface) .tui-card .tui-stretched-link:focus {
|
|
1743
1801
|
outline: none;
|
|
1744
1802
|
}
|
|
@@ -1753,10 +1811,6 @@
|
|
|
1753
1811
|
}
|
|
1754
1812
|
:where(.tui-interface) .tui-card.is-style-elevated {
|
|
1755
1813
|
box-shadow: var(--_shadow);
|
|
1756
|
-
transition-property: border-color, color, background-color, box-shadow;
|
|
1757
|
-
}
|
|
1758
|
-
:where(.tui-interface) .tui-card.is-style-elevated:hover {
|
|
1759
|
-
box-shadow: var(--_shadow-interact);
|
|
1760
1814
|
}
|
|
1761
1815
|
:where(.tui-interface) .tui-card.is-style-outline {
|
|
1762
1816
|
--_bg: transparent;
|
|
@@ -2592,7 +2646,7 @@
|
|
|
2592
2646
|
flex: 1 1 0;
|
|
2593
2647
|
min-width: 0;
|
|
2594
2648
|
display: flex;
|
|
2595
|
-
align-items:
|
|
2649
|
+
align-items: center;
|
|
2596
2650
|
gap: 0.125em;
|
|
2597
2651
|
}
|
|
2598
2652
|
.tui-interface .tui-color-picker__channel-letter {
|
|
@@ -2613,6 +2667,8 @@
|
|
|
2613
2667
|
font: inherit;
|
|
2614
2668
|
text-align: start;
|
|
2615
2669
|
border-radius: var(--tui-radius-sm);
|
|
2670
|
+
margin-block: var(--tui-spacing-xxs);
|
|
2671
|
+
min-height: calc(var(--tui-control-height-md, 2.5rem) - 2 * var(--tui-spacing-xxs));
|
|
2616
2672
|
}
|
|
2617
2673
|
.tui-interface .tui-color-picker__channel-input:focus-visible {
|
|
2618
2674
|
outline: none;
|
|
@@ -3378,6 +3434,7 @@
|
|
|
3378
3434
|
animation: tui-fadeFromTransparent var(--tui-motion-duration) var(--tui-motion-timing);
|
|
3379
3435
|
}
|
|
3380
3436
|
.tui-interface .tui-dropdown__item {
|
|
3437
|
+
display: flex;
|
|
3381
3438
|
justify-content: flex-start;
|
|
3382
3439
|
width: 100%;
|
|
3383
3440
|
min-width: 0;
|
|
@@ -5386,9 +5443,7 @@
|
|
|
5386
5443
|
.tui-pager__nav .tui-pager__ellipsis {
|
|
5387
5444
|
--tui-button-border: var(--tui-pager-item-border, var(--tui-color-border));
|
|
5388
5445
|
border-color: var(--tui-button-border);
|
|
5389
|
-
font-size: var(--tui-typography-size-sm);
|
|
5390
5446
|
padding-inline: 0.85em;
|
|
5391
|
-
padding-block: 0.4em;
|
|
5392
5447
|
}
|
|
5393
5448
|
.tui-pager__nav .tui-pager__item:not(:first-child),
|
|
5394
5449
|
.tui-pager__nav .tui-pager__ellipsis:not(:first-child) {
|
|
@@ -5401,6 +5456,21 @@
|
|
|
5401
5456
|
border-start-end-radius: 0;
|
|
5402
5457
|
border-end-end-radius: 0;
|
|
5403
5458
|
}
|
|
5459
|
+
.tui-pager__nav .tui-pager__ellipsis {
|
|
5460
|
+
--_fs: var(--tui-control-font-size-md, var(--tui-typography-size-md));
|
|
5461
|
+
--_py: var(--tui-spacing-xxs);
|
|
5462
|
+
font-size: var(--_fs);
|
|
5463
|
+
padding-block: var(--_py);
|
|
5464
|
+
min-height: var(--tui-control-height-md, 2.5rem);
|
|
5465
|
+
}
|
|
5466
|
+
.tui-pager__nav .tui-pager__ellipsis.is-size-sm {
|
|
5467
|
+
--_fs: var(--tui-control-font-size-sm, var(--tui-typography-size-sm));
|
|
5468
|
+
min-height: var(--tui-control-height-sm, 2rem);
|
|
5469
|
+
}
|
|
5470
|
+
.tui-pager__nav .tui-pager__ellipsis.is-size-lg {
|
|
5471
|
+
--_fs: var(--tui-control-font-size-lg, var(--tui-typography-size-lg));
|
|
5472
|
+
min-height: var(--tui-control-height-lg, 3rem);
|
|
5473
|
+
}
|
|
5404
5474
|
.tui-pager__nav .tui-pager__ellipsis {
|
|
5405
5475
|
display: inline-flex;
|
|
5406
5476
|
align-items: center;
|
|
@@ -5912,6 +5982,70 @@
|
|
|
5912
5982
|
border-radius: 50%;
|
|
5913
5983
|
}
|
|
5914
5984
|
}
|
|
5985
|
+
:where(.tui-interface) .tui-search-input__clear,
|
|
5986
|
+
:where(.tui-interface) .tui-search-input__submit {
|
|
5987
|
+
display: inline-flex;
|
|
5988
|
+
align-items: center;
|
|
5989
|
+
justify-content: center;
|
|
5990
|
+
flex: none;
|
|
5991
|
+
min-inline-size: 1.5rem;
|
|
5992
|
+
min-block-size: 1.5rem;
|
|
5993
|
+
padding: 0.1875em;
|
|
5994
|
+
border: 0;
|
|
5995
|
+
border-radius: var(--tui-search-input-button-radius, var(--tui-radius-full, 999px));
|
|
5996
|
+
background: transparent;
|
|
5997
|
+
color: inherit;
|
|
5998
|
+
cursor: pointer;
|
|
5999
|
+
line-height: 0;
|
|
6000
|
+
transition-duration: var(--tui-motion-duration);
|
|
6001
|
+
transition-timing-function: var(--tui-motion-timing);
|
|
6002
|
+
transition-property: opacity, color, outline-color;
|
|
6003
|
+
}
|
|
6004
|
+
:where(.tui-interface) .tui-search-input__clear:focus-visible,
|
|
6005
|
+
:where(.tui-interface) .tui-search-input__submit:focus-visible {
|
|
6006
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
6007
|
+
outline-offset: var(--tui-focus-ring-offset);
|
|
6008
|
+
}
|
|
6009
|
+
@media (forced-colors: active) {
|
|
6010
|
+
:where(.tui-interface) .tui-search-input__clear,
|
|
6011
|
+
:where(.tui-interface) .tui-search-input__submit {
|
|
6012
|
+
color: ButtonText;
|
|
6013
|
+
}
|
|
6014
|
+
:where(.tui-interface) .tui-search-input__clear:focus-visible,
|
|
6015
|
+
:where(.tui-interface) .tui-search-input__submit:focus-visible {
|
|
6016
|
+
outline-color: Highlight;
|
|
6017
|
+
}
|
|
6018
|
+
}
|
|
6019
|
+
:where(.tui-interface) .tui-search-input__clear {
|
|
6020
|
+
opacity: 0.65;
|
|
6021
|
+
}
|
|
6022
|
+
:where(.tui-interface) .tui-search-input__clear .tui-icon {
|
|
6023
|
+
font-size: 1.125em;
|
|
6024
|
+
}
|
|
6025
|
+
@media (hover: hover) {
|
|
6026
|
+
:where(.tui-interface) .tui-search-input__clear:hover {
|
|
6027
|
+
opacity: 1;
|
|
6028
|
+
color: var(--tui-color-fg);
|
|
6029
|
+
}
|
|
6030
|
+
}
|
|
6031
|
+
:where(.tui-interface) .tui-search-input__clear:focus-visible {
|
|
6032
|
+
opacity: 1;
|
|
6033
|
+
color: var(--tui-color-fg);
|
|
6034
|
+
}
|
|
6035
|
+
:where(.tui-interface) .tui-search-input__submit {
|
|
6036
|
+
color: var(--tui-color-fg-secondary);
|
|
6037
|
+
}
|
|
6038
|
+
:where(.tui-interface) .tui-search-input__submit .tui-icon {
|
|
6039
|
+
font-size: 1em;
|
|
6040
|
+
}
|
|
6041
|
+
@media (hover: hover) {
|
|
6042
|
+
:where(.tui-interface) .tui-search-input__submit:hover {
|
|
6043
|
+
color: var(--tui-color-fg);
|
|
6044
|
+
}
|
|
6045
|
+
}
|
|
6046
|
+
:where(.tui-interface) .tui-search-input__submit:focus-visible {
|
|
6047
|
+
color: var(--tui-color-fg);
|
|
6048
|
+
}
|
|
5915
6049
|
:where(.tui-interface) .tui-segmented {
|
|
5916
6050
|
--_gap: var(--tui-segmented-gap, 0.5em);
|
|
5917
6051
|
--_padding: var(--tui-segmented-padding, 0.5em);
|