@volue/design-elevation 0.2.0-next.30 → 0.2.0-next.32

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,4 +1,9 @@
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
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 15 Feb 2023 21:25:56 GMT
4
+ */
5
+
6
+ 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)";
7
+ 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)";
8
+ 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)";
9
+ 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)";
@@ -1,6 +1,11 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 15 Feb 2023 21:25:56 GMT
4
+ */
5
+
1
6
  module.exports = {
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)",
7
+ "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)",
8
+ "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)",
9
+ "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)",
10
+ "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
11
  };
@@ -1,5 +1,4 @@
1
-
2
1
  @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
2
  @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
3
  @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);
4
+ @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,3 +1,7 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 15 Feb 2023 21:25:56 GMT
4
+ */
1
5
 
2
6
  :root {
3
7
  --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);
@@ -1,7 +1,6 @@
1
-
2
1
  $elevation-map: (
3
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)),
4
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)),
5
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)),
6
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)),
7
- );
6
+ );
@@ -1,4 +1,9 @@
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
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 15 Feb 2023 21:25:56 GMT
4
+ */
5
+
6
+ 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)";
7
+ 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)";
8
+ 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)";
9
+ 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)";
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 15 Feb 2023 21:25:56 GMT
4
+ */
5
+
1
6
  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
7
  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
8
  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)";
package/dist/index.scss CHANGED
@@ -1,5 +1,8 @@
1
1
 
2
+ // Do not edit directly
3
+ // Generated on Wed, 15 Feb 2023 21:25:56 GMT
4
+
2
5
  $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
6
  $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
7
  $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);
8
+ $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.30",
3
+ "version": "0.2.0-next.32",
4
4
  "description": "Shadow/elevation primitives for Volue design primitives",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -26,21 +26,19 @@
26
26
  "format": "yarn run _prettier --write",
27
27
  "test": "run-p lint \"_prettier --check\"",
28
28
  "clean": "rimraf dist",
29
- "_theo": "theo --setup theo.setup.js --transform web --dest dist",
30
- "build:tokens": "npm run _theo -s -- --format scss,json,common.js,common.d.ts,module.js,module.d.ts,custom-properties.css,cssmodules.css,html src/index.yml",
31
- "build:tokensMap": "npm run _theo -s -- --format map.scss src/elevation.yml",
32
- "build": "yarn run clean && run-p \"build:*\"",
29
+ "build:tokens": "style-dictionary build",
30
+ "build": "yarn run clean && yarn run build:tokens",
33
31
  "prepack": "yarn run build"
34
32
  },
35
33
  "devDependencies": {
36
- "eslint": "8.30.0",
34
+ "eslint": "8.34.0",
37
35
  "eslint-config-powel": "14.2.1",
38
- "eslint-import-resolver-node": "0.3.6",
39
- "eslint-plugin-import": "2.26.0",
36
+ "eslint-import-resolver-node": "0.3.7",
37
+ "eslint-plugin-import": "2.27.5",
40
38
  "npm-run-all": "4.1.5",
41
- "prettier": "2.8.1",
39
+ "prettier": "2.8.4",
42
40
  "rimraf": "3.0.2",
43
- "theo": "8.1.5",
44
- "typescript": "4.8.4"
41
+ "style-dictionary": "3.7.3-rc.1",
42
+ "typescript": "4.9.5"
45
43
  }
46
44
  }
