@rogieking/figui3 1.0.71 → 1.0.72

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 +11 -7
  2. package/package.json +1 -1
package/fig.css CHANGED
@@ -929,38 +929,42 @@ input[type="color"] {
929
929
  &::-webkit-color-swatch-wrapper {
930
930
  padding: 0;
931
931
  border: 0;
932
+ appearance: none;
932
933
  border-radius: 0.125rem;
933
934
  background: var(--checkerboard);
934
935
  overflow: hidden;
935
936
  grid-area: 1/1;
936
937
  }
937
938
 
938
- &::-moz-color-swatch {
939
- border-radius: 0.125rem;
939
+ &::-webkit-color-swatch {
940
940
  padding: 0;
941
941
  border: 0;
942
+ border-radius: 0.125rem;
942
943
  mask-image: linear-gradient(
943
944
  to right,
944
945
  black 0%,
945
946
  black 50%,
946
947
  rgba(0, 0, 0, var(--alpha)) 50%
947
948
  );
948
- border-radius: 0.125rem;
949
- box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
950
949
  }
950
+
951
+ }
951
952
 
952
- &::-webkit-color-swatch {
953
+ input[type="color"] {
954
+ &::-moz-color-swatch {
955
+ border-radius: 0.125rem;
953
956
  padding: 0;
954
957
  border: 0;
955
- border-radius: 0.125rem;
958
+ appearance: none;
956
959
  mask-image: linear-gradient(
957
960
  to right,
958
961
  black 0%,
959
962
  black 50%,
960
963
  rgba(0, 0, 0, var(--alpha)) 50%
961
964
  );
965
+ border-radius: 0.125rem;
966
+ box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
962
967
  }
963
-
964
968
  }
965
969
 
966
970
 
package/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.0.71"
3
+ "version": "1.0.72"
4
4
  }