@volue/design-elevation 0.2.0-next.15 → 0.2.0-next.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.
@@ -1,7 +1,7 @@
1
1
 
2
2
  $elevation-map: (
3
- 'elevation-xs': (0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4)),
4
- 'elevation-s': (1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077)),
5
- 'elevation-m': (1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096)),
6
- 'elevation-l': (1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09)),
3
+ 'elevation-xs': (0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)),
4
+ 'elevation-s': (0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)),
5
+ 'elevation-m': (0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)),
6
+ 'elevation-l': (0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)),
7
7
  );
@@ -1,4 +1,4 @@
1
- export declare const elevationXs = "0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4)";
2
- export declare const elevationS = "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077)";
3
- export declare const elevationM = "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096)";
4
- export declare const elevationL = "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09)";
1
+ export declare const elevationXs = "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)";
2
+ export declare const elevationS = "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)";
3
+ export declare const elevationM = "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)";
4
+ export declare const elevationL = "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)";
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
- elevationXs: "0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4)",
3
- elevationS: "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077)",
4
- elevationM: "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096)",
5
- elevationL: "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09)",
2
+ elevationXs: "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)",
3
+ elevationS: "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)",
4
+ elevationM: "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)",
5
+ elevationL: "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)",
6
6
  };
@@ -1,5 +1,5 @@
1
1
 
2
- @value elevation-xs: 0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4);
3
- @value elevation-s: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077);
4
- @value elevation-m: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096);
5
- @value elevation-l: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09);
2
+ @value elevation-xs: 0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);
3
+ @value elevation-s: 0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2);
4
+ @value elevation-m: 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24);
5
+ @value elevation-l: 0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3);
@@ -1,7 +1,7 @@
1
1
 
2
2
  :root {
3
- --elevation-xs: 0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4);
4
- --elevation-s: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077);
5
- --elevation-m: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096);
6
- --elevation-l: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09);
3
+ --elevation-xs: 0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);
4
+ --elevation-s: 0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2);
5
+ --elevation-m: 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24);
6
+ --elevation-l: 0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3);
7
7
  }
package/dist/index.html CHANGED
@@ -149,9 +149,9 @@
149
149
  <code>elevationXs</code>
150
150
  </th>
151
151
  <td>
152
- <code>0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4)</code>
152
+ <code>0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)</code>
153
153
  </td>
154
- <td style="box-shadow: 0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4);"></td>
154
+ <td style="box-shadow: 0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);"></td>
155
155
  <td></td>
156
156
  </tr>
157
157
 
@@ -160,9 +160,9 @@
160
160
  <code>elevationS</code>
161
161
  </th>
162
162
  <td>
163
- <code>1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077)</code>
163
+ <code>0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)</code>
164
164
  </td>
165
- <td style="box-shadow: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077);"></td>
165
+ <td style="box-shadow: 0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2);"></td>
166
166
  <td></td>
167
167
  </tr>
168
168
 
@@ -171,9 +171,9 @@
171
171
  <code>elevationM</code>
172
172
  </th>
173
173
  <td>
174
- <code>1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096)</code>
174
+ <code>0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)</code>
175
175
  </td>
176
- <td style="box-shadow: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096);"></td>
176
+ <td style="box-shadow: 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24);"></td>
177
177
  <td></td>
178
178
  </tr>
179
179
 
@@ -182,9 +182,9 @@
182
182
  <code>elevationL</code>
183
183
  </th>
184
184
  <td>
185
- <code>1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09)</code>
185
+ <code>0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)</code>
186
186
  </td>
187
- <td style="box-shadow: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09);"></td>
187
+ <td style="box-shadow: 0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3);"></td>
188
188
  <td></td>
189
189
  </tr>
190
190
  </tbody>
package/dist/index.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "ELEVATION_XS": "0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4)",
3
- "ELEVATION_S": "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077)",
4
- "ELEVATION_M": "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096)",
5
- "ELEVATION_L": "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09)"
2
+ "ELEVATION_XS": "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)",
3
+ "ELEVATION_S": "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)",
4
+ "ELEVATION_M": "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)",
5
+ "ELEVATION_L": "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)"
6
6
  }
@@ -1,4 +1,4 @@
1
- export declare const elevationXs = "0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4)";
2
- export declare const elevationS = "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077)";
3
- export declare const elevationM = "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096)";
4
- export declare const elevationL = "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09)";
1
+ export declare const elevationXs = "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)";
2
+ export declare const elevationS = "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)";
3
+ export declare const elevationM = "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)";
4
+ export declare const elevationL = "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)";
@@ -1,4 +1,4 @@
1
- export const elevationXs = "0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4)";
2
- export const elevationS = "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077)";
3
- export const elevationM = "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096)";
4
- export const elevationL = "1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09)";
1
+ export const elevationXs = "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)";
2
+ export const elevationS = "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)";
3
+ export const elevationM = "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)";
4
+ export const elevationL = "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)";
package/dist/index.scss CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- $elevation-xs: 0.5px 1px 1px hsla(var(--shadow-color, 0, 0%, 50%), 0.4);
3
- $elevation-s: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.109), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.077);
4
- $elevation-m: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.046), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.053), 3px 6px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.068), 6px 12px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.096);
5
- $elevation-l: 1px 2px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.04), 2px 4px 4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 4px 8px 8px hsla(var(--shadow-color, 0, 0%, 50%), 0.064), 8px 16px 16px hsla(var(--shadow-color, 0, 0%, 50%), 0.077), 16px 32px 24px hsla(var(--shadow-color, 0, 0%, 50%), 0.09);
2
+ $elevation-xs: 0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);
3
+ $elevation-s: 0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2);
4
+ $elevation-m: 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24);
5
+ $elevation-l: 0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volue/design-elevation",
3
- "version": "0.2.0-next.15",
3
+ "version": "0.2.0-next.16",
4
4
  "description": "Shadow/elevation primitives for Volue design primitives",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
package/src/_aliases.yml CHANGED
@@ -1,17 +1,18 @@
1
1
  aliases:
2
2
  SHADOW_COLOR: '0, 0%, 50%'
3
- ELEVATION_XS: '0.5px 1px 1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.4)'
3
+ ELEVATION_XS: >-
4
+ 0 0.1px 0.3px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.14),
5
+ 0 1px 2px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.28)
4
6
  ELEVATION_S: >-
5
- 1px 2px 2px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.109),
6
- 2px 4px 4px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.077)
7
+ 0 0.3px 0.4px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.05),
8
+ 0 0.9px 1.5px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.1),
9
+ 0 3.5px 6px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.2)
7
10
  ELEVATION_M: >-
8
- 1px 2px 2px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.046),
9
- 2px 4px 4px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.053),
10
- 3px 6px 6px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.068),
11
- 6px 12px 24px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.096)
11
+ 0 0.9px 1.5px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.06),
12
+ 0 3.1px 5.5px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.16),
13
+ 0 14px 25px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.24)
12
14
  ELEVATION_L: >-
13
- 1px 2px 2px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.04),
14
- 2px 4px 4px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.05),
15
- 4px 8px 8px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.064),
16
- 8px 16px 16px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.077),
17
- 16px 32px 24px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.09)
15
+ 0 1.2px 1.9px -1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.028),
16
+ 0 3.3px 5.3px -1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.076),
17
+ 0 8.5px 12.7px -1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.17),
18
+ 0 30px 42px -1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.3)