@new-ui/colors 1.1.0 → 1.2.0

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,7 +1,7 @@
1
1
  ![](help/cover.png)
2
2
 
3
3
  ## Install
4
- Install New UI Colors from your terminal via npm. Current version is 1.1.0
4
+ Install New UI Colors from your terminal via npm. Current version is 1.2.0
5
5
 
6
6
  ```
7
7
  npm i @new-ui/colors
@@ -11,24 +11,24 @@ To get started quickly, you can use the CDN files.
11
11
 
12
12
  Light themes:
13
13
  ```html
14
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.1.0/dist/themes/light.min.css">
14
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.2.0/dist/themes/light.min.css">
15
15
  ```
16
16
  ```html
17
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.1.0/dist/themes/light-warm.min.css">
17
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.2.0/dist/themes/light-warm.min.css">
18
18
  ```
19
19
  ```html
20
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.1.0/dist/themes/light-cold.min.css">
20
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.2.0/dist/themes/light-cold.min.css">
21
21
  ```
22
22
 
23
23
  Dark themes:
24
24
  ```html
25
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.1.0/dist/themes/dark.min.css">
25
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.2.0/dist/themes/dark.min.css">
26
26
  ```
27
27
  ```html
28
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.1.0/dist/themes/dark-warm.min.css">
28
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.2.0/dist/themes/dark-warm.min.css">
29
29
  ```
30
30
  ```html
31
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.1.0/dist/themes/dark-cold.min.css">
31
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@1.2.0/dist/themes/dark-cold.min.css">
32
32
  ```
33
33
 
34
34
  ## Build
package/build-tokens.js CHANGED
@@ -2,7 +2,7 @@ const StyleDictionary = require("style-dictionary");
2
2
  const args = require("minimist")(process.argv.slice(2));
3
3
  const theme = args.theme ? args.theme : "primary";
4
4
 
5
- console.log(`🚧 Compiling tokens with the ${theme.toUpperCase()} theme`);
5
+ console.log(`Compiling tokens with the ${theme.toUpperCase()} theme ...`);
6
6
 
7
7
  const getStyleDictionaryConfig = (theme) => {
8
8
  return {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 21 Dec 2022 20:53:22 GMT
3
+ * Generated on Mon, 26 Dec 2022 09:03:08 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -162,7 +162,7 @@
162
162
  --button-primary-hover: var(--blue3);
163
163
  --button-primary: var(--blue4);
164
164
  --border-strong: var(--cold5);
165
- --border-default: var(--cold7);
165
+ --border: var(--cold7);
166
166
  --border-muted: var(--cold9);
167
167
  --background-brown: var(--brown8);
168
168
  --background-pink: var(--pink8);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 21 Dec 2022 20:53:16 GMT
3
+ * Generated on Mon, 26 Dec 2022 09:03:03 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -162,7 +162,7 @@
162
162
  --button-primary-hover: var(--blue3);
163
163
  --button-primary: var(--blue4);
164
164
  --border-strong: var(--warm5);
165
- --border-default: var(--warm7);
165
+ --border: var(--warm7);
166
166
  --border-muted: var(--warm9);
167
167
  --background-brown: var(--brown8);
168
168
  --background-pink: var(--pink8);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 21 Dec 2022 20:53:11 GMT
3
+ * Generated on Mon, 26 Dec 2022 09:02:59 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -162,7 +162,7 @@
162
162
  --button-primary-hover: var(--blue3);
163
163
  --button-primary: var(--blue4);
164
164
  --border-strong: var(--grey5);
165
- --border-default: var(--grey7);
165
+ --border: var(--grey7);
166
166
  --border-muted: var(--grey9);
167
167
  --background-brown: var(--brown8);
168
168
  --background-pink: var(--pink8);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 21 Dec 2022 20:53:06 GMT
3
+ * Generated on Mon, 26 Dec 2022 09:02:55 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -162,7 +162,7 @@
162
162
  --button-primary-hover: var(--blue6);
163
163
  --button-primary: var(--blue5);
164
164
  --border-strong: var(--cold6);
165
- --border-default: var(--cold4);
165
+ --border: var(--cold4);
166
166
  --border-muted: var(--cold2);
167
167
  --background-brown: var(--brown1);
168
168
  --background-pink: var(--pink1);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 21 Dec 2022 20:53:01 GMT
3
+ * Generated on Mon, 26 Dec 2022 09:02:49 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -162,7 +162,7 @@
162
162
  --button-primary-hover: var(--blue6);
163
163
  --button-primary: var(--blue5);
164
164
  --border-strong: var(--warm6);
165
- --border-default: var(--warm4);
165
+ --border: var(--warm4);
166
166
  --border-muted: var(--warm2);
167
167
  --background-brown: var(--brown1);
168
168
  --background-pink: var(--pink1);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 21 Dec 2022 20:52:56 GMT
3
+ * Generated on Mon, 26 Dec 2022 09:02:40 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -162,7 +162,7 @@
162
162
  --button-primary-hover: var(--blue6);
163
163
  --button-primary: var(--blue5);
164
164
  --border-strong: var(--grey6);
165
- --border-default: var(--grey4);
165
+ --border: var(--grey4);
166
166
  --border-muted: var(--grey2);
167
167
  --background-brown: var(--brown1);
168
168
  --background-pink: var(--pink1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@new-ui/colors",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Colors are now one less thing to worry about.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -71,7 +71,7 @@
71
71
  "value": "{$grey9}",
72
72
  "type": "color"
73
73
  },
74
- "$border-default": {
74
+ "$border": {
75
75
  "value": "{$grey7}",
76
76
  "type": "color"
77
77
  },
@@ -71,7 +71,7 @@
71
71
  "value": "{$cold9}",
72
72
  "type": "color"
73
73
  },
74
- "$border-default": {
74
+ "$border": {
75
75
  "value": "{$cold7}",
76
76
  "type": "color"
77
77
  },
@@ -71,7 +71,7 @@
71
71
  "value": "{$warm9}",
72
72
  "type": "color"
73
73
  },
74
- "$border-default": {
74
+ "$border": {
75
75
  "value": "{$warm7}",
76
76
  "type": "color"
77
77
  },
@@ -71,7 +71,7 @@
71
71
  "value": "{$grey2}",
72
72
  "type": "color"
73
73
  },
74
- "$border-default": {
74
+ "$border": {
75
75
  "value": "{$grey4}",
76
76
  "type": "color"
77
77
  },
@@ -71,7 +71,7 @@
71
71
  "value": "{$cold2}",
72
72
  "type": "color"
73
73
  },
74
- "$border-default": {
74
+ "$border": {
75
75
  "value": "{$cold4}",
76
76
  "type": "color"
77
77
  },
@@ -71,7 +71,7 @@
71
71
  "value": "{$warm2}",
72
72
  "type": "color"
73
73
  },
74
- "$border-default": {
74
+ "$border": {
75
75
  "value": "{$warm4}",
76
76
  "type": "color"
77
77
  },