@rogieking/figui3 1.1.9 → 1.2.0

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/fig.css +5 -4
  2. package/package.json +1 -1
package/fig.css CHANGED
@@ -1462,6 +1462,9 @@ fig-slider {
1462
1462
  display: block;
1463
1463
  width: 100%;
1464
1464
  transition: var(--slider-transition);
1465
+ background: var(--figma-color-bg-secondary);
1466
+ border-radius: 0.5rem;
1467
+ box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
1465
1468
 
1466
1469
  /* Track */
1467
1470
  &::before {
@@ -1559,6 +1562,7 @@ fig-slider {
1559
1562
  width: 100%;
1560
1563
  background-color: transparent;
1561
1564
  transition: var(--slider-transition);
1565
+ position: relative;
1562
1566
 
1563
1567
  &:active::-webkit-slider-thumb {
1564
1568
  cursor: grabbing;
@@ -1609,8 +1613,6 @@ fig-slider {
1609
1613
  background-color: transparent;
1610
1614
  transition: var(--slider-transition);
1611
1615
  border-radius: calc(var(--slider-height) / 2);
1612
- box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
1613
- background: var(--figma-color-bg-secondary);
1614
1616
  }
1615
1617
 
1616
1618
  &.hue::-webkit-slider-runnable-track {
@@ -1633,6 +1635,7 @@ fig-slider {
1633
1635
  width: 100%;
1634
1636
  background-color: transparent;
1635
1637
  transition: var(--slider-transition);
1638
+ position: relative;
1636
1639
 
1637
1640
  &:focus {
1638
1641
  outline: none;
@@ -1681,8 +1684,6 @@ fig-slider {
1681
1684
  height: var(--slider-height);
1682
1685
  background-color: transparent;
1683
1686
  border-radius: calc(var(--slider-height) / 2);
1684
- box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
1685
- background: var(--figma-color-bg-secondary);
1686
1687
  transition: var(--slider-transition);
1687
1688
  }
1688
1689
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.1.9",
3
+ "version": "1.2.0",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {