@alignui/cli 0.0.1-alpha.6 → 0.0.1-alpha.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alignui/cli",
3
- "version": "0.0.1-alpha.6",
3
+ "version": "0.0.1-alpha.8",
4
4
  "description": "A command line interface to setup AlignUI",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -15,9 +15,9 @@ export function formatHslColor(hex: string): string {
15
15
  .split(', ');
16
16
 
17
17
  if (color?.alpha) {
18
- return `${h} ${s}% ${l}% / ${percentageFormat(color.alpha)}`;
18
+ return `${h} ${s} ${l} / ${percentageFormat(color.alpha)}`;
19
19
  }
20
- return `${h} ${s}% ${l}%`;
20
+ return `${h} ${s} ${l}`;
21
21
  }
22
22
 
23
23
  export function formatRgbColor(hex: string): string {
@@ -299,15 +299,15 @@ export const GLOBALS_CSS = `@tailwind base;
299
299
  --black-alpha-16: <%- black['alpha-16'] %>;
300
300
  --black-alpha-10: <%- black['alpha-10'] %>;
301
301
 
302
- --overlay: 209 84% 5% / 24%;
302
+ --overlay: <%- overlay['default-light'] %>;
303
303
 
304
- --social-apple: 0 0% 0%;
305
- --social-twitter: 0 0% 0.4%;
306
- --social-github: 210 10% 17%;
307
- --social-notion: 210 10% 14%;
308
- --social-tidal: 0 0% 0%;
309
- --social-amazon: 209 14% 25%;
310
- --social-zendesk: 38 15% 7%;
304
+ --social-apple: <%- social['apple-light'] %>;
305
+ --social-twitter: <%- social['twitter-light'] %>;
306
+ --social-github: <%- social['github-light'] %>;
307
+ --social-notion: <%- social['notion-light'] %>;
308
+ --social-tidal: <%- social['tidal-light'] %>;
309
+ --social-amazon: <%- social['amazon-light'] %>;
310
+ --social-zendesk: <%- social['zendesk-light'] %>;
311
311
 
312
312
  --primary-dark: var(--<%- primaryColor %>-800);
313
313
  --primary-darker: var(--<%- primaryColor %>-700);
@@ -466,6 +466,16 @@ export const GLOBALS_CSS = `@tailwind base;
466
466
  --stable-base: var(--teal-600);
467
467
  --stable-light: var(--teal-alpha-24);
468
468
  --stable-lighter: var(--teal-alpha-16);
469
+
470
+ --overlay: <%- overlay['default-dark'] %>;
471
+
472
+ --social-apple: <%- social['apple-dark'] %>;
473
+ --social-twitter: <%- social['twitter-dark'] %>;
474
+ --social-github: <%- social['github-dark'] %>;
475
+ --social-notion: <%- social['notion-dark'] %>;
476
+ --social-tidal: <%- social['tidal-dark'] %>;
477
+ --social-amazon: <%- social['amazon-dark'] %>;
478
+ --social-zendesk: <%- social['zendesk-dark'] %>;
469
479
  }
470
480
  /*#endregion Colors */
471
481
  }
@@ -174,6 +174,26 @@ export const rawHexColors = {
174
174
  black: '#000',
175
175
  white: '#fff',
176
176
  },
177
+ social: {
178
+ 'apple-light': '#000',
179
+ 'apple-dark': '#fff',
180
+ 'twitter-light': '#010101',
181
+ 'twitter-dark': '#fff',
182
+ 'github-light': '#24292f',
183
+ 'github-dark': '#fff',
184
+ 'notion-light': '#1e2226',
185
+ 'notion-dark': '#fff',
186
+ 'tidal-light': '#000',
187
+ 'tidal-dark': '#fff',
188
+ 'amazon-light': '#353e47',
189
+ 'amazon-dark': '#fff',
190
+ 'zendesk-light': '#16140d',
191
+ 'zendesk-dark': '#fff',
192
+ },
193
+ overlay: {
194
+ 'default-light': '#020d173d',
195
+ 'default-dark': '#52586652',
196
+ },
177
197
  };
178
198
 
179
199
  export const tailwindColorsHex = {