@momentum-design/tokens 0.0.32 → 0.0.33

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.
package/README.md CHANGED
@@ -1,14 +1,56 @@
1
1
  # @momentum-design/tokens
2
2
 
3
- [![license: mit](https://img.shields.io/badge/License-MIT-blueviolet?style=flat-square)](https://github.com/momentum-design/momentum-design/blob/design-token-updates/LICENSE)
4
- ![State](https://img.shields.io/badge/State-Alpha-blue?style=flat-square)
3
+ [![license: mit](https://img.shields.io/badge/License-MIT-blueviolet?style=flat-square)](https://github.com/momentum-design/momentum-design/blob/main/LICENSE) ![State](https://img.shields.io/badge/State-Alpha-blue?style=flat-square)
5
4
 
6
- Cisco's **momentum-design** tokens package.
5
+ ## Overview
6
+
7
+ This package contains Momentum Design Tokens as JSON, distributed in the following formats:
8
+
9
+ * **css**
10
+ * **ios swift class**
11
+ * **json**
12
+ * **minimal json**
13
+ * **android xml**
14
+ * **scss**
15
+
16
+ At this time, the Momentum Design Engineering team is not taking external requests for additional formats.
17
+
18
+ ## Installation
19
+
20
+ Installation within a NodeJS application using **yarn** or **npm** can be performed by executing the following commands relative to your workspace root.
21
+
22
+ ```bash
23
+ # With yarn.
24
+ yarn add @momentum-design/tokens
25
+
26
+ # With npm.
27
+ npm i @momentum-design/tokens
28
+ ```
29
+
30
+ If the distributables available in this application are to be consumed outside of a NodeJS application, please use use [unpkg](https://unpkg.com/) to acquire the package contents directly. All supported formats can be found by using the following routes:
31
+
32
+ ```bash
33
+ https://unpkg.com/@momentum-design/tokens@0.0.32/dist/{format}/{...additional paths}
34
+ ```
35
+
36
+ The following token distributables are available by providing the above-defined path with the following additional paths:
37
+
38
+ * **core color tokens** - `./core/complete.{extension}`
39
+ * **stable webex theme tokens** - `./theme/webex/{light|dark}-stable.{extesion}`
40
+ * **modern webex theme tokens** - `./theme/webex/{light|dark}-complete.{extension}`
7
41
 
8
42
  ## Usage
9
43
 
10
- **TODO**
44
+ Run the `build` script to create the `dist` folder, which includes tokens in various formats, see [the "Overview" section](#overview) for the current list of output formats.
45
+
46
+ ## Consumption
47
+
48
+ This package distributes transformed token assets for direct consumption within various formats and platforms. The way these are consumed can vary based on the format. Inspect the distributed contents to determine the best way to consume the artifacts based on your use case.
49
+
50
+ ## Contributing
51
+
52
+ See [our contributing guide](./CONTRIBUTING.md)
11
53
 
12
- ## Contribution
54
+ ## Scripts
13
55
 
14
- **TODO** - [Contribution Guide](./CONTRIBUTING.md)
56
+ See [our script documentation](./SCRIPTS.md)
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ * Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
  */
5
5
 
6
6
  .mds-core {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ * Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-stable-commonWebex {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ * Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-webex-dark {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ * Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-stable-darkWebex {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ * Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-webex-light {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ * Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-stable-lightWebex {
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
7
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
7
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
7
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
7
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
7
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
7
+ // Generated on Tue, 13 Dec 2022 14:39:49 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!--
4
4
  Do not edit directly
5
- Generated on Fri, 09 Dec 2022 15:04:44 GMT
5
+ Generated on Tue, 13 Dec 2022 14:39:48 GMT
6
6
  -->
7
7
  <resources>
8
8
  <string name="mds-border-radius-none">0px</string>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!--
4
4
  Do not edit directly
5
- Generated on Fri, 09 Dec 2022 15:04:44 GMT
5
+ Generated on Tue, 13 Dec 2022 14:39:48 GMT
6
6
  -->
7
7
  <resources>
8
8
  <color name="mds-color-theme-common-text-white">#fffffff2</color>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!--
4
4
  Do not edit directly
5
- Generated on Fri, 09 Dec 2022 15:04:44 GMT
5
+ Generated on Tue, 13 Dec 2022 14:39:48 GMT
6
6
  -->
7
7
  <resources>
8
8
  <color name="mds-color-theme-bg-primary">linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%)</color>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!--
4
4
  Do not edit directly
5
- Generated on Fri, 09 Dec 2022 15:04:44 GMT
5
+ Generated on Tue, 13 Dec 2022 14:39:48 GMT
6
6
  -->
7
7
  <resources>
8
8
  <color name="mds-color-theme-common-text-white">#fffffff2</color>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!--
4
4
  Do not edit directly
5
- Generated on Fri, 09 Dec 2022 15:04:44 GMT
5
+ Generated on Tue, 13 Dec 2022 14:39:48 GMT
6
6
  -->
7
7
  <resources>
8
8
  <color name="mds-color-theme-bg-primary">linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%)</color>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!--
4
4
  Do not edit directly
5
- Generated on Fri, 09 Dec 2022 15:04:44 GMT
5
+ Generated on Tue, 13 Dec 2022 14:39:49 GMT
6
6
  -->
7
7
  <resources>
8
8
  <color name="mds-color-theme-common-text-white">#fffffff2</color>
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
 
5
5
  $mds-border-radius-none: 0px;
6
6
  $mds-border-radius-small: 4px;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
 
5
5
  $mds-color-theme-common-text-white: #fffffff2;
6
6
  $mds-color-theme-common-text-gray: #ffffffb3;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
 
5
5
  $mds-color-theme-bg-primary: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
6
6
  $mds-color-theme-bg-secondary: linear-gradient(180deg, #262626 0%, #0f0f0f 100%);
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
 
5
5
  $mds-color-theme-common-text-white: #fffffff2;
6
6
  $mds-color-theme-common-text-gray: #ffffffb3;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
 
5
5
  $mds-color-theme-bg-primary: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);
6
6
  $mds-color-theme-bg-secondary: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 09 Dec 2022 15:04:44 GMT
3
+ // Generated on Tue, 13 Dec 2022 14:39:48 GMT
4
4
 
5
5
  $mds-color-theme-common-text-white: #fffffff2;
6
6
  $mds-color-theme-common-text-gray: #ffffffb3;
package/package.json CHANGED
@@ -24,5 +24,5 @@
24
24
  "@momentum-design/token-builder": "^0.0.0",
25
25
  "rimraf": "^3.0.2"
26
26
  },
27
- "version": "0.0.32"
27
+ "version": "0.0.33"
28
28
  }