react-lib-tools 0.0.12 → 0.0.13

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,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BiL6y7tb.cjs");exports.AppRoot=e.AppRoot;exports.Block=e.Block;exports.Box=e.Box;exports.Button=e.Button;exports.Callout=e.Callout;exports.Checkbox=e.Checkbox;exports.Code=e.Code;exports.ComponentProps=e.ComponentProps;exports.ComponentPropsSection=e.ComponentPropsSection;exports.DocsSection=e.DocsSection;exports.ErrorBoundary=e.ErrorBoundary;exports.ExternalLink=e.ExternalLink;exports.Header=e.Header;exports.ImperativeHandle=e.ImperativeHandle;exports.Input=e.Input;exports.Link=e.Link;exports.LoadingSpinner=e.LoadingSpinner;exports.NavLink=e.NavLink;exports.NavSection=e.NavSection;exports.Radio=e.Radio;exports.Select=e.Select;exports.assert=e.assert;exports.cn=e.cn;exports.getIntentClassNames=e.getIntentClassNames;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BpfFWZm4.cjs");exports.AppRoot=e.AppRoot;exports.Block=e.Block;exports.Box=e.Box;exports.Button=e.Button;exports.Callout=e.Callout;exports.Checkbox=e.Checkbox;exports.Code=e.Code;exports.ComponentProps=e.ComponentProps;exports.ComponentPropsSection=e.ComponentPropsSection;exports.DocsSection=e.DocsSection;exports.ErrorBoundary=e.ErrorBoundary;exports.ExternalLink=e.ExternalLink;exports.Header=e.Header;exports.ImperativeHandle=e.ImperativeHandle;exports.Input=e.Input;exports.Link=e.Link;exports.LoadingSpinner=e.LoadingSpinner;exports.NavLink=e.NavLink;exports.NavSection=e.NavSection;exports.Radio=e.Radio;exports.Select=e.Select;exports.assert=e.assert;exports.cn=e.cn;exports.getIntentClassNames=e.getIntentClassNames;
2
2
  //# sourceMappingURL=react-lib-tools.cjs.map
@@ -1,4 +1,4 @@
1
- import { A as o, a as e, B as n, b as t, C as r, c as i, d as p, i as c, j as l, D as d, e as C, E as k, H as m, I as S, f as B, L, g as u, N as x, h as I, R as N, S as g, k as v, l as E, m as H } from "./index-CUStiGoe.js";
1
+ import { A as o, a as e, B as n, b as t, C as r, c as i, d as p, i as c, j as l, D as d, e as C, E as k, H as m, I as S, f as B, L, g as u, N as x, h as I, R as N, S as g, k as v, l as E, m as H } from "./index-DdaUFzS-.js";
2
2
  export {
3
3
  o as AppRoot,
4
4
  e as Block,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-lib-tools",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "type": "module",
5
5
  "author": "Brian Vaughn <brian.david.vaughn@gmail.com> (https://github.com/bvaughn/)",
6
6
  "contributors": [
package/styles.css CHANGED
@@ -27,15 +27,28 @@
27
27
  }
28
28
  }
29
29
 
30
+ @theme {
31
+ --color-background-gradient-1: var(--color-fuchsia-500);
32
+ --color-background-gradient-2: var(--color-violet-500);
33
+ --color-background-gradient-3: var(--color-fuchsia-700);
34
+
35
+ --color-focus-1: var(--color-sky-300);
36
+ --color-focus-2: var(--color-sky-400);
37
+ --color-focus-3: var(--color-sky-600);
38
+
39
+ --color-nav-active: var(--color-fuchsia-400);
40
+ --color-nav-hover: var(--color-fuchsia-200);
41
+ }
42
+
30
43
  #root {
31
44
  width: 100dvw;
32
45
  height: 100dvh;
33
46
  overflow: auto;
34
47
  background: linear-gradient(
35
48
  -45deg,
36
- var(--template-gradient-color-1),
37
- var(--template-gradient-color-2),
38
- var(--template-gradient-color-3)
49
+ var(--color-background-gradient-1),
50
+ var(--color-background-gradient-2),
51
+ var(--color-background-gradient-3)
39
52
  );
40
53
  background-size: 400% 400%;
41
54
  animation: background-gradient-animation 20s ease infinite;
@@ -57,9 +70,9 @@ main {
57
70
  [data-link],
58
71
  a {
59
72
  cursor: pointer;
60
- color: var(--template-focus-color-400);
73
+ color: var(--color-focus-2);
61
74
  &:hover {
62
- color: var(--template-focus-color-300);
75
+ color: var(--color-focus-1);
63
76
  }
64
77
  }
65
78
  }
@@ -67,20 +80,20 @@ main {
67
80
  *[data-focus] {
68
81
  border: 2px solid transparent;
69
82
  &:focus {
70
- border: 2px solid var(--template-focus-color-300);
83
+ border: 2px solid var(--color-focus-1);
71
84
  }
72
85
  }
73
86
 
74
87
  *[data-focus-within] {
75
88
  border: 2px solid transparent;
76
89
  &:focus-within {
77
- border: 2px solid var(--template-focus-color-300);
90
+ border: 2px solid var(--color-focus-1);
78
91
  }
79
92
 
80
93
  &[data-focus-within="bold"] {
81
- border-color: var(--template-focus-color-600);
94
+ border-color: var(--color-focus-3);
82
95
  &:focus-within {
83
- border: 2px solid var(--template-focus-color-300);
96
+ border: 2px solid var(--color-focus-1);
84
97
  }
85
98
  }
86
99
  }