@bolio-ui/core 1.0.6 → 1.0.7

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.
Files changed (64) hide show
  1. package/dist/Avatar/index.js +7 -6
  2. package/dist/Badge/index.js +7 -6
  3. package/dist/BolioUIProvider/index.js +7 -6
  4. package/dist/Breadcrumbs/index.js +7 -6
  5. package/dist/Button/index.js +7 -6
  6. package/dist/ButtonDropdown/index.js +7 -6
  7. package/dist/ButtonGroup/index.js +7 -6
  8. package/dist/Capacity/index.js +7 -6
  9. package/dist/Card/index.js +7 -6
  10. package/dist/Checkbox/index.js +7 -6
  11. package/dist/Code/index.js +7 -6
  12. package/dist/Collapse/index.js +7 -6
  13. package/dist/Container/index.js +3 -3
  14. package/dist/CssBaseline/index.js +3 -3
  15. package/dist/Description/index.js +7 -6
  16. package/dist/Display/index.js +7 -6
  17. package/dist/Divider/index.js +7 -6
  18. package/dist/Dot/Dot.d.ts +1 -0
  19. package/dist/Dot/index.js +17 -14
  20. package/dist/Drawer/index.js +7 -6
  21. package/dist/Fieldset/index.js +7 -6
  22. package/dist/Grid/index.js +7 -6
  23. package/dist/Image/index.js +7 -6
  24. package/dist/Input/index.js +8 -7
  25. package/dist/Keyboard/index.js +7 -6
  26. package/dist/Link/index.js +7 -6
  27. package/dist/Loading/index.js +7 -6
  28. package/dist/MdxWidgets/index.js +3 -3
  29. package/dist/Modal/index.js +7 -6
  30. package/dist/Note/index.js +7 -6
  31. package/dist/Page/index.js +7 -6
  32. package/dist/Pagination/index.js +7 -6
  33. package/dist/Popover/index.js +7 -6
  34. package/dist/Progress/index.js +7 -6
  35. package/dist/Radio/index.js +7 -6
  36. package/dist/Rating/index.js +7 -6
  37. package/dist/Row/index.js +3 -3
  38. package/dist/Section/index.js +7 -6
  39. package/dist/Select/index.js +7 -6
  40. package/dist/Slider/index.js +7 -6
  41. package/dist/Snippet/index.js +7 -6
  42. package/dist/Spacer/index.js +7 -6
  43. package/dist/Spinner/index.js +7 -6
  44. package/dist/Table/index.js +7 -6
  45. package/dist/Tabs/index.js +7 -6
  46. package/dist/Tag/index.js +7 -6
  47. package/dist/Text/index.js +7 -6
  48. package/dist/Textarea/index.js +8 -7
  49. package/dist/Themes/index.js +3 -3
  50. package/dist/Toggle/index.js +7 -6
  51. package/dist/Tooltip/index.js +7 -6
  52. package/dist/index.js +18 -15
  53. package/dist/use-all-themes/index.js +3 -3
  54. package/dist/use-media-query/index.js +3 -3
  55. package/dist/use-scale/index.js +7 -6
  56. package/dist/use-theme/index.js +3 -3
  57. package/esm/Dot/Dot.d.ts +1 -0
  58. package/esm/Dot/Dot.js +10 -8
  59. package/esm/Input/styles.js +1 -1
  60. package/esm/Themes/Presets/Dark.js +2 -2
  61. package/esm/Themes/Presets/Default.js +1 -1
  62. package/esm/use-scale/utils.js +4 -3
  63. package/examples/create-redwoodjs/.redwood/README.md +44 -0
  64. package/package.json +19 -19
package/dist/Dot/Dot.d.ts CHANGED
@@ -4,6 +4,7 @@ export declare type DotTypes = NormalTypes;
4
4
  interface Props {
5
5
  type?: DotTypes;
6
6
  className?: string;
7
+ color?: string;
7
8
  }
8
9
  declare type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props>;
9
10
  export declare type DotProps = Props & NativeAttrs;
