@rogieking/figui3 1.7.6 → 1.7.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.
Files changed (2) hide show
  1. package/components.css +6 -8
  2. package/package.json +1 -1
package/components.css CHANGED
@@ -421,6 +421,7 @@
421
421
  --handle-shadow: 0px 0 0 0.75px rgba(0, 0, 0, 0.05),
422
422
  0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 3px 8px 0px rgba(0, 0, 0, 0.05),
423
423
  0px 0px 0.5px 0px rgba(0, 0, 0, 0.1), var(--figma-elevation-200);
424
+ --handle-color: #fff;
424
425
 
425
426
  --popover-min-width: 15rem;
426
427
  --figma-color-bg-ghost-hover: rgba(0, 0, 0, 0.05);
@@ -1311,7 +1312,7 @@ input[type="checkbox"].switch {
1311
1312
 
1312
1313
  input[type="checkbox"].switch:after {
1313
1314
  content: "";
1314
- background-color: var(--figma-color-icon-onbrand);
1315
+ background-color: var(--handle-color);
1315
1316
  width: calc(1rem - 2px);
1316
1317
  height: calc(1rem - 2px);
1317
1318
  border-radius: 0.5rem;
@@ -1553,15 +1554,14 @@ details {
1553
1554
  fig-slider {
1554
1555
  --slider-field-height: 1.5rem;
1555
1556
  --slider-height: 1rem;
1556
- --slider-handle-color: #fff;
1557
1557
  --slider-thumb-size: var(--slider-height);
1558
1558
  --slider-percent: calc(var(--slider-complete) * 100%);
1559
1559
  --start-percent: calc(var(--default, 0) * 100%);
1560
1560
  --slider-tick-size: calc(var(--slider-height) / 4);
1561
1561
  --slider-handle-shadow: inset 0 0 0 calc(4px + 0.5rem * var(--unchanged))
1562
- var(--slider-handle-color),
1562
+ var(--handle-color),
1563
1563
  inset 0 0 0 5px rgba(0, 0, 0, 0.1), var(--figma-elevation-200);
1564
- --slider-handle-shadow-focus: inset 0 0 0 4px var(--slider-handle-color),
1564
+ --slider-handle-shadow-focus: inset 0 0 0 4px var(--handle-color),
1565
1565
  inset 0 0 0 5px rgba(0, 0, 0, 0.1), 0px 0 0 0.75px rgba(0, 0, 0, 0.1),
1566
1566
  0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 3px 8px 0px rgba(0, 0, 0, 0.1),
1567
1567
  0px 0px 0.5px 0px rgba(0, 0, 0, 0.18),
@@ -1842,7 +1842,7 @@ fig-slider {
1842
1842
  --handle-transition: none;
1843
1843
  --slider-transition: none;
1844
1844
  --slider-handle-shadow: inset 0 0 0 calc(6px + 0.5rem * var(--unchanged))
1845
- var(--slider-handle-color),
1845
+ var(--handle-color),
1846
1846
  0 0 0 0.75px rgba(0, 0, 0, 0.075), inset 0 0 0 5px rgba(0, 0, 0, 0.1),
1847
1847
  var(--figma-elevation-200);
1848
1848
 
@@ -2391,7 +2391,6 @@ fig-segmented-control {
2391
2391
 
2392
2392
  fig-input-joystick {
2393
2393
  --size: 1.5rem;
2394
- --joystick-handle-color: #fff;
2395
2394
  display: inline-flex;
2396
2395
  gap: var(--spacer-2);
2397
2396
  user-select: none;
@@ -2481,7 +2480,7 @@ fig-input-joystick {
2481
2480
  z-index: 1;
2482
2481
  width: 0.5rem;
2483
2482
  height: 0.5rem;
2484
- background: var(--joystick-handle-color);
2483
+ background: var(--handle-color);
2485
2484
  box-shadow: var(--handle-shadow);
2486
2485
  border-radius: 50%;
2487
2486
  transform: translate(-50%, -50%);
@@ -2490,7 +2489,6 @@ fig-input-joystick {
2490
2489
 
2491
2490
  fig-input-angle {
2492
2491
  --size: 1.5rem;
2493
- --handle-color: #fff;
2494
2492
  display: inline-flex;
2495
2493
  gap: var(--spacer-2);
2496
2494
  user-select: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {