@rogieking/figui3 1.0.15 → 1.0.16
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 +2 -0
- package/fig.js +2 -1
- package/package.json +1 -1
package/fig.css
CHANGED
|
@@ -616,6 +616,7 @@ input[type=button] {
|
|
|
616
616
|
color: var(--figma-color-text-onbrand);
|
|
617
617
|
border-radius: var(--radius-medium);
|
|
618
618
|
font-weight: 500;
|
|
619
|
+
box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
|
|
619
620
|
|
|
620
621
|
&:active {
|
|
621
622
|
background-color: var(--figma-color-bg-brand-pressed);
|
|
@@ -1213,6 +1214,7 @@ fig-slider {
|
|
|
1213
1214
|
bottom: 0;
|
|
1214
1215
|
border-radius: 0.5rem;
|
|
1215
1216
|
min-width: var(--slider-height);
|
|
1217
|
+
box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
|
|
1216
1218
|
width: calc(var(--slider-percent) + (1 - var(--slider-complete)) * var(--slider-height));
|
|
1217
1219
|
max-width: 100%;
|
|
1218
1220
|
}
|
package/fig.js
CHANGED
|
@@ -21,11 +21,12 @@ class FigButton extends HTMLElement {
|
|
|
21
21
|
button, button:hover, button:active {
|
|
22
22
|
padding: 0;
|
|
23
23
|
appearance: none;
|
|
24
|
-
display:
|
|
24
|
+
display: flex;
|
|
25
25
|
border: 0;
|
|
26
26
|
font: inherit;
|
|
27
27
|
color: inherit;
|
|
28
28
|
outline: 0;
|
|
29
|
+
place-items: center;
|
|
29
30
|
background: transparent;
|
|
30
31
|
}
|
|
31
32
|
</style>
|
package/package.json
CHANGED