@rogieking/figui3 1.0.29 → 1.0.30
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/fig.css +32 -32
- package/package.json +1 -1
package/fig.css
CHANGED
|
@@ -551,38 +551,6 @@ input[type="number"],
|
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
|
|
554
|
-
/* Segmented control */
|
|
555
|
-
.segmented-control,
|
|
556
|
-
fig-segmented-control {
|
|
557
|
-
background-color: var(--figma-color-bg-secondary);
|
|
558
|
-
border: 0;
|
|
559
|
-
border-radius: var(--radius-medium);
|
|
560
|
-
min-width: 6rem;
|
|
561
|
-
height: 1.5rem;
|
|
562
|
-
padding: 1px;
|
|
563
|
-
gap: 0;
|
|
564
|
-
display: inline-flex;
|
|
565
|
-
align-items: stretch;
|
|
566
|
-
|
|
567
|
-
& > fig-segment,
|
|
568
|
-
& > label {
|
|
569
|
-
flex: 1;
|
|
570
|
-
display: flex;
|
|
571
|
-
align-items: center;
|
|
572
|
-
justify-content: center;
|
|
573
|
-
position: relative;
|
|
574
|
-
appearance: none;
|
|
575
|
-
padding: 0 var(--spacer-2);
|
|
576
|
-
|
|
577
|
-
&[selected]:not([selected="false"]),
|
|
578
|
-
&[selected="true"] {
|
|
579
|
-
background-color: var(--figma-color-bg);
|
|
580
|
-
border-radius: calc(var(--radius-medium) - 1px);
|
|
581
|
-
box-shadow: var(--handle-shadow);
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
|
|
586
554
|
/* Textarea */
|
|
587
555
|
textarea {
|
|
588
556
|
min-height: 2rem;
|
|
@@ -1908,6 +1876,38 @@ fig-spinner {
|
|
|
1908
1876
|
animation: fig-spinner-spin 1s linear infinite;
|
|
1909
1877
|
}
|
|
1910
1878
|
|
|
1879
|
+
/* Segmented control */
|
|
1880
|
+
.segmented-control,
|
|
1881
|
+
fig-segmented-control {
|
|
1882
|
+
background-color: var(--figma-color-bg-secondary);
|
|
1883
|
+
border: 0;
|
|
1884
|
+
border-radius: var(--radius-medium);
|
|
1885
|
+
min-width: 6rem;
|
|
1886
|
+
height: 1.5rem;
|
|
1887
|
+
padding: 1px;
|
|
1888
|
+
gap: 0;
|
|
1889
|
+
display: inline-flex;
|
|
1890
|
+
align-items: stretch;
|
|
1891
|
+
|
|
1892
|
+
& > fig-segment,
|
|
1893
|
+
& > label {
|
|
1894
|
+
flex: 1;
|
|
1895
|
+
display: flex;
|
|
1896
|
+
align-items: center;
|
|
1897
|
+
justify-content: center;
|
|
1898
|
+
position: relative;
|
|
1899
|
+
appearance: none;
|
|
1900
|
+
padding: 0 var(--spacer-2);
|
|
1901
|
+
|
|
1902
|
+
&[selected]:not([selected="false"]),
|
|
1903
|
+
&[selected="true"] {
|
|
1904
|
+
background-color: var(--figma-color-bg);
|
|
1905
|
+
border-radius: calc(var(--radius-medium) - 1px);
|
|
1906
|
+
box-shadow: var(--handle-shadow);
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
1911
|
/* Utilities */
|
|
1912
1912
|
|
|
1913
1913
|
@keyframes fig-spinner-spin {
|
package/package.json
CHANGED