package/dist/Dot/index.js CHANGED
@@ -243,7 +243,7 @@ var palette$1 = {
243
243
  accents_8: '#111',
244
244
  selection: '#cee4fe',
245
245
  code: '#C25FFF',
246
- border: '#999',
246
+ border: '#eaeaea',
247
247
  primary: '#0072F6',
248
248
  primaryLight: '#96C1F3',
249
249
  primaryLighter: '#CEE4FF',
@@ -310,7 +310,7 @@ var palette = {
310
310
  accents_8: '#fafafa',
311
311
  selection: '#f81ce5',
312
312
  code: '#C25FFF',
313
- border: '#444',
313
+ border: '#333',
314
314
  primary: '#0072F6',
315
315
  primaryLight: '#96C1F3',
316
316
  primaryLighter: '#CEE4FF',
@@ -338,7 +338,7 @@ var palette = {
338
338
  purple: '#f81ce5',
339
339
  alert: '#ff0080',
340
340
  link: '#3291ff',
341
- pre: '#363450'
341
+ pre: '#111'
342
342
  };
343
343
  var expressiveness = {
344
344
  linkStyle: 'none',
@@ -538,9 +538,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
538
538
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
539
539
  var key = _step2.value;
540
540
  var value = props[key];
541
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
542
- // scaleProps[key as keyof ScaleProps] = value as any
543
- // }
541
+
542
+ if (typeof value !== 'undefined') {
543
+ scaleProps[key] = value;
544
+ }
544
545
  }
545
546
  } catch (err) {
546
547
  _iterator2.e(err);
@@ -704,7 +705,7 @@ var useClasses = function useClasses() {
704
705
 
705
706
  var useClasses$1 = useClasses;
706
707
 
707
- var _excluded = ["type", "children", "className"];
708
+ var _excluded = ["type", "children", "className", "color"];
708
709
 
709
710
  var getColor = function getColor(type, theme) {
710
711
  var colors = {
@@ -725,6 +726,8 @@ function DotComponent(_ref) {
725
726
  children = _ref.children,
726
727
  _ref$className = _ref.className,
727
728
  className = _ref$className === void 0 ? '' : _ref$className,
729
+ _ref$color = _ref.color,
730
+ color = _ref$color === void 0 ? '' : _ref$color,
728
731
  props = _objectWithoutProperties(_ref, _excluded);
729
732
 
730
733
  var theme = useTheme();
@@ -732,19 +735,19 @@ function DotComponent(_ref) {
732
735
  var _useScale = useScale(),
733
736
  SCALES = _useScale.SCALES;
734
737
 
735
- var color = React.useMemo(function () {
738
+ var typeColor = React.useMemo(function () {
736
739
  return getColor(type, theme);
737
740
  }, [type, theme]);
738
741
  return /*#__PURE__*/React__default["default"].createElement("span", _extends({}, props, {
739
- className: styledJsx_cjs.style.dynamic([["870607818", [SCALES.font(1), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), color]]]) + " " + (props && props.className != null && props.className || useClasses$1('dot', className) || "")
742
+ className: styledJsx_cjs.style.dynamic([["1863610765", [SCALES.font(1), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), color ? color : typeColor]]]) + " " + (props && props.className != null && props.className || useClasses$1('dot', className) || "")
740
743
  }), /*#__PURE__*/React__default["default"].createElement("span", {
741
- className: styledJsx_cjs.style.dynamic([["870607818", [SCALES.font(1), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), color]]]) + " " + "icon"
744
+ className: styledJsx_cjs.style.dynamic([["1863610765", [SCALES.font(1), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), color ? color : typeColor]]]) + " " + "icon"
742
745
  }), /*#__PURE__*/React__default["default"].createElement("span", {
743
- className: styledJsx_cjs.style.dynamic([["870607818", [SCALES.font(1), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), color]]]) + " " + "label"
746
+ className: styledJsx_cjs.style.dynamic([["1863610765", [SCALES.font(1), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), color ? color : typeColor]]]) + " " + "label"
744
747
  }, children), /*#__PURE__*/React__default["default"].createElement(styledJsx_cjs.style, {
745
- id: "870607818",
746
- dynamic: [SCALES.font(1), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), color]
747
- }, ".dot.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:".concat(SCALES.font(1), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.icon.__jsx-style-dynamic-selector{width:0.625em;height:0.625em;min-width:calc(0.625 * 12px);min-height:calc(0.625 * 12px);line-height:0.625em;border-radius:50%;background-color:").concat(color, ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.label.__jsx-style-dynamic-selector{margin-left:0.5em;font-size:1em;line-height:1em;text-transform:capitalize;}")));
748
+ id: "1863610765",
749
+ dynamic: [SCALES.font(1), SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), color ? color : typeColor]
750
+ }, ".dot.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:".concat(SCALES.font(1), ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.icon.__jsx-style-dynamic-selector{width:0.625em;height:0.625em;min-width:calc(0.625 * 12px);min-height:calc(0.625 * 12px);line-height:0.625em;border-radius:50%;background-color:").concat(color ? color : typeColor, ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.label.__jsx-style-dynamic-selector{margin-left:0.5em;font-size:1em;line-height:1em;text-transform:capitalize;}")));
748
751
  }
