@floegence/floe-webapp-core 0.90.4 → 0.90.7
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/ui/Checkbox.js +17 -17
- package/dist/components/ui/Select.js +224 -205
- package/dist/language.css +4 -3
- package/dist/styles/themes/presets.js +5 -1
- package/dist/styles.css +1 -1
- package/dist/surface.css +50 -2
- package/dist/themes/shell-presets.generated.css +9 -7
- package/package.json +1 -1
package/dist/surface.css
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
.floe-field,
|
|
54
54
|
[data-floe-control],
|
|
55
55
|
[data-floe-surface-part='tab'],
|
|
56
|
+
[data-floe-choice-kind='checkbox'],
|
|
56
57
|
[data-floe-card-variant]:not([data-floe-card-variant='default'])
|
|
57
58
|
)
|
|
58
59
|
) {
|
|
@@ -332,7 +333,7 @@
|
|
|
332
333
|
:is(
|
|
333
334
|
[data-floe-card-variant='default'],
|
|
334
335
|
[data-floe-surface-part='choice'],
|
|
335
|
-
[data-floe-surface-part='indicator'],
|
|
336
|
+
[data-floe-surface-part='indicator']:not(:where([data-floe-choice-kind='checkbox'])),
|
|
336
337
|
[data-floe-surface-part='rail'],
|
|
337
338
|
[data-floe-surface-part='tab-rail'],
|
|
338
339
|
[data-floe-surface-part='segment'],
|
|
@@ -411,7 +412,7 @@
|
|
|
411
412
|
background-color: var(--floe-state-selected-strong);
|
|
412
413
|
color: var(--foreground);
|
|
413
414
|
}
|
|
414
|
-
& [data-floe-surface-part='indicator']:not([data-floe-selected='true']),
|
|
415
|
+
& [data-floe-surface-part='indicator']:not(:where([data-floe-choice-kind='checkbox'])):not([data-floe-selected='true']),
|
|
415
416
|
& [data-floe-surface-part='switch-track']:not([data-floe-selected='true']) {
|
|
416
417
|
/* The control face, not a strong outline, supplies non-text contrast. */
|
|
417
418
|
background-color: var(--muted-foreground);
|
|
@@ -688,3 +689,50 @@
|
|
|
688
689
|
[data-floe-surface-part='tab']:focus-visible { outline: 2px solid Highlight; outline-offset: -2px; }
|
|
689
690
|
[data-floe-surface-part='tab'][data-floe-tab-motion='dragging'] { border-color: Highlight; }
|
|
690
691
|
}
|
|
692
|
+
|
|
693
|
+
/* Checkbox state is carried by hollow versus solid faces, independently of
|
|
694
|
+
* the material's seams. Hover never supplies a selected-looking fill. */
|
|
695
|
+
[data-floe-choice-kind='checkbox'] {
|
|
696
|
+
border-width: 1px;
|
|
697
|
+
border-color: var(--floe-control-edge);
|
|
698
|
+
background-color: transparent;
|
|
699
|
+
--floe-surface-decoration: 0 0 transparent;
|
|
700
|
+
}
|
|
701
|
+
[data-floe-choice-kind='checkbox'][data-floe-selected='true'] {
|
|
702
|
+
border-color: var(--primary);
|
|
703
|
+
background-color: var(--primary);
|
|
704
|
+
color: var(--primary-foreground);
|
|
705
|
+
}
|
|
706
|
+
label:hover:not(:has(:disabled))
|
|
707
|
+
[data-floe-choice-kind='checkbox']:not([data-floe-selected='true']) {
|
|
708
|
+
border-color: var(--floe-control-edge-hover);
|
|
709
|
+
}
|
|
710
|
+
/* Increase the native label target without changing the indicator's scale or
|
|
711
|
+
* pushing adjacent content sideways. Hosts may associate an external label. */
|
|
712
|
+
[data-floe-checkbox-target] {
|
|
713
|
+
position: relative;
|
|
714
|
+
min-height: 24px;
|
|
715
|
+
min-width: 24px;
|
|
716
|
+
}
|
|
717
|
+
[data-floe-checkbox-target]::before {
|
|
718
|
+
content: '';
|
|
719
|
+
position: absolute;
|
|
720
|
+
inset: 0;
|
|
721
|
+
}
|
|
722
|
+
@media (pointer: coarse) {
|
|
723
|
+
[data-floe-checkbox-target] { min-height: 44px; min-width: 44px; }
|
|
724
|
+
}
|
|
725
|
+
@media (forced-colors: active) {
|
|
726
|
+
[data-floe-choice-kind='checkbox'] {
|
|
727
|
+
forced-color-adjust: none;
|
|
728
|
+
border-color: ButtonText;
|
|
729
|
+
background-color: Canvas;
|
|
730
|
+
color: CanvasText;
|
|
731
|
+
}
|
|
732
|
+
[data-floe-choice-kind='checkbox'][data-floe-selected='true'] {
|
|
733
|
+
border-color: Highlight;
|
|
734
|
+
background-color: Highlight;
|
|
735
|
+
color: HighlightText;
|
|
736
|
+
}
|
|
737
|
+
label:has(:disabled) [data-floe-choice-kind='checkbox'] { border-color: GrayText; }
|
|
738
|
+
}
|
|
@@ -786,6 +786,8 @@
|
|
|
786
786
|
--floe-progress-text-peak: rgb(91 105 108);
|
|
787
787
|
--floe-progress-primary-base: rgb(5 72 89);
|
|
788
788
|
--floe-progress-primary-white-mix: 28.0%;
|
|
789
|
+
--floe-control-edge: color-mix(in srgb, #586E75 85%, #FFFDF4);
|
|
790
|
+
--floe-control-edge-hover: #586e75;
|
|
789
791
|
}
|
|
790
792
|
:root[data-floe-shell-theme='github-light'] {
|
|
791
793
|
--floe-window-background: color-mix(in srgb, var(--card) 35%, white);
|
|
@@ -1568,7 +1570,7 @@
|
|
|
1568
1570
|
--foreground: #f8f8f2;
|
|
1569
1571
|
--inline-code-foreground: #70ddea;
|
|
1570
1572
|
--inline-code-background: #2c3631;
|
|
1571
|
-
--primary: #
|
|
1573
|
+
--primary: #fa2874;
|
|
1572
1574
|
--primary-foreground: #050604;
|
|
1573
1575
|
--secondary: #3a3b34;
|
|
1574
1576
|
--secondary-foreground: #f8f8f2;
|
|
@@ -1578,7 +1580,7 @@
|
|
|
1578
1580
|
--accent-foreground: #f8f8f2;
|
|
1579
1581
|
--border: #494a42;
|
|
1580
1582
|
--input: #7b7d6e;
|
|
1581
|
-
--ring: #
|
|
1583
|
+
--ring: #fa2874;
|
|
1582
1584
|
--chrome-border: #494a42;
|
|
1583
1585
|
--top-bar-border: #494a42;
|
|
1584
1586
|
--activity-bar-border: #494a42;
|
|
@@ -1604,16 +1606,16 @@
|
|
|
1604
1606
|
--highlight-block-tip-accent: #71c8c0;
|
|
1605
1607
|
--sidebar: #20211c;
|
|
1606
1608
|
--sidebar-foreground: #f8f8f2;
|
|
1607
|
-
--sidebar-primary: #
|
|
1609
|
+
--sidebar-primary: #fa2874;
|
|
1608
1610
|
--sidebar-primary-foreground: #050604;
|
|
1609
1611
|
--sidebar-accent: #3a3b34;
|
|
1610
1612
|
--sidebar-accent-foreground: #f8f8f2;
|
|
1611
1613
|
--sidebar-border: #494a42;
|
|
1612
|
-
--sidebar-ring: #
|
|
1614
|
+
--sidebar-ring: #fa2874;
|
|
1613
1615
|
--activity-bar: #20211c;
|
|
1614
1616
|
--activity-bar-foreground: #c5c8b5;
|
|
1615
1617
|
--activity-bar-foreground-active: #f8f8f2;
|
|
1616
|
-
--activity-bar-badge: #
|
|
1618
|
+
--activity-bar-badge: #fa2874;
|
|
1617
1619
|
--activity-bar-badge-foreground: #050604;
|
|
1618
1620
|
--terminal-background: #1d1e19;
|
|
1619
1621
|
--terminal-foreground: #f8f8f2;
|
|
@@ -1631,8 +1633,8 @@
|
|
|
1631
1633
|
--glow: #5a594e;
|
|
1632
1634
|
--floe-progress-text-base: rgb(165 165 159);
|
|
1633
1635
|
--floe-progress-text-peak: rgb(255 255 255);
|
|
1634
|
-
--floe-progress-primary-base: rgb(
|
|
1635
|
-
--floe-progress-primary-white-mix: 33.
|
|
1636
|
+
--floe-progress-primary-base: rgb(250 40 116);
|
|
1637
|
+
--floe-progress-primary-white-mix: 33.5%;
|
|
1636
1638
|
}
|
|
1637
1639
|
:root[data-floe-shell-theme='nord'] {
|
|
1638
1640
|
--floe-window-background: color-mix(in srgb, var(--card) 90%, white);
|