@volue/design-elevation 0.2.0-next.21 → 0.2.0-next.24

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 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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)),
3
+ 'elevation-xs': (0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048)),
4
+ 'elevation-s': (0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06)),
5
+ 'elevation-m': (0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07)),
6
+ 'elevation-l': (0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08)),
7
7
  );
@@ -1,4 +1,4 @@
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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)";
1
+ export declare const elevationXs = "0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048)";
2
+ export declare const elevationS = "0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06)";
3
+ export declare const elevationM = "0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07)";
4
+ export declare const elevationL = "0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08)";
@@ -1,6 +1,6 @@
1
1
  module.exports = {
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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)",
2
+ elevationXs: "0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048)",
3
+ elevationS: "0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06)",
4
+ elevationM: "0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07)",
5
+ elevationL: "0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08)",
6
6
  };
@@ -1,5 +1,5 @@
1
1
 
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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);
2
+ @value elevation-xs: 0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048);
3
+ @value elevation-s: 0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06);
4
+ @value elevation-m: 0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07);
5
+ @value elevation-l: 0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08);
@@ -1,7 +1,7 @@
1
1
 
2
2
  :root {
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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);
3
+ --elevation-xs: 0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048);
4
+ --elevation-s: 0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06);
5
+ --elevation-m: 0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07);
6
+ --elevation-l: 0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08);
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 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>
152
+ <code>0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048)</code>
153
153
  </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>
154
+ <td style="box-shadow: 0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048);"></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>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>
163
+ <code>0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06)</code>
164
164
  </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>
165
+ <td style="box-shadow: 0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06);"></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>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>
174
+ <code>0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07)</code>
175
175
  </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>
176
+ <td style="box-shadow: 0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07);"></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>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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)</code>
185
+ <code>0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08)</code>
186
186
  </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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);"></td>
187
+ <td style="box-shadow: 0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08);"></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 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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)"
2
+ "ELEVATION_XS": "0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048)",
3
+ "ELEVATION_S": "0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06)",
4
+ "ELEVATION_M": "0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07)",
5
+ "ELEVATION_L": "0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08)"
6
6
  }
@@ -1,4 +1,4 @@
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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)";
1
+ export declare const elevationXs = "0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048)";
2
+ export declare const elevationS = "0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06)";
3
+ export declare const elevationM = "0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07)";
4
+ export declare const elevationL = "0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08)";
@@ -1,4 +1,4 @@
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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)";
1
+ export const elevationXs = "0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048)";
2
+ export const elevationS = "0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06)";
3
+ export const elevationM = "0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07)";
4
+ export const elevationL = "0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08)";
package/dist/index.scss CHANGED
@@ -1,5 +1,5 @@
1
1
 
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 28px 40px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);
2
+ $elevation-xs: 0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048);
3
+ $elevation-s: 0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06);
4
+ $elevation-m: 0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07);
5
+ $elevation-l: 0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volue/design-elevation",
3
- "version": "0.2.0-next.21",
3
+ "version": "0.2.0-next.24",
4
4
  "description": "Shadow/elevation primitives for Volue design primitives",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "prepack": "yarn run build"
34
34
  },
35
35
  "devDependencies": {
36
- "eslint": "8.18.0",
36
+ "eslint": "8.22.0",
37
37
  "eslint-config-powel": "14.2.1",
38
38
  "eslint-import-resolver-node": "0.3.6",
39
39
  "eslint-plugin-import": "2.26.0",
package/src/_aliases.yml CHANGED
@@ -1,18 +1,20 @@
1
1
  aliases:
2
- SHADOW_COLOR: '0, 0%, 50%'
2
+ SHADOW_COLOR: '0, 0%, 0%'
3
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
+ 0 1px 2.5px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.08),
5
+ 0 3px 9px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.048)
6
6
  ELEVATION_S: >-
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
+ 0 0.4px 2.2px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.022),
8
+ 0 1.4px 5px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.04),
9
+ 0 5px 14px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.06)
10
10
  ELEVATION_M: >-
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)
11
+ 0 0.3px 2px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.015),
12
+ 0 1.5px 8px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.024),
13
+ 0 4px 16px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.04),
14
+ 0 8px 24px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.07)
14
15
  ELEVATION_L: >-
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 28px 40px -1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.28)
16
+ 0 0.7px 2px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.015),
17
+ 0 1.6px 8px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.024),
18
+ 0 3.3px 16px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.034),
19
+ 0 5px 26px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.06),
20
+ 0 12px 42px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.08)