@tangible/ui 0.2.20 → 0.2.22
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/ColorPicker/ColorField.d.ts +25 -1
- package/components/ColorPicker/ColorField.js +9 -3
- package/components/ColorPicker/index.d.ts +1 -1
- package/components/Toast/Toast.d.ts +14 -0
- package/components/Toast/Toast.js +85 -19
- package/components/index.d.ts +1 -1
- package/figma-tokens.json +237 -21
- package/icons/icons.svg +15 -0
- package/icons/manifest.json +120 -0
- package/icons/registry.d.ts +30 -0
- package/icons/registry.js +15 -0
- package/icons/system/index.d.ts +30 -0
- package/icons/system/index.js +165 -0
- package/package.json +9 -1
- package/skills/building-with-tui/SKILL.md +13 -0
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +65 -24
- package/styles/all.expanded.unlayered.css +65 -24
- package/styles/all.unlayered.css +1 -1
- package/styles/components/color-picker.scss +58 -4
- package/styles/components/content-indicator.scss +1 -1
- package/styles/components/date-picker.scss +14 -0
- package/styles/components/toast.scss +16 -0
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/index.scss +7 -1
- package/styles/system/_palettes.scss +19 -1
- package/styles/system/_tokens.scss +7 -7
- package/tui-manifest.json +9 -4
- package/utils/color/contrast.d.ts +17 -0
- package/utils/color/contrast.js +26 -0
package/styles/all.expanded.css
CHANGED
|
@@ -650,10 +650,10 @@
|
|
|
650
650
|
and elevated sit a step above it, mirroring light (white faces on an
|
|
651
651
|
off-white surface). Previously bg/surface were inverted, so faces read
|
|
652
652
|
darker than the page behind them. */
|
|
653
|
-
--tui-color-bg: #
|
|
654
|
-
--tui-color-bg-surface: #
|
|
655
|
-
--tui-color-bg-muted: #
|
|
656
|
-
--tui-color-bg-elevated: #
|
|
653
|
+
--tui-color-bg: #0c121f;
|
|
654
|
+
--tui-color-bg-surface: #080d17;
|
|
655
|
+
--tui-color-bg-muted: #111928;
|
|
656
|
+
--tui-color-bg-elevated: #111928;
|
|
657
657
|
--tui-color-bg-inverted: #F9FAFB;
|
|
658
658
|
--tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
|
|
659
659
|
/* Text */
|
|
@@ -663,18 +663,18 @@
|
|
|
663
663
|
--tui-color-fg-on-accent: #fff;
|
|
664
664
|
--tui-color-fg-inverted: #111928;
|
|
665
665
|
/* Borders */
|
|
666
|
-
--tui-color-border: #
|
|
666
|
+
--tui-color-border: #2b3443;
|
|
667
667
|
--tui-color-divider: #202836;
|
|
668
668
|
/* Control fills */
|
|
669
|
-
--tui-color-fill-subtle: #
|
|
670
|
-
--tui-color-fill: #
|
|
669
|
+
--tui-color-fill-subtle: #111928;
|
|
670
|
+
--tui-color-fill: #202836;
|
|
671
671
|
--tui-color-fill-strong: #4B5563;
|
|
672
672
|
/* Input chrome */
|
|
673
673
|
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23F9FAFB' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
674
674
|
/* Theme colors - adjust for dark mode contrast */
|
|
675
675
|
--tui-theme-primary-base: #3858e9;
|
|
676
676
|
--tui-theme-primary-soft: #2942d1;
|
|
677
|
-
--tui-theme-primary-strong: #
|
|
677
|
+
--tui-theme-primary-strong: #5879f9;
|
|
678
678
|
--tui-theme-primary-stronger: #7b93ff;
|
|
679
679
|
--tui-theme-primary-strongest: #a0b5fe;
|
|
680
680
|
--tui-theme-primary-subtlest: #090949;
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
--tui-theme-info-subtle: #101375;
|
|
701
701
|
--tui-theme-info-soft: #2942d1;
|
|
702
702
|
--tui-theme-info-base: #3858e9;
|
|
703
|
-
--tui-theme-info-strong: #
|
|
703
|
+
--tui-theme-info-strong: #5879f9;
|
|
704
704
|
--tui-theme-info-stronger: #7b93ff;
|
|
705
705
|
--tui-theme-info-strongest: #a0b5fe;
|
|
706
706
|
/* Warning */
|
|
@@ -764,10 +764,10 @@
|
|
|
764
764
|
and elevated sit a step above it, mirroring light (white faces on an
|
|
765
765
|
off-white surface). Previously bg/surface were inverted, so faces read
|
|
766
766
|
darker than the page behind them. */
|
|
767
|
-
--tui-color-bg: #
|
|
768
|
-
--tui-color-bg-surface: #
|
|
769
|
-
--tui-color-bg-muted: #
|
|
770
|
-
--tui-color-bg-elevated: #
|
|
767
|
+
--tui-color-bg: #0c121f;
|
|
768
|
+
--tui-color-bg-surface: #080d17;
|
|
769
|
+
--tui-color-bg-muted: #111928;
|
|
770
|
+
--tui-color-bg-elevated: #111928;
|
|
771
771
|
--tui-color-bg-inverted: #F9FAFB;
|
|
772
772
|
--tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
|
|
773
773
|
/* Text */
|
|
@@ -777,18 +777,18 @@
|
|
|
777
777
|
--tui-color-fg-on-accent: #fff;
|
|
778
778
|
--tui-color-fg-inverted: #111928;
|
|
779
779
|
/* Borders */
|
|
780
|
-
--tui-color-border: #
|
|
780
|
+
--tui-color-border: #2b3443;
|
|
781
781
|
--tui-color-divider: #202836;
|
|
782
782
|
/* Control fills */
|
|
783
|
-
--tui-color-fill-subtle: #
|
|
784
|
-
--tui-color-fill: #
|
|
783
|
+
--tui-color-fill-subtle: #111928;
|
|
784
|
+
--tui-color-fill: #202836;
|
|
785
785
|
--tui-color-fill-strong: #4B5563;
|
|
786
786
|
/* Input chrome */
|
|
787
787
|
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23F9FAFB' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
788
788
|
/* Theme colors - adjust for dark mode contrast */
|
|
789
789
|
--tui-theme-primary-base: #3858e9;
|
|
790
790
|
--tui-theme-primary-soft: #2942d1;
|
|
791
|
-
--tui-theme-primary-strong: #
|
|
791
|
+
--tui-theme-primary-strong: #5879f9;
|
|
792
792
|
--tui-theme-primary-stronger: #7b93ff;
|
|
793
793
|
--tui-theme-primary-strongest: #a0b5fe;
|
|
794
794
|
--tui-theme-primary-subtlest: #090949;
|
|
@@ -814,7 +814,7 @@
|
|
|
814
814
|
--tui-theme-info-subtle: #101375;
|
|
815
815
|
--tui-theme-info-soft: #2942d1;
|
|
816
816
|
--tui-theme-info-base: #3858e9;
|
|
817
|
-
--tui-theme-info-strong: #
|
|
817
|
+
--tui-theme-info-strong: #5879f9;
|
|
818
818
|
--tui-theme-info-stronger: #7b93ff;
|
|
819
819
|
--tui-theme-info-strongest: #a0b5fe;
|
|
820
820
|
/* Warning */
|
|
@@ -844,7 +844,7 @@
|
|
|
844
844
|
--tui-motion-duration: 0ms;
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
|
-
.tui-interface {
|
|
847
|
+
:where(.tui-interface) {
|
|
848
848
|
--tui-spacing-base: 4px;
|
|
849
849
|
--tui-palette-spacing-1: calc(var(--tui-spacing-base) * 1);
|
|
850
850
|
--tui-palette-spacing-2: calc(var(--tui-spacing-base) * 2);
|
|
@@ -2631,8 +2631,8 @@
|
|
|
2631
2631
|
gap: var(--tui-spacing-xxs);
|
|
2632
2632
|
min-height: var(--tui-control-height-md, 2.5rem);
|
|
2633
2633
|
padding-inline: var(--tui-spacing-xxs);
|
|
2634
|
-
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2635
|
-
border-radius: var(--tui-radius-md);
|
|
2634
|
+
border: var(--tui-border-width) solid var(--tui-input-border, var(--tui-color-border));
|
|
2635
|
+
border-radius: var(--tui-input-radius, var(--tui-radius-md));
|
|
2636
2636
|
background: var(--tui-input-bg, var(--tui-color-bg-surface));
|
|
2637
2637
|
font-size: var(--tui-typography-size-xs);
|
|
2638
2638
|
}
|
|
@@ -2714,8 +2714,8 @@
|
|
|
2714
2714
|
min-block-size: var(--tui-control-height-md, 2.5rem);
|
|
2715
2715
|
padding: var(--tui-spacing-xxs);
|
|
2716
2716
|
padding-inline-end: var(--tui-spacing-sm);
|
|
2717
|
-
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2718
|
-
border-radius: var(--tui-radius-md);
|
|
2717
|
+
border: var(--tui-border-width) solid var(--tui-input-border, var(--tui-color-border));
|
|
2718
|
+
border-radius: var(--tui-input-radius, var(--tui-radius-md));
|
|
2719
2719
|
background: var(--tui-input-bg, var(--tui-color-bg-surface));
|
|
2720
2720
|
color: var(--tui-color-fg);
|
|
2721
2721
|
font: inherit;
|
|
@@ -2733,6 +2733,15 @@
|
|
|
2733
2733
|
.tui-interface .tui-color-field.is-swatch-only {
|
|
2734
2734
|
padding-inline-end: var(--tui-spacing-xxs);
|
|
2735
2735
|
}
|
|
2736
|
+
.tui-interface .tui-color-field.is-label-only {
|
|
2737
|
+
padding-inline-start: var(--tui-spacing-sm);
|
|
2738
|
+
}
|
|
2739
|
+
.tui-interface .tui-color-field.is-variant-bare {
|
|
2740
|
+
padding: 0;
|
|
2741
|
+
border: 0;
|
|
2742
|
+
background: transparent;
|
|
2743
|
+
min-block-size: 0;
|
|
2744
|
+
}
|
|
2736
2745
|
.tui-interface .tui-color-field:hover {
|
|
2737
2746
|
border-color: var(--tui-color-border-strong, var(--tui-color-border));
|
|
2738
2747
|
}
|
|
@@ -2766,6 +2775,16 @@
|
|
|
2766
2775
|
.tui-interface .tui-color-field.is-size-lg .tui-color-field__swatch {
|
|
2767
2776
|
--_size: calc(var(--tui-control-height-lg, 3rem) - 2 * var(--tui-spacing-xxs) - 2 * var(--tui-border-width));
|
|
2768
2777
|
}
|
|
2778
|
+
.tui-interface .tui-color-field.is-variant-bare .tui-color-field__swatch {
|
|
2779
|
+
--_size: var(--tui-control-height-md, 2.5rem);
|
|
2780
|
+
border-radius: inherit;
|
|
2781
|
+
}
|
|
2782
|
+
.tui-interface .tui-color-field.is-variant-bare.is-size-sm .tui-color-field__swatch {
|
|
2783
|
+
--_size: var(--tui-control-height-sm, 2rem);
|
|
2784
|
+
}
|
|
2785
|
+
.tui-interface .tui-color-field.is-variant-bare.is-size-lg .tui-color-field__swatch {
|
|
2786
|
+
--_size: var(--tui-control-height-lg, 3rem);
|
|
2787
|
+
}
|
|
2769
2788
|
.tui-interface .tui-color-field__swatch-icon {
|
|
2770
2789
|
font-size: 1.25rem;
|
|
2771
2790
|
color: var(--_swatch-icon, #fff);
|
|
@@ -2790,6 +2809,9 @@
|
|
|
2790
2809
|
max-inline-size: calc(100vw - 2rem);
|
|
2791
2810
|
}
|
|
2792
2811
|
@media (forced-colors: active) {
|
|
2812
|
+
.tui-interface .tui-color-field.is-variant-bare {
|
|
2813
|
+
border: var(--tui-border-width) solid ButtonText;
|
|
2814
|
+
}
|
|
2793
2815
|
.tui-interface .tui-color-area:focus-visible,
|
|
2794
2816
|
.tui-interface .tui-color-slider:focus-visible {
|
|
2795
2817
|
outline-color: Highlight;
|
|
@@ -3307,7 +3329,7 @@
|
|
|
3307
3329
|
color: var(--tui-color-fg-on-accent);
|
|
3308
3330
|
}
|
|
3309
3331
|
:where(.tui-interface) .tui-content-indicator.is-theme-default {
|
|
3310
|
-
--_border: var(--tui-color-
|
|
3332
|
+
--_border: var(--tui-color-fg-muted);
|
|
3311
3333
|
--_fg: var(--tui-color-fg-muted);
|
|
3312
3334
|
}
|
|
3313
3335
|
:where(.tui-interface) .tui-content-indicator.is-theme-info {
|
|
@@ -3402,6 +3424,14 @@
|
|
|
3402
3424
|
:where(.tui-interface) .tui-calendar__cell.is-outside .tui-calendar__day {
|
|
3403
3425
|
color: var(--tui-color-fg-muted);
|
|
3404
3426
|
}
|
|
3427
|
+
:where(.tui-interface) .tui-calendar__cell.is-outside:where(.is-today, .is-in-range) .tui-calendar__day {
|
|
3428
|
+
color: var(--tui-color-fg-secondary);
|
|
3429
|
+
}
|
|
3430
|
+
@media (hover: hover) {
|
|
3431
|
+
:where(.tui-interface) .tui-calendar__cell.is-outside .tui-calendar__day:where(:hover) {
|
|
3432
|
+
color: var(--tui-color-fg-secondary);
|
|
3433
|
+
}
|
|
3434
|
+
}
|
|
3405
3435
|
:where(.tui-interface) .tui-calendar__cell.is-today .tui-calendar__day {
|
|
3406
3436
|
background-color: var(--_today-bg);
|
|
3407
3437
|
}
|
|
@@ -7619,6 +7649,17 @@
|
|
|
7619
7649
|
:where(.tui-interface) .tui-toast-region.is-placement-top-end, :where(.tui-interface) .tui-toast-region.is-placement-bottom-end {
|
|
7620
7650
|
inset-inline-end: 0;
|
|
7621
7651
|
}
|
|
7652
|
+
:where(.tui-interface) .tui-toast-region__announcer {
|
|
7653
|
+
position: absolute;
|
|
7654
|
+
width: 1px;
|
|
7655
|
+
height: 1px;
|
|
7656
|
+
padding: 0;
|
|
7657
|
+
margin: -1px;
|
|
7658
|
+
overflow: hidden;
|
|
7659
|
+
clip: rect(0 0 0 0);
|
|
7660
|
+
white-space: nowrap;
|
|
7661
|
+
border: 0;
|
|
7662
|
+
}
|
|
7622
7663
|
.tui-interface .tui-toast {
|
|
7623
7664
|
--tui-notice-fg: var(--tui-toast-fg, var(--tui-color-fg));
|
|
7624
7665
|
--tui-notice-foot-basis: max-content;
|
|
@@ -650,10 +650,10 @@
|
|
|
650
650
|
and elevated sit a step above it, mirroring light (white faces on an
|
|
651
651
|
off-white surface). Previously bg/surface were inverted, so faces read
|
|
652
652
|
darker than the page behind them. */
|
|
653
|
-
--tui-color-bg: #
|
|
654
|
-
--tui-color-bg-surface: #
|
|
655
|
-
--tui-color-bg-muted: #
|
|
656
|
-
--tui-color-bg-elevated: #
|
|
653
|
+
--tui-color-bg: #0c121f;
|
|
654
|
+
--tui-color-bg-surface: #080d17;
|
|
655
|
+
--tui-color-bg-muted: #111928;
|
|
656
|
+
--tui-color-bg-elevated: #111928;
|
|
657
657
|
--tui-color-bg-inverted: #F9FAFB;
|
|
658
658
|
--tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
|
|
659
659
|
/* Text */
|
|
@@ -663,18 +663,18 @@
|
|
|
663
663
|
--tui-color-fg-on-accent: #fff;
|
|
664
664
|
--tui-color-fg-inverted: #111928;
|
|
665
665
|
/* Borders */
|
|
666
|
-
--tui-color-border: #
|
|
666
|
+
--tui-color-border: #2b3443;
|
|
667
667
|
--tui-color-divider: #202836;
|
|
668
668
|
/* Control fills */
|
|
669
|
-
--tui-color-fill-subtle: #
|
|
670
|
-
--tui-color-fill: #
|
|
669
|
+
--tui-color-fill-subtle: #111928;
|
|
670
|
+
--tui-color-fill: #202836;
|
|
671
671
|
--tui-color-fill-strong: #4B5563;
|
|
672
672
|
/* Input chrome */
|
|
673
673
|
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23F9FAFB' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
674
674
|
/* Theme colors - adjust for dark mode contrast */
|
|
675
675
|
--tui-theme-primary-base: #3858e9;
|
|
676
676
|
--tui-theme-primary-soft: #2942d1;
|
|
677
|
-
--tui-theme-primary-strong: #
|
|
677
|
+
--tui-theme-primary-strong: #5879f9;
|
|
678
678
|
--tui-theme-primary-stronger: #7b93ff;
|
|
679
679
|
--tui-theme-primary-strongest: #a0b5fe;
|
|
680
680
|
--tui-theme-primary-subtlest: #090949;
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
--tui-theme-info-subtle: #101375;
|
|
701
701
|
--tui-theme-info-soft: #2942d1;
|
|
702
702
|
--tui-theme-info-base: #3858e9;
|
|
703
|
-
--tui-theme-info-strong: #
|
|
703
|
+
--tui-theme-info-strong: #5879f9;
|
|
704
704
|
--tui-theme-info-stronger: #7b93ff;
|
|
705
705
|
--tui-theme-info-strongest: #a0b5fe;
|
|
706
706
|
/* Warning */
|
|
@@ -764,10 +764,10 @@
|
|
|
764
764
|
and elevated sit a step above it, mirroring light (white faces on an
|
|
765
765
|
off-white surface). Previously bg/surface were inverted, so faces read
|
|
766
766
|
darker than the page behind them. */
|
|
767
|
-
--tui-color-bg: #
|
|
768
|
-
--tui-color-bg-surface: #
|
|
769
|
-
--tui-color-bg-muted: #
|
|
770
|
-
--tui-color-bg-elevated: #
|
|
767
|
+
--tui-color-bg: #0c121f;
|
|
768
|
+
--tui-color-bg-surface: #080d17;
|
|
769
|
+
--tui-color-bg-muted: #111928;
|
|
770
|
+
--tui-color-bg-elevated: #111928;
|
|
771
771
|
--tui-color-bg-inverted: #F9FAFB;
|
|
772
772
|
--tui-color-bg-overlay: rgba(0, 0, 0, 0.7);
|
|
773
773
|
/* Text */
|
|
@@ -777,18 +777,18 @@
|
|
|
777
777
|
--tui-color-fg-on-accent: #fff;
|
|
778
778
|
--tui-color-fg-inverted: #111928;
|
|
779
779
|
/* Borders */
|
|
780
|
-
--tui-color-border: #
|
|
780
|
+
--tui-color-border: #2b3443;
|
|
781
781
|
--tui-color-divider: #202836;
|
|
782
782
|
/* Control fills */
|
|
783
|
-
--tui-color-fill-subtle: #
|
|
784
|
-
--tui-color-fill: #
|
|
783
|
+
--tui-color-fill-subtle: #111928;
|
|
784
|
+
--tui-color-fill: #202836;
|
|
785
785
|
--tui-color-fill-strong: #4B5563;
|
|
786
786
|
/* Input chrome */
|
|
787
787
|
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23F9FAFB' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
788
788
|
/* Theme colors - adjust for dark mode contrast */
|
|
789
789
|
--tui-theme-primary-base: #3858e9;
|
|
790
790
|
--tui-theme-primary-soft: #2942d1;
|
|
791
|
-
--tui-theme-primary-strong: #
|
|
791
|
+
--tui-theme-primary-strong: #5879f9;
|
|
792
792
|
--tui-theme-primary-stronger: #7b93ff;
|
|
793
793
|
--tui-theme-primary-strongest: #a0b5fe;
|
|
794
794
|
--tui-theme-primary-subtlest: #090949;
|
|
@@ -814,7 +814,7 @@
|
|
|
814
814
|
--tui-theme-info-subtle: #101375;
|
|
815
815
|
--tui-theme-info-soft: #2942d1;
|
|
816
816
|
--tui-theme-info-base: #3858e9;
|
|
817
|
-
--tui-theme-info-strong: #
|
|
817
|
+
--tui-theme-info-strong: #5879f9;
|
|
818
818
|
--tui-theme-info-stronger: #7b93ff;
|
|
819
819
|
--tui-theme-info-strongest: #a0b5fe;
|
|
820
820
|
/* Warning */
|
|
@@ -844,7 +844,7 @@
|
|
|
844
844
|
--tui-motion-duration: 0ms;
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
|
-
.tui-interface {
|
|
847
|
+
:where(.tui-interface) {
|
|
848
848
|
--tui-spacing-base: 4px;
|
|
849
849
|
--tui-palette-spacing-1: calc(var(--tui-spacing-base) * 1);
|
|
850
850
|
--tui-palette-spacing-2: calc(var(--tui-spacing-base) * 2);
|
|
@@ -2631,8 +2631,8 @@
|
|
|
2631
2631
|
gap: var(--tui-spacing-xxs);
|
|
2632
2632
|
min-height: var(--tui-control-height-md, 2.5rem);
|
|
2633
2633
|
padding-inline: var(--tui-spacing-xxs);
|
|
2634
|
-
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2635
|
-
border-radius: var(--tui-radius-md);
|
|
2634
|
+
border: var(--tui-border-width) solid var(--tui-input-border, var(--tui-color-border));
|
|
2635
|
+
border-radius: var(--tui-input-radius, var(--tui-radius-md));
|
|
2636
2636
|
background: var(--tui-input-bg, var(--tui-color-bg-surface));
|
|
2637
2637
|
font-size: var(--tui-typography-size-xs);
|
|
2638
2638
|
}
|
|
@@ -2714,8 +2714,8 @@
|
|
|
2714
2714
|
min-block-size: var(--tui-control-height-md, 2.5rem);
|
|
2715
2715
|
padding: var(--tui-spacing-xxs);
|
|
2716
2716
|
padding-inline-end: var(--tui-spacing-sm);
|
|
2717
|
-
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2718
|
-
border-radius: var(--tui-radius-md);
|
|
2717
|
+
border: var(--tui-border-width) solid var(--tui-input-border, var(--tui-color-border));
|
|
2718
|
+
border-radius: var(--tui-input-radius, var(--tui-radius-md));
|
|
2719
2719
|
background: var(--tui-input-bg, var(--tui-color-bg-surface));
|
|
2720
2720
|
color: var(--tui-color-fg);
|
|
2721
2721
|
font: inherit;
|
|
@@ -2733,6 +2733,15 @@
|
|
|
2733
2733
|
.tui-interface .tui-color-field.is-swatch-only {
|
|
2734
2734
|
padding-inline-end: var(--tui-spacing-xxs);
|
|
2735
2735
|
}
|
|
2736
|
+
.tui-interface .tui-color-field.is-label-only {
|
|
2737
|
+
padding-inline-start: var(--tui-spacing-sm);
|
|
2738
|
+
}
|
|
2739
|
+
.tui-interface .tui-color-field.is-variant-bare {
|
|
2740
|
+
padding: 0;
|
|
2741
|
+
border: 0;
|
|
2742
|
+
background: transparent;
|
|
2743
|
+
min-block-size: 0;
|
|
2744
|
+
}
|
|
2736
2745
|
.tui-interface .tui-color-field:hover {
|
|
2737
2746
|
border-color: var(--tui-color-border-strong, var(--tui-color-border));
|
|
2738
2747
|
}
|
|
@@ -2766,6 +2775,16 @@
|
|
|
2766
2775
|
.tui-interface .tui-color-field.is-size-lg .tui-color-field__swatch {
|
|
2767
2776
|
--_size: calc(var(--tui-control-height-lg, 3rem) - 2 * var(--tui-spacing-xxs) - 2 * var(--tui-border-width));
|
|
2768
2777
|
}
|
|
2778
|
+
.tui-interface .tui-color-field.is-variant-bare .tui-color-field__swatch {
|
|
2779
|
+
--_size: var(--tui-control-height-md, 2.5rem);
|
|
2780
|
+
border-radius: inherit;
|
|
2781
|
+
}
|
|
2782
|
+
.tui-interface .tui-color-field.is-variant-bare.is-size-sm .tui-color-field__swatch {
|
|
2783
|
+
--_size: var(--tui-control-height-sm, 2rem);
|
|
2784
|
+
}
|
|
2785
|
+
.tui-interface .tui-color-field.is-variant-bare.is-size-lg .tui-color-field__swatch {
|
|
2786
|
+
--_size: var(--tui-control-height-lg, 3rem);
|
|
2787
|
+
}
|
|
2769
2788
|
.tui-interface .tui-color-field__swatch-icon {
|
|
2770
2789
|
font-size: 1.25rem;
|
|
2771
2790
|
color: var(--_swatch-icon, #fff);
|
|
@@ -2790,6 +2809,9 @@
|
|
|
2790
2809
|
max-inline-size: calc(100vw - 2rem);
|
|
2791
2810
|
}
|
|
2792
2811
|
@media (forced-colors: active) {
|
|
2812
|
+
.tui-interface .tui-color-field.is-variant-bare {
|
|
2813
|
+
border: var(--tui-border-width) solid ButtonText;
|
|
2814
|
+
}
|
|
2793
2815
|
.tui-interface .tui-color-area:focus-visible,
|
|
2794
2816
|
.tui-interface .tui-color-slider:focus-visible {
|
|
2795
2817
|
outline-color: Highlight;
|
|
@@ -3307,7 +3329,7 @@
|
|
|
3307
3329
|
color: var(--tui-color-fg-on-accent);
|
|
3308
3330
|
}
|
|
3309
3331
|
:where(.tui-interface) .tui-content-indicator.is-theme-default {
|
|
3310
|
-
--_border: var(--tui-color-
|
|
3332
|
+
--_border: var(--tui-color-fg-muted);
|
|
3311
3333
|
--_fg: var(--tui-color-fg-muted);
|
|
3312
3334
|
}
|
|
3313
3335
|
:where(.tui-interface) .tui-content-indicator.is-theme-info {
|
|
@@ -3402,6 +3424,14 @@
|
|
|
3402
3424
|
:where(.tui-interface) .tui-calendar__cell.is-outside .tui-calendar__day {
|
|
3403
3425
|
color: var(--tui-color-fg-muted);
|
|
3404
3426
|
}
|
|
3427
|
+
:where(.tui-interface) .tui-calendar__cell.is-outside:where(.is-today, .is-in-range) .tui-calendar__day {
|
|
3428
|
+
color: var(--tui-color-fg-secondary);
|
|
3429
|
+
}
|
|
3430
|
+
@media (hover: hover) {
|
|
3431
|
+
:where(.tui-interface) .tui-calendar__cell.is-outside .tui-calendar__day:where(:hover) {
|
|
3432
|
+
color: var(--tui-color-fg-secondary);
|
|
3433
|
+
}
|
|
3434
|
+
}
|
|
3405
3435
|
:where(.tui-interface) .tui-calendar__cell.is-today .tui-calendar__day {
|
|
3406
3436
|
background-color: var(--_today-bg);
|
|
3407
3437
|
}
|
|
@@ -7619,6 +7649,17 @@
|
|
|
7619
7649
|
:where(.tui-interface) .tui-toast-region.is-placement-top-end, :where(.tui-interface) .tui-toast-region.is-placement-bottom-end {
|
|
7620
7650
|
inset-inline-end: 0;
|
|
7621
7651
|
}
|
|
7652
|
+
:where(.tui-interface) .tui-toast-region__announcer {
|
|
7653
|
+
position: absolute;
|
|
7654
|
+
width: 1px;
|
|
7655
|
+
height: 1px;
|
|
7656
|
+
padding: 0;
|
|
7657
|
+
margin: -1px;
|
|
7658
|
+
overflow: hidden;
|
|
7659
|
+
clip: rect(0 0 0 0);
|
|
7660
|
+
white-space: nowrap;
|
|
7661
|
+
border: 0;
|
|
7662
|
+
}
|
|
7622
7663
|
.tui-interface .tui-toast {
|
|
7623
7664
|
--tui-notice-fg: var(--tui-toast-fg, var(--tui-color-fg));
|
|
7624
7665
|
--tui-notice-foot-basis: max-content;
|