@@ -0,0 +1,39 @@
1
+ {
2
+ "color": {
3
+ "shadow": {
4
+ "value": "0, 0%, 0%"
5
+ }
6
+ },
7
+ "elevation": {
8
+ "xs": {
9
+ "value": [
10
+ "0 1px 2.5px hsla(var(--shadow-color, {color.shadow.value}), 0.08)",
11
+ "0 3px 9px hsla(var(--shadow-color, {color.shadow.value}), 0.048)"
12
+ ]
13
+ },
14
+ "s": {
15
+ "value": [
16
+ "0 0.4px 2.2px hsla(var(--shadow-color, {color.shadow.value}), 0.022)",
17
+ "0 1.4px 5px hsla(var(--shadow-color, {color.shadow.value}), 0.04)",
18
+ "0 5px 14px hsla(var(--shadow-color, {color.shadow.value}), 0.06)"
19
+ ]
20
+ },
21
+ "m": {
22
+ "value": [
23
+ "0 0.3px 2px hsla(var(--shadow-color, {color.shadow.value}), 0.015)",
24
+ "0 1.5px 8px hsla(var(--shadow-color, {color.shadow.value}), 0.024)",
25
+ "0 4px 16px hsla(var(--shadow-color, {color.shadow.value}), 0.04)",
26
+ "0 8px 24px hsla(var(--shadow-color, {color.shadow.value}), 0.07)"
27
+ ]
28
+ },
29
+ "l": {
30
+ "value": [
31
+ "0 0.7px 2px hsla(var(--shadow-color, {color.shadow.value}), 0.015)",
32
+ "0 1.6px 8px hsla(var(--shadow-color, {color.shadow.value}), 0.024)",
33
+ "0 3.3px 16px hsla(var(--shadow-color, {color.shadow.value}), 0.034)",
34
+ "0 5px 26px hsla(var(--shadow-color, {color.shadow.value}), 0.06)",
35
+ "0 12px 42px hsla(var(--shadow-color, {color.shadow.value}), 0.08)"
36
+ ]
37
+ }
38
+ }
39
+ }
package/dist/index.html DELETED
@@ -1,204 +0,0 @@
1
-
2
- <!DOCTYPE html>
3
- <html lang="en">
4
- <head>
5
- <meta charset="utf-8" />
6
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
- <title>Design Tokens</title>
8
- <meta name="viewport" content="width=device-width, initial-scale=1" />
9
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css" />
10
- <style>
11
- html {
12
- box-sizing: border-box;
13
- font-size: 1em;
14
- font-family: Helvetica, Arial, sans-serif;
15
- line-height: 1.5;
16
- background: #fff;
17
- color: #444;
18
- }
19
- *,
20
- *:before,
21
- *:after {
22
- box-sizing: inherit;
23
- }
24
- body { font-size: .75rem; }
25
- ::-moz-selection {
26
- background: #b3d4fc;
27
- text-shadow: none;
28
- }
29
- ::selection {
30
- background: #b3d4fc;
31
- text-shadow: none;
32
- }
33
- .banner,
34
- .contentinfo { background: #f5f5f5; }
35
- .banner { padding: 1em 0; }
36
- .container {
37
- margin: 0 auto;
38
- padding: 0 2rem;
39
- max-width: 80rem;
40
- }
41
- main {
42
- margin-right: -2rem;
43
- margin-left: -2rem;
44
- padding-bottom: 2rem;
45
- }
46
- h1 {
47
- margin: 0;
48
- font-weight: normal;
49
- line-height: 1.25;
50
- }
51
- table {
52
- table-layout: fixed;
53
- border-collapse: separate;
54
- border-spacing: 1rem;
55
- width: 100%;
56
- }
57
- th,
58
- td {
59
- padding: 0 1rem;
60
- vertical-align: baseline;
61
- word-break: break-word;
62
- hyphens: auto;
63
- }
64
- th {
65
- font-weight: normal;
66
- text-align: left;
67
- }
68
- thead th {
69
- border-bottom: 1px solid #eee;
70
- padding-top: 1rem;
71
- padding-bottom: .5rem;
72
- color: #999;
73
- }
74
- thead th:first-child {
75
- font-size: 1.25rem;
76
- color: inherit;
77
- }
78
- code { font-family: monaco, Consolas, monospace, monospace; }
79
- hr {
80
- display: block;
81
- margin: 2rem 0;
82
- border: 0;
83
- border-top: 1px solid #eee;
84
- padding: 0;
85
- height: 1px;
86
- }
87
- .metric-box,
88
- .radius-box {
89
- display: inline-block;
90
- vertical-align: middle;
91
- background: #eee;
92
- }
93
- .radius-box {
94
- width: 100%;
95
- height: 3rem;
96
- }
97
- .radius-box.borderRadiusCircle {
98
- width: 3rem;
99
- }
100
- .line-height-example {
101
- border-bottom: 1px solid #eee;
102
- background-image: -webkit-linear-gradient(#eee 1px, transparent 1px);
103
- background-image: linear-gradient(#eee 1px, transparent 1px);
104
- background-size: 100% 1rem;
105
- }
106
- </style>
107
- </head>
108
- <body>
109
- <header role="banner" class="banner">
110
- <div class="container">
111
- <h1>Design Tokens</h1>
112
- </div>
113
- </header>
114
- <div class="container">
115
- <main role="main">
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
- <section>
135
- <table>
136
-
137
- <thead>
138
- <tr id=box-shadow>
139
- <th scope="col">Box Shadows</th>
140
- <th scope="col">Value</th>
141
- <th scope="col">Examples</th>
142
- <th scope="col">Usage</th>
143
- </tr>
144
- </thead>
145
-
146
- <tbody>
147
- <tr>
148
- <th scope="row">
149
- <code>elevationXs</code>
150
- </th>
151
- <td>
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
- </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
- <td></td>
156
- </tr>
157
-
158
- <tr>
159
- <th scope="row">
160
- <code>elevationS</code>
161
- </th>
162
- <td>
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
- </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
- <td></td>
167
- </tr>
168
-
169
- <tr>
170
- <th scope="row">
171
- <code>elevationM</code>
172
- </th>
173
- <td>
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
- </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
- <td></td>
178
- </tr>
179
-
180
- <tr>
181
- <th scope="row">
182
- <code>elevationL</code>
183
- </th>
184
- <td>
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
- </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
- <td></td>
189
- </tr>
190
- </tbody>
191
- </table>
192
- <hr />
193
- </section>
194
-
195
-
196
-
197
-
198
-
199
-
200
- </main>
201
- </div>
202
- </body>
203
- </html>
204
-
package/src/_aliases.yml DELETED
@@ -1,20 +0,0 @@
1
- aliases:
2
- SHADOW_COLOR: '0, 0%, 0%'
3
- ELEVATION_XS: >-
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
- ELEVATION_S: >-
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
- ELEVATION_M: >-
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)
15
- ELEVATION_L: >-
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)
package/src/elevation.yml DELETED
@@ -1,14 +0,0 @@
1
- global:
2
- type: shadow
3
- category: box-shadow
4
- imports:
5
- - ./_aliases.yml
6
- props:
7
- - name: ELEVATION_XS
8
- value: '{!ELEVATION_XS}'
9
- - name: ELEVATION_S
10
- value: '{!ELEVATION_S}'
11
- - name: ELEVATION_M
12
- value: '{!ELEVATION_M}'
13
- - name: ELEVATION_L
14
- value: '{!ELEVATION_L}'
package/src/index.yml DELETED
@@ -1,2 +0,0 @@
1
- imports:
2
- - ./elevation.yml