749
752
 
750
753
  DotComponent.displayName = 'BolioUIDot';
@@ -323,7 +323,7 @@ var palette$1 = {
323
323
  accents_8: '#111',
324
324
  selection: '#cee4fe',
325
325
  code: '#C25FFF',
326
- border: '#999',
326
+ border: '#eaeaea',
327
327
  primary: '#0072F6',
328
328
  primaryLight: '#96C1F3',
329
329
  primaryLighter: '#CEE4FF',
@@ -390,7 +390,7 @@ var palette = {
390
390
  accents_8: '#fafafa',
391
391
  selection: '#f81ce5',
392
392
  code: '#C25FFF',
393
- border: '#444',
393
+ border: '#333',
394
394
  primary: '#0072F6',
395
395
  primaryLight: '#96C1F3',
396
396
  primaryLighter: '#CEE4FF',
@@ -418,7 +418,7 @@ var palette = {
418
418
  purple: '#f81ce5',
419
419
  alert: '#ff0080',
420
420
  link: '#3291ff',
421
- pre: '#363450'
421
+ pre: '#111'
422
422
  };
423
423
  var expressiveness = {
424
424
  linkStyle: 'none',
@@ -602,9 +602,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
602
602
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
603
603
  var key = _step2.value;
604
604
  var value = props[key];
605
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
606
- // scaleProps[key as keyof ScaleProps] = value as any
607
- // }
605
+
606
+ if (typeof value !== 'undefined') {
607
+ scaleProps[key] = value;
608
+ }
608
609
  }
609
610
  } catch (err) {
610
611
  _iterator2.e(err);
@@ -301,7 +301,7 @@ var palette$1 = {
301
301
  accents_8: '#111',
302
302
  selection: '#cee4fe',
303
303
  code: '#C25FFF',
304
- border: '#999',
304
+ border: '#eaeaea',
305
305
  primary: '#0072F6',
306
306
  primaryLight: '#96C1F3',
307
307
  primaryLighter: '#CEE4FF',
@@ -368,7 +368,7 @@ var palette = {
368
368
  accents_8: '#fafafa',
369
369
  selection: '#f81ce5',
370
370
  code: '#C25FFF',
371
- border: '#444',
371
+ border: '#333',
372
372
  primary: '#0072F6',
373
373
  primaryLight: '#96C1F3',
374
374
  primaryLighter: '#CEE4FF',
@@ -396,7 +396,7 @@ var palette = {
396
396
  purple: '#f81ce5',
397
397
  alert: '#ff0080',
398
398
  link: '#3291ff',
399
- pre: '#363450'
399
+ pre: '#111'
400
400
  };
401
401
  var expressiveness = {
402
402
  linkStyle: 'none',
@@ -693,9 +693,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
693
693
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
694
694
  var key = _step2.value;
695
695
  var value = props[key];
696
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
697
- // scaleProps[key as keyof ScaleProps] = value as any
698
- // }
696
+
697
+ if (typeof value !== 'undefined') {
698
+ scaleProps[key] = value;
699
+ }
699
700
  }
700
701
  } catch (err) {
701
702
  _iterator2.e(err);
@@ -243,7 +243,7 @@ var palette$1 = {
243
243
  accents_8: '#111',
244
244
  selection: '#cee4fe',
245
245
  code: '#C25FFF',
246
- border: '#999',
246
+ border: '#eaeaea',
247
247
  primary: '#0072F6',
248
248
  primaryLight: '#96C1F3',
249
249
  primaryLighter: '#CEE4FF',
@@ -310,7 +310,7 @@ var palette = {
310
310
  accents_8: '#fafafa',
311
311
  selection: '#f81ce5',
312
312
  code: '#C25FFF',
313
- border: '#444',
313
+ border: '#333',
314
314
  primary: '#0072F6',
315
315
  primaryLight: '#96C1F3',
316
316
  primaryLighter: '#CEE4FF',
@@ -338,7 +338,7 @@ var palette = {
338
338
  purple: '#f81ce5',
339
339
  alert: '#ff0080',
340
340
  link: '#3291ff',
341
- pre: '#363450'
341
+ pre: '#111'
342
342
  };
343
343
  var expressiveness = {
344
344
  linkStyle: 'none',
@@ -538,9 +538,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
538
538
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
539
539
  var key = _step2.value;
540
540
  var value = props[key];
541
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
542
- // scaleProps[key as keyof ScaleProps] = value as any
543
- // }
541
+
542
+ if (typeof value !== 'undefined') {
543
+ scaleProps[key] = value;
544
+ }
544
545
  }
545
546
  } catch (err) {
546
547
  _iterator2.e(err);
@@ -285,7 +285,7 @@ var palette$1 = {
285
285
  accents_8: '#111',
286
286
  selection: '#cee4fe',
287
287
  code: '#C25FFF',
288
- border: '#999',
288
+ border: '#eaeaea',
289
289
  primary: '#0072F6',
290
290
  primaryLight: '#96C1F3',
291
291
  primaryLighter: '#CEE4FF',
@@ -352,7 +352,7 @@ var palette = {
352
352
  accents_8: '#fafafa',
353
353
  selection: '#f81ce5',
354
354
  code: '#C25FFF',
355
- border: '#444',
355
+ border: '#333',
356
356
  primary: '#0072F6',
357
357
  primaryLight: '#96C1F3',
358
358
  primaryLighter: '#CEE4FF',
@@ -380,7 +380,7 @@ var palette = {
380
380
  purple: '#f81ce5',
381
381
  alert: '#ff0080',
382
382
  link: '#3291ff',
383
- pre: '#363450'
383
+ pre: '#111'
384
384
  };
385
385
  var expressiveness = {
386
386
  linkStyle: 'none',
@@ -614,9 +614,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
614
614
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
615
615
  var key = _step2.value;
616
616
  var value = props[key];
617
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
618
- // scaleProps[key as keyof ScaleProps] = value as any
619
- // }
617
+
618
+ if (typeof value !== 'undefined') {
619
+ scaleProps[key] = value;
620
+ }
620
621
  }
621
622
  } catch (err) {
622
623
  _iterator2.e(err);
@@ -285,7 +285,7 @@ var palette$1 = {
285
285
  accents_8: '#111',
286
286
  selection: '#cee4fe',
287
287
  code: '#C25FFF',
288
- border: '#999',
288
+ border: '#eaeaea',
289
289
  primary: '#0072F6',
290
290
  primaryLight: '#96C1F3',
291
291
  primaryLighter: '#CEE4FF',
@@ -352,7 +352,7 @@ var palette = {
352
352
  accents_8: '#fafafa',
353
353
  selection: '#f81ce5',
354
354
  code: '#C25FFF',
355
- border: '#444',
355
+ border: '#333',
356
356
  primary: '#0072F6',
357
357
  primaryLight: '#96C1F3',
358
358
  primaryLighter: '#CEE4FF',
@@ -380,7 +380,7 @@ var palette = {
380
380
  purple: '#f81ce5',
381
381
  alert: '#ff0080',
382
382
  link: '#3291ff',
383
- pre: '#363450'
383
+ pre: '#111'
384
384
  };
385
385
  var expressiveness = {
386
386
  linkStyle: 'none',
@@ -634,7 +634,7 @@ var getColors = function getColors(palette, status) {
634
634
  var colors = {
635
635
  "default": {
636
636
  color: palette.foreground,
637
- borderColor: palette.border,
637
+ borderColor: palette.accents_3,
638
638
  hoverBorder: palette.accents_5
639
639
  },
640
640
  primary: {
@@ -765,9 +765,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
765
765
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
766
766
  var key = _step2.value;
767
767
  var value = props[key];
768
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
769
- // scaleProps[key as keyof ScaleProps] = value as any
770
- // }
768
+
769
+ if (typeof value !== 'undefined') {
770
+ scaleProps[key] = value;
771
+ }
771
772
  }
772
773
  } catch (err) {
773
774
  _iterator2.e(err);
@@ -243,7 +243,7 @@ var palette$1 = {
243
243
  accents_8: '#111',
244
244
  selection: '#cee4fe',
245
245
  code: '#C25FFF',
246
- border: '#999',
246
+ border: '#eaeaea',
247
247
  primary: '#0072F6',
248
248
  primaryLight: '#96C1F3',
249
249
  primaryLighter: '#CEE4FF',
@@ -310,7 +310,7 @@ var palette = {
310
310
  accents_8: '#fafafa',
311
311
  selection: '#f81ce5',
312
312
  code: '#C25FFF',
313
- border: '#444',
313
+ border: '#333',
314
314
  primary: '#0072F6',
315
315
  primaryLight: '#96C1F3',
316
316
  primaryLighter: '#CEE4FF',
@@ -338,7 +338,7 @@ var palette = {
338
338
  purple: '#f81ce5',
339
339
  alert: '#ff0080',
340
340
  link: '#3291ff',
341
- pre: '#363450'
341
+ pre: '#111'
342
342
  };
343
343
  var expressiveness = {
344
344
  linkStyle: 'none',
@@ -538,9 +538,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
538
538
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
539
539
  var key = _step2.value;
540
540
  var value = props[key];
541
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
542
- // scaleProps[key as keyof ScaleProps] = value as any
543
- // }
541
+
542
+ if (typeof value !== 'undefined') {
543
+ scaleProps[key] = value;
544
+ }
544
545
  }
545
546
  } catch (err) {
546
547
  _iterator2.e(err);
@@ -285,7 +285,7 @@ var palette$1 = {
285
285
  accents_8: '#111',
286
286
  selection: '#cee4fe',
287
287
  code: '#C25FFF',
288
- border: '#999',
288
+ border: '#eaeaea',
289
289
  primary: '#0072F6',
290
290
  primaryLight: '#96C1F3',
291
291
  primaryLighter: '#CEE4FF',
@@ -352,7 +352,7 @@ var palette = {
352
352
  accents_8: '#fafafa',
353
353
  selection: '#f81ce5',
354
354
  code: '#C25FFF',
355
- border: '#444',
355
+ border: '#333',
356
356
  primary: '#0072F6',
357
357
  primaryLight: '#96C1F3',
358
358
  primaryLighter: '#CEE4FF',
@@ -380,7 +380,7 @@ var palette = {
380
380
  purple: '#f81ce5',
381
381
  alert: '#ff0080',
382
382
  link: '#3291ff',
383
- pre: '#363450'
383
+ pre: '#111'
384
384
  };
385
385
  var expressiveness = {
386
386
  linkStyle: 'none',
@@ -651,9 +651,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
651
651
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
652
652
  var key = _step2.value;
653
653
  var value = props[key];
654
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
655
- // scaleProps[key as keyof ScaleProps] = value as any
656
- // }
654
+
655
+ if (typeof value !== 'undefined') {
656
+ scaleProps[key] = value;
657
+ }
657
658
  }
658
659
  } catch (err) {
659
660
  _iterator2.e(err);
@@ -243,7 +243,7 @@ var palette$1 = {
243
243
  accents_8: '#111',
244
244
  selection: '#cee4fe',
245
245
  code: '#C25FFF',
246
- border: '#999',
246
+ border: '#eaeaea',
247
247
  primary: '#0072F6',
248
248
  primaryLight: '#96C1F3',
249
249
  primaryLighter: '#CEE4FF',
@@ -310,7 +310,7 @@ var palette = {
310
310
  accents_8: '#fafafa',
311
311
  selection: '#f81ce5',
312
312
  code: '#C25FFF',
313
- border: '#444',
313
+ border: '#333',
314
314
  primary: '#0072F6',
315
315
  primaryLight: '#96C1F3',
316
316
  primaryLighter: '#CEE4FF',
@@ -338,7 +338,7 @@ var palette = {
338
338
  purple: '#f81ce5',
339
339
  alert: '#ff0080',
340
340
  link: '#3291ff',
341
- pre: '#363450'
341
+ pre: '#111'
342
342
  };
343
343
  var expressiveness = {
344
344
  linkStyle: 'none',
@@ -538,9 +538,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
538
538
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
539
539
  var key = _step2.value;
540
540
  var value = props[key];
541
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
542
- // scaleProps[key as keyof ScaleProps] = value as any
543
- // }
541
+
542
+ if (typeof value !== 'undefined') {
543
+ scaleProps[key] = value;
544
+ }
544
545
  }
545
546
  } catch (err) {
546
547
  _iterator2.e(err);
@@ -175,7 +175,7 @@ var palette$1 = {
175
175
  accents_8: '#111',
176
176
  selection: '#cee4fe',
177
177
  code: '#C25FFF',
178
- border: '#999',
178
+ border: '#eaeaea',
179
179
  primary: '#0072F6',
180
180
  primaryLight: '#96C1F3',
181
181
  primaryLighter: '#CEE4FF',
@@ -242,7 +242,7 @@ var palette = {
242
242
  accents_8: '#fafafa',
243
243
  selection: '#f81ce5',
244
244
  code: '#C25FFF',
245
- border: '#444',
245
+ border: '#333',
246
246
  primary: '#0072F6',
247
247
  primaryLight: '#96C1F3',
248
248
  primaryLighter: '#CEE4FF',
@@ -270,7 +270,7 @@ var palette = {
270
270
  purple: '#f81ce5',
271
271
  alert: '#ff0080',
272
272
  link: '#3291ff',
273
- pre: '#363450'
273
+ pre: '#111'
274
274
  };
275
275
  var expressiveness = {
276
276
  linkStyle: 'none',
@@ -379,7 +379,7 @@ var palette$1 = {
379
379
  accents_8: '#111',
380
380
  selection: '#cee4fe',
381
381
  code: '#C25FFF',
382
- border: '#999',
382
+ border: '#eaeaea',
383
383
  primary: '#0072F6',
384
384
  primaryLight: '#96C1F3',
385
385
  primaryLighter: '#CEE4FF',
@@ -446,7 +446,7 @@ var palette = {
446
446
  accents_8: '#fafafa',
447
447
  selection: '#f81ce5',
448
448
  code: '#C25FFF',
449
- border: '#444',
449
+ border: '#333',
450
450
  primary: '#0072F6',
451
451
  primaryLight: '#96C1F3',
452
452
  primaryLighter: '#CEE4FF',
@@ -474,7 +474,7 @@ var palette = {
474
474
  purple: '#f81ce5',
475
475
  alert: '#ff0080',
476
476
  link: '#3291ff',
477
- pre: '#363450'
477
+ pre: '#111'
478
478
  };
479
479
  var expressiveness = {
480
480
  linkStyle: 'none',
@@ -737,9 +737,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
737
737
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
738
738
  var key = _step2.value;
739
739
  var value = props[key];
740
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
741
- // scaleProps[key as keyof ScaleProps] = value as any
742
- // }
740
+
741
+ if (typeof value !== 'undefined') {
742
+ scaleProps[key] = value;
743
+ }
743
744
  }
744
745
  } catch (err) {
745
746
  _iterator2.e(err);
@@ -243,7 +243,7 @@ var palette$1 = {
243
243
  accents_8: '#111',
244
244
  selection: '#cee4fe',
245
245
  code: '#C25FFF',
246
- border: '#999',
246
+ border: '#eaeaea',
247
247
  primary: '#0072F6',
248
248
  primaryLight: '#96C1F3',
249
249
  primaryLighter: '#CEE4FF',
@@ -310,7 +310,7 @@ var palette = {
310
310
  accents_8: '#fafafa',
311
311
  selection: '#f81ce5',
312
312
  code: '#C25FFF',
313
- border: '#444',
313
+ border: '#333',
314
314
  primary: '#0072F6',
315
315
  primaryLight: '#96C1F3',
316
316
  primaryLighter: '#CEE4FF',
@@ -338,7 +338,7 @@ var palette = {
338
338
  purple: '#f81ce5',
339
339
  alert: '#ff0080',
340
340
  link: '#3291ff',
341
- pre: '#363450'
341
+ pre: '#111'
342
342
  };
343
343
  var expressiveness = {
344
344
  linkStyle: 'none',
@@ -538,9 +538,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
538
538
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
539
539
  var key = _step2.value;
540
540
  var value = props[key];
541
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
542
- // scaleProps[key as keyof ScaleProps] = value as any
543
- // }
541
+
542
+ if (typeof value !== 'undefined') {
543
+ scaleProps[key] = value;
544
+ }
544
545
  }
545
546
  } catch (err) {
546
547
  _iterator2.e(err);
@@ -301,7 +301,7 @@ var palette$1 = {
301
301
  accents_8: '#111',
302
302
  selection: '#cee4fe',
303
303
  code: '#C25FFF',
304
- border: '#999',
304
+ border: '#eaeaea',
305
305
  primary: '#0072F6',
306
306
  primaryLight: '#96C1F3',
307
307
  primaryLighter: '#CEE4FF',
@@ -368,7 +368,7 @@ var palette = {
368
368
  accents_8: '#fafafa',
369
369
  selection: '#f81ce5',
370
370
  code: '#C25FFF',
371
- border: '#444',
371
+ border: '#333',
372
372
  primary: '#0072F6',
373
373
  primaryLight: '#96C1F3',
374
374
  primaryLighter: '#CEE4FF',
@@ -396,7 +396,7 @@ var palette = {
396
396
  purple: '#f81ce5',
397
397
  alert: '#ff0080',
398
398
  link: '#3291ff',
399
- pre: '#363450'
399
+ pre: '#111'
400
400
  };
401
401
  var expressiveness = {
402
402
  linkStyle: 'none',
@@ -603,9 +603,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
603
603
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
604
604
  var key = _step2.value;
605
605
  var value = props[key];
606
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
607
- // scaleProps[key as keyof ScaleProps] = value as any
608
- // }
606
+
607
+ if (typeof value !== 'undefined') {
608
+ scaleProps[key] = value;
609
+ }
609
610
  }
610
611
  } catch (err) {
611
612
  _iterator2.e(err);
@@ -301,7 +301,7 @@ var palette$1 = {
301
301
  accents_8: '#111',
302
302
  selection: '#cee4fe',
303
303
  code: '#C25FFF',
304
- border: '#999',
304
+ border: '#eaeaea',
305
305
  primary: '#0072F6',
306
306
  primaryLight: '#96C1F3',
307
307
  primaryLighter: '#CEE4FF',
@@ -368,7 +368,7 @@ var palette = {
368
368
  accents_8: '#fafafa',
369
369
  selection: '#f81ce5',
370
370
  code: '#C25FFF',
371
- border: '#444',
371
+ border: '#333',
372
372
  primary: '#0072F6',
373
373
  primaryLight: '#96C1F3',
374
374
  primaryLighter: '#CEE4FF',
@@ -396,7 +396,7 @@ var palette = {
396
396
  purple: '#f81ce5',
397
397
  alert: '#ff0080',
398
398
  link: '#3291ff',
399
- pre: '#363450'
399
+ pre: '#111'
400
400
  };
401
401
  var expressiveness = {
402
402
  linkStyle: 'none',
@@ -974,9 +974,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
974
974
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
975
975
  var key = _step2.value;
976
976
  var value = props[key];
977
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
978
- // scaleProps[key as keyof ScaleProps] = value as any
979
- // }
977
+
978
+ if (typeof value !== 'undefined') {
979
+ scaleProps[key] = value;
980
+ }
980
981
  }
981
982
  } catch (err) {
982
983
  _iterator2.e(err);
@@ -286,7 +286,7 @@ var palette$1 = {
286
286
  accents_8: '#111',
287
287
  selection: '#cee4fe',
288
288
  code: '#C25FFF',
289
- border: '#999',
289
+ border: '#eaeaea',
290
290
  primary: '#0072F6',
291
291
  primaryLight: '#96C1F3',
292
292
  primaryLighter: '#CEE4FF',
@@ -353,7 +353,7 @@ var palette = {
353
353
  accents_8: '#fafafa',
354
354
  selection: '#f81ce5',
355
355
  code: '#C25FFF',
356
- border: '#444',
356
+ border: '#333',
357
357
  primary: '#0072F6',
358
358
  primaryLight: '#96C1F3',
359
359
  primaryLighter: '#CEE4FF',
@@ -381,7 +381,7 @@ var palette = {
381
381
  purple: '#f81ce5',
382
382
  alert: '#ff0080',
383
383
  link: '#3291ff',
384
- pre: '#363450'
384
+ pre: '#111'
385
385
  };
386
386
  var expressiveness = {
387
387
  linkStyle: 'none',
@@ -955,9 +955,10 @@ var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
955
955
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
956
956
  var key = _step2.value;
957
957
  var value = props[key];
958
- console.log('🚀 ~ file: utils.ts:32 ~ value:', value); // if (typeof value !== 'undefined') {
959
- // scaleProps[key as keyof ScaleProps] = value as any
960
- // }
958
+
959
+ if (typeof value !== 'undefined') {
960
+ scaleProps[key] = value;
961
+ }
961
962
  }
962
963
  } catch (err) {
963
964
  _iterator2.e(err);