@rogieking/figui3 1.0.72 → 1.0.73

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 -13
  2. package/package.json +1 -1
package/fig.css CHANGED
@@ -934,11 +934,13 @@ input[type="color"] {
934
934
  background: var(--checkerboard);
935
935
  overflow: hidden;
936
936
  grid-area: 1/1;
937
+ outline: 0;
937
938
  }
938
939
 
939
940
  &::-webkit-color-swatch {
940
941
  padding: 0;
941
942
  border: 0;
943
+ box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
942
944
  border-radius: 0.125rem;
943
945
  mask-image: linear-gradient(
944
946
  to right,
@@ -1012,11 +1014,11 @@ fig-chit {
1012
1014
  border-radius: var(--radius-medium);
1013
1015
  }
1014
1016
 
1015
- input[type="color"]::-moz-color-swatch {
1017
+ input[type="color"]::-webkit-color-swatch {
1016
1018
  border-radius: var(--radius-medium);
1017
1019
  }
1018
1020
 
1019
- input[type="color"]::-webkit-color-swatch {
1021
+ input[type="color"]::-moz-color-swatch {
1020
1022
  border-radius: var(--radius-medium);
1021
1023
  }
1022
1024
  }
@@ -1050,17 +1052,7 @@ fig-chit {
1050
1052
  opacity: 0;
1051
1053
  }
1052
1054
  }
1053
- &[type="color"]{
1054
- &::after {
1055
- content: "";
1056
- width: 0.875rem;
1057
- height: 0.875rem;
1058
- grid-area: 1/1;
1059
- place-self: center;
1060
- border-radius: 0.125rem;
1061
- box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
1062
- }
1063
- }
1055
+
1064
1056
  &[type="image"] {
1065
1057
  &:not([src])::after {
1066
1058
  background: var(--checkerboard);
package/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.0.72"
3
+ "version": "1.0.73"
4
4
  }