@stamcat/craftsman 0.0.23-alpha.8 → 0.0.23

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 (99) hide show
  1. package/AGENTS.md +372 -0
  2. package/Components.d.ts +2 -0
  3. package/Components.esm.js +20 -3
  4. package/Styles.d.ts +2 -0
  5. package/Styles.esm.js +8 -0
  6. package/Utilities.d.ts +2 -0
  7. package/Utilities.esm.js +2 -0
  8. package/_virtual/_rolldown/runtime.esm.js +11 -0
  9. package/package.json +49 -11
  10. package/src/components/Button.d.ts +7 -0
  11. package/src/components/Button.esm.js +27 -0
  12. package/src/components/Button.module.css +1 -0
  13. package/src/components/Button.module.esm.js +9 -0
  14. package/src/components/Button.module.scss +5 -0
  15. package/src/components/Checkbox.d.ts +7 -0
  16. package/src/components/Checkbox.esm.js +10 -0
  17. package/src/components/Input.d.ts +11 -0
  18. package/src/components/Input.esm.js +40 -0
  19. package/src/components/Input.module.css +1 -0
  20. package/src/components/Input.module.esm.js +11 -0
  21. package/src/components/Input.module.scss +141 -0
  22. package/src/components/InputPassword.d.ts +6 -0
  23. package/src/components/InputPassword.esm.js +32 -0
  24. package/src/components/Loader.d.ts +8 -0
  25. package/src/components/Loader.esm.js +20 -0
  26. package/src/components/Modal.d.ts +22 -0
  27. package/src/components/Modal.esm.js +61 -0
  28. package/src/components/Modal.module.css +1 -0
  29. package/src/components/Modal.module.esm.js +13 -0
  30. package/src/components/Modal.module.scss +133 -0
  31. package/src/components/RadioButton.d.ts +7 -0
  32. package/src/components/RadioButton.esm.js +10 -0
  33. package/src/components/index.d.ts +7 -0
  34. package/src/main.d.ts +1 -0
  35. package/src/styles/components/ThemeProvider.d.ts +7 -0
  36. package/src/styles/components/ThemeProvider.esm.js +8 -0
  37. package/src/styles/global/components/_button.scss +64 -0
  38. package/src/styles/global/components/_checkbox.scss +78 -0
  39. package/src/styles/global/components/_code.scss +19 -0
  40. package/src/styles/global/components/_input.scss +46 -0
  41. package/src/styles/global/components/_mixins.scss +2 -0
  42. package/src/styles/global/components/_modal.scss +9 -0
  43. package/src/styles/global/components/_radioButton.scss +33 -0
  44. package/src/styles/global/components/_typography.scss +7 -0
  45. package/src/styles/global/components/button.d.ts +7 -0
  46. package/src/styles/global/components/loaders.d.ts +15 -0
  47. package/src/styles/global/components/loaders.esm.js +54 -0
  48. package/src/styles/global/components/loaders.module.css +1 -0
  49. package/src/styles/global/components/loaders.module.esm.js +21 -0
  50. package/src/styles/global/components/loaders.module.scss +246 -0
  51. package/src/styles/global/globalStyles.d.ts +1 -0
  52. package/src/styles/global/globalStyles.esm.js +4 -0
  53. package/src/styles/global/globalStyles.module.scss +129 -0
  54. package/src/styles/global/variables.d.ts +2 -0
  55. package/src/styles/global/variables.esm.js +11 -0
  56. package/src/styles/index.d.ts +7 -0
  57. package/{styles → src/styles}/theme/components.d.ts +1 -1
  58. package/src/styles/theme/components.esm.js +12 -0
  59. package/src/styles/theme/constants.d.ts +1 -0
  60. package/src/styles/theme/constants.esm.js +4 -0
  61. package/src/styles/theme/theme.d.ts +2 -0
  62. package/src/styles/theme/theme.esm.js +56 -0
  63. package/{styles → src/styles}/theme/types.d.ts +10 -3
  64. package/src/styles/theme/utilities.d.ts +3 -0
  65. package/src/styles/theme/utilities.esm.js +48 -0
  66. package/src/styles/utilities/color.d.ts +174 -0
  67. package/src/styles/utilities/color.esm.js +15 -0
  68. package/src/styles/utilities/constants.d.ts +172 -0
  69. package/src/styles/utilities/constants.esm.js +183 -0
  70. package/src/styles/utilities/layout.d.ts +17 -0
  71. package/src/styles/utilities/layout.esm.js +47 -0
  72. package/src/styles/utilities/types.d.ts +85 -0
  73. package/src/styles/utilities/types.esm.js +54 -0
  74. package/src/utilities/index.d.ts +1 -0
  75. package/src/utilities/validations.esm.js +9 -0
  76. package/Button.esm.js +0 -5
  77. package/Input.esm.js +0 -5
  78. package/components/Button.d.ts +0 -2
  79. package/components/Input.d.ts +0 -2
  80. package/components/index.d.ts +0 -2
  81. package/icons/IconCalendar.d.ts +0 -3
  82. package/icons/IconChevronRight.d.ts +0 -2
  83. package/icons/IconCircleAlert.d.ts +0 -2
  84. package/icons/IconCircleCheck.d.ts +0 -2
  85. package/icons/IconCircleHelp.d.ts +0 -2
  86. package/icons/IconCircleInfo.d.ts +0 -2
  87. package/icons/IconEye.d.ts +0 -2
  88. package/icons/IconEyeClosed.d.ts +0 -2
  89. package/icons/IconX.d.ts +0 -2
  90. package/stories/Button.stories.d.ts +0 -8
  91. package/styles/global/colors.d.ts +0 -1
  92. package/styles/global/components/button.d.ts +0 -1
  93. package/styles/global/globalStyles.d.ts +0 -1
  94. package/styles/theme/components/button.d.ts +0 -1
  95. package/styles/theme/constants.d.ts +0 -2
  96. package/styles/theme/theme.d.ts +0 -8
  97. package/styles/utilities/color.d.ts +0 -69
  98. /package/{main.d.ts → src/components/Progress.d.ts} +0 -0
  99. /package/{utilities → src/utilities}/validations.d.ts +0 -0
@@ -0,0 +1,56 @@
1
+ import { componentSelectors as e } from "./components.esm.js";
2
+ import { cssObjectToCssText as t, toCSSObject as n } from "./utilities.esm.js";
3
+ import { colors as r, widths as i } from "../global/variables.esm.js";
4
+ //#region src/styles/theme/theme.ts
5
+ var a = /* @__PURE__ */ new Map();
6
+ function o(e) {
7
+ if (typeof document > "u") return;
8
+ let t = `.${e}`, n = {}, r = !1, i = (e) => {
9
+ for (let a of Array.from(e)) {
10
+ if (a instanceof CSSStyleRule) {
11
+ if (!a.selectorText.split(",").map((e) => e.trim()).includes(t)) continue;
12
+ r = !0;
13
+ for (let e of Array.from(a.style)) n[e] = a.style.getPropertyValue(e);
14
+ continue;
15
+ }
16
+ a instanceof CSSGroupingRule && i(a.cssRules);
17
+ }
18
+ };
19
+ for (let e of Array.from(document.styleSheets)) try {
20
+ e.cssRules && i(e.cssRules);
21
+ } catch {}
22
+ return r ? n : void 0;
23
+ }
24
+ function s(e) {
25
+ if (a.has(e)) return a.get(e) ?? void 0;
26
+ let t = o(e);
27
+ return a.set(e, t ?? null), t;
28
+ }
29
+ function c(r) {
30
+ let i = [];
31
+ return Object.keys(e).forEach((a) => {
32
+ let o = r?.[a];
33
+ if (o) {
34
+ if (typeof o == "string") {
35
+ let n = s(o);
36
+ if (!n) return;
37
+ i.push(t(e[a], n));
38
+ return;
39
+ }
40
+ i.push(t(e[a], n(o)));
41
+ }
42
+ }), i;
43
+ }
44
+ function l(e) {
45
+ let a = t(":root", {
46
+ ...e.colors || {},
47
+ ...e.root ? n(e.root) : {}
48
+ });
49
+ return [
50
+ `:root { ${i} ${r} }`,
51
+ a,
52
+ ...c(e.components)
53
+ ].filter(Boolean).join("\n");
54
+ }
55
+ //#endregion
56
+ export { l as themeBuilder };
@@ -1,15 +1,22 @@
1
- import { CSSObject, SerializedStyles } from '@emotion/react';
2
1
  import { ColorKey } from '../utilities/color';
3
2
  import { componentSelectors } from './components';
4
3
  export type ColorVariableName = `--${ColorKey}`;
4
+ export type CSSObject = {
5
+ [key: string]: string | number | CSSObject | undefined;
6
+ };
7
+ export type LegacySerializedStyles = {
8
+ name: string;
9
+ styles: string;
10
+ next?: LegacySerializedStyles;
11
+ };
5
12
  export type RegisteredComponent = keyof typeof componentSelectors;
6
13
  export type ComponentThemeOverrides = {
7
- [K in RegisteredComponent]?: CSSObject | SerializedStyles;
14
+ [K in RegisteredComponent]?: CSSObject | LegacySerializedStyles | string;
8
15
  };
9
16
  export type Colors = Partial<Record<ColorVariableName, string>>;
10
17
  export type Theme = {
11
18
  colors?: Colors;
12
- root?: CSSObject | SerializedStyles;
19
+ root?: CSSObject | LegacySerializedStyles;
13
20
  components?: ComponentThemeOverrides;
14
21
  };
15
22
  export type ThemeProviderProps = {
@@ -0,0 +1,3 @@
1
+ import { CSSObject, LegacySerializedStyles } from './types';
2
+ export declare function toCSSObject(value: CSSObject | LegacySerializedStyles): CSSObject;
3
+ export declare function cssObjectToCssText(selector: string, value: CSSObject): string;
@@ -0,0 +1,48 @@
1
+ //#region src/styles/theme/utilities.ts
2
+ function e(e) {
3
+ return "styles" in e && "name" in e;
4
+ }
5
+ function t(e) {
6
+ let t = {}, n = e;
7
+ for (; n;) {
8
+ let e = n.styles.split(";").map((e) => e.trim()).filter((e) => e && !e.startsWith("label:"));
9
+ for (let n of e) {
10
+ let e = n.indexOf(":");
11
+ if (e === -1) continue;
12
+ let r = n.slice(0, e).trim(), i = n.slice(e + 1).trim();
13
+ if (!r || !i) continue;
14
+ let a = r.replace(/-([a-z])/g, (e, t) => t.toUpperCase());
15
+ t[a] = i;
16
+ }
17
+ n = n.next;
18
+ }
19
+ return t;
20
+ }
21
+ function n(n) {
22
+ return e(n) ? t(n) : n;
23
+ }
24
+ function r(e) {
25
+ return e.startsWith("--") ? e : e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
26
+ }
27
+ function i(e, t) {
28
+ return t.startsWith("&") ? t.replace(/&/g, e) : t.startsWith(":") || t.startsWith("[") ? `${e}${t}` : (/^[>+~]/.test(t), `${e} ${t}`);
29
+ }
30
+ function a(e, t) {
31
+ let n = [], o = [];
32
+ for (let [s, c] of Object.entries(t)) if (c !== void 0) {
33
+ if (typeof c == "object") {
34
+ let t = c;
35
+ if (s.startsWith("@")) {
36
+ o.push(`${s} { ${a(e, t)} }`);
37
+ continue;
38
+ }
39
+ let n = i(e, s);
40
+ o.push(a(n, t));
41
+ continue;
42
+ }
43
+ n.push(`${r(s)}: ${String(c)};`);
44
+ }
45
+ return [n.length > 0 ? `${e} { ${n.join(" ")} }` : "", ...o].filter(Boolean).join("\n");
46
+ }
47
+ //#endregion
48
+ export { a as cssObjectToCssText, n as toCSSObject };
@@ -0,0 +1,174 @@
1
+ import { ColorType } from './types';
2
+ export declare const colors: {
3
+ red990: string;
4
+ red950: string;
5
+ red925: string;
6
+ red900: string;
7
+ red850: string;
8
+ red800: string;
9
+ red750: string;
10
+ red700: string;
11
+ red650: string;
12
+ red600: string;
13
+ red550: string;
14
+ red500: string;
15
+ red450: string;
16
+ red400: string;
17
+ red350: string;
18
+ red300: string;
19
+ red250: string;
20
+ red200: string;
21
+ red150: string;
22
+ red100: string;
23
+ red50: string;
24
+ red10: string;
25
+ orange950: string;
26
+ orange900: string;
27
+ orange800: string;
28
+ orange700: string;
29
+ orange600: string;
30
+ orange500: string;
31
+ orange400: string;
32
+ orange300: string;
33
+ orange200: string;
34
+ orange100: string;
35
+ orange50: string;
36
+ yellow950: string;
37
+ yellow900: string;
38
+ yellow800: string;
39
+ yellow700: string;
40
+ yellow600: string;
41
+ yellow500: string;
42
+ yellow400: string;
43
+ yellow300: string;
44
+ yellow200: string;
45
+ yellow100: string;
46
+ yellow50: string;
47
+ green990: string;
48
+ green975: string;
49
+ green950: string;
50
+ green900: string;
51
+ green850: string;
52
+ green800: string;
53
+ green750: string;
54
+ green700: string;
55
+ green650: string;
56
+ green600: string;
57
+ green550: string;
58
+ green500: string;
59
+ green450: string;
60
+ green400: string;
61
+ green350: string;
62
+ green300: string;
63
+ green250: string;
64
+ green200: string;
65
+ green100: string;
66
+ green80: string;
67
+ green50: string;
68
+ green10: string;
69
+ blueGreen990: string;
70
+ blueGreen975: string;
71
+ blueGreen950: string;
72
+ blueGreen900: string;
73
+ blueGreen850: string;
74
+ blueGreen800: string;
75
+ blueGreen750: string;
76
+ blueGreen700: string;
77
+ blueGreen650: string;
78
+ blueGreen600: string;
79
+ blueGreen550: string;
80
+ blueGreen500: string;
81
+ blueGreen450: string;
82
+ blueGreen400: string;
83
+ blueGreen300: string;
84
+ blueGreen250: string;
85
+ blueGreen150: string;
86
+ blueGreen50: string;
87
+ blueGreen10: string;
88
+ teal900: string;
89
+ teal800: string;
90
+ teal700: string;
91
+ teal600: string;
92
+ teal500: string;
93
+ teal450: string;
94
+ teal400: string;
95
+ teal350: string;
96
+ teal300: string;
97
+ teal250: string;
98
+ teal200: string;
99
+ teal150: string;
100
+ teal100: string;
101
+ teal50: string;
102
+ blue950: string;
103
+ blue900: string;
104
+ blue800: string;
105
+ blue700: string;
106
+ blue600: string;
107
+ blue500: string;
108
+ blue400: string;
109
+ blue300: string;
110
+ blue200: string;
111
+ blue100: string;
112
+ blue50: string;
113
+ violet950: string;
114
+ violet900: string;
115
+ violet800: string;
116
+ violet700: string;
117
+ violet600: string;
118
+ violet500: string;
119
+ violet400: string;
120
+ violet300: string;
121
+ violet200: string;
122
+ violet100: string;
123
+ violet50: string;
124
+ purple950: string;
125
+ purple900: string;
126
+ purple800: string;
127
+ purple700: string;
128
+ purple600: string;
129
+ purple500: string;
130
+ purple400: string;
131
+ purple300: string;
132
+ purple200: string;
133
+ purple100: string;
134
+ purple50: string;
135
+ beige990: string;
136
+ beige900: string;
137
+ beige800: string;
138
+ beige700: string;
139
+ beige600: string;
140
+ beige500: string;
141
+ beige400: string;
142
+ beige300: string;
143
+ beige200: string;
144
+ beige100: string;
145
+ beige50: string;
146
+ gray999: string;
147
+ gray980: string;
148
+ gray950: string;
149
+ gray900: string;
150
+ gray850: string;
151
+ gray800: string;
152
+ gray750: string;
153
+ gray700: string;
154
+ gray650: string;
155
+ gray600: string;
156
+ gray550: string;
157
+ gray500: string;
158
+ gray450: string;
159
+ gray400: string;
160
+ gray350: string;
161
+ gray300: string;
162
+ gray250: string;
163
+ gray200: string;
164
+ gray150: string;
165
+ gray100: string;
166
+ gray50: string;
167
+ gray10: string;
168
+ white: string;
169
+ black: string;
170
+ text: string;
171
+ };
172
+ export type ColorKey = keyof typeof colors;
173
+ export declare function hexToRgba(hex: string, alpha?: number): string;
174
+ export declare const color: (name: ColorKey, type?: ColorType, alpha?: number) => string;
@@ -0,0 +1,15 @@
1
+ import { defaultColors as e } from "./constants.esm.js";
2
+ //#region src/styles/utilities/color.ts
3
+ var t = { ...e };
4
+ function n(e, t = 1) {
5
+ e = e.replace("#", "");
6
+ let n, r, i;
7
+ if (e.length === 6) n = Number.parseInt(e.substring(0, 2), 16), r = Number.parseInt(e.substring(2, 4), 16), i = Number.parseInt(e.substring(4, 6), 16);
8
+ else if (e.length === 8) n = Number.parseInt(e.substring(0, 2), 16), r = Number.parseInt(e.substring(2, 4), 16), i = Number.parseInt(e.substring(4, 6), 16), t = Number.parseInt(e.substring(6, 8), 16) / 255;
9
+ else if (e.length === 3) n = Number.parseInt(e.charAt(0) + e.charAt(0), 16), r = Number.parseInt(e.charAt(1) + e.charAt(1), 16), i = Number.parseInt(e.charAt(2) + e.charAt(2), 16);
10
+ else throw Error("Invalid hex color format");
11
+ return t = Math.max(0, Math.min(1, t)), `rgba(${n}, ${r}, ${i}, ${t})`;
12
+ }
13
+ var r = (e, t = "hex", n = 1) => t === "rgba" ? `rgb(from var(--${e}) r g b / ${n})` : `var(--${e})`;
14
+ //#endregion
15
+ export { r as color, t as colors, n as hexToRgba };
@@ -0,0 +1,172 @@
1
+ import { LayoutWidthsType } from './types';
2
+ export declare const defaultColors: {
3
+ red990: string;
4
+ red950: string;
5
+ red925: string;
6
+ red900: string;
7
+ red850: string;
8
+ red800: string;
9
+ red750: string;
10
+ red700: string;
11
+ red650: string;
12
+ red600: string;
13
+ red550: string;
14
+ red500: string;
15
+ red450: string;
16
+ red400: string;
17
+ red350: string;
18
+ red300: string;
19
+ red250: string;
20
+ red200: string;
21
+ red150: string;
22
+ red100: string;
23
+ red50: string;
24
+ red10: string;
25
+ orange950: string;
26
+ orange900: string;
27
+ orange800: string;
28
+ orange700: string;
29
+ orange600: string;
30
+ orange500: string;
31
+ orange400: string;
32
+ orange300: string;
33
+ orange200: string;
34
+ orange100: string;
35
+ orange50: string;
36
+ yellow950: string;
37
+ yellow900: string;
38
+ yellow800: string;
39
+ yellow700: string;
40
+ yellow600: string;
41
+ yellow500: string;
42
+ yellow400: string;
43
+ yellow300: string;
44
+ yellow200: string;
45
+ yellow100: string;
46
+ yellow50: string;
47
+ green990: string;
48
+ green975: string;
49
+ green950: string;
50
+ green900: string;
51
+ green850: string;
52
+ green800: string;
53
+ green750: string;
54
+ green700: string;
55
+ green650: string;
56
+ green600: string;
57
+ green550: string;
58
+ green500: string;
59
+ green450: string;
60
+ green400: string;
61
+ green350: string;
62
+ green300: string;
63
+ green250: string;
64
+ green200: string;
65
+ green100: string;
66
+ green80: string;
67
+ green50: string;
68
+ green10: string;
69
+ blueGreen990: string;
70
+ blueGreen975: string;
71
+ blueGreen950: string;
72
+ blueGreen900: string;
73
+ blueGreen850: string;
74
+ blueGreen800: string;
75
+ blueGreen750: string;
76
+ blueGreen700: string;
77
+ blueGreen650: string;
78
+ blueGreen600: string;
79
+ blueGreen550: string;
80
+ blueGreen500: string;
81
+ blueGreen450: string;
82
+ blueGreen400: string;
83
+ blueGreen300: string;
84
+ blueGreen250: string;
85
+ blueGreen150: string;
86
+ blueGreen50: string;
87
+ blueGreen10: string;
88
+ teal900: string;
89
+ teal800: string;
90
+ teal700: string;
91
+ teal600: string;
92
+ teal500: string;
93
+ teal450: string;
94
+ teal400: string;
95
+ teal350: string;
96
+ teal300: string;
97
+ teal250: string;
98
+ teal200: string;
99
+ teal150: string;
100
+ teal100: string;
101
+ teal50: string;
102
+ blue950: string;
103
+ blue900: string;
104
+ blue800: string;
105
+ blue700: string;
106
+ blue600: string;
107
+ blue500: string;
108
+ blue400: string;
109
+ blue300: string;
110
+ blue200: string;
111
+ blue100: string;
112
+ blue50: string;
113
+ violet950: string;
114
+ violet900: string;
115
+ violet800: string;
116
+ violet700: string;
117
+ violet600: string;
118
+ violet500: string;
119
+ violet400: string;
120
+ violet300: string;
121
+ violet200: string;
122
+ violet100: string;
123
+ violet50: string;
124
+ purple950: string;
125
+ purple900: string;
126
+ purple800: string;
127
+ purple700: string;
128
+ purple600: string;
129
+ purple500: string;
130
+ purple400: string;
131
+ purple300: string;
132
+ purple200: string;
133
+ purple100: string;
134
+ purple50: string;
135
+ beige990: string;
136
+ beige900: string;
137
+ beige800: string;
138
+ beige700: string;
139
+ beige600: string;
140
+ beige500: string;
141
+ beige400: string;
142
+ beige300: string;
143
+ beige200: string;
144
+ beige100: string;
145
+ beige50: string;
146
+ gray999: string;
147
+ gray980: string;
148
+ gray950: string;
149
+ gray900: string;
150
+ gray850: string;
151
+ gray800: string;
152
+ gray750: string;
153
+ gray700: string;
154
+ gray650: string;
155
+ gray600: string;
156
+ gray550: string;
157
+ gray500: string;
158
+ gray450: string;
159
+ gray400: string;
160
+ gray350: string;
161
+ gray300: string;
162
+ gray250: string;
163
+ gray200: string;
164
+ gray150: string;
165
+ gray100: string;
166
+ gray50: string;
167
+ gray10: string;
168
+ white: string;
169
+ black: string;
170
+ text: string;
171
+ };
172
+ export declare const defaultWidths: Record<LayoutWidthsType, number>;
@@ -0,0 +1,183 @@
1
+ //#region src/styles/utilities/constants.ts
2
+ var e = {
3
+ red990: "#2A0D09",
4
+ red950: "#2E0E05",
5
+ red925: "#3E140E",
6
+ red900: "#451408",
7
+ red850: "#531A13",
8
+ red800: "#5C1B0A",
9
+ red750: "#7D271C",
10
+ red700: "#8A290F",
11
+ red650: "#A63426",
12
+ red600: "#B83614",
13
+ red550: "#D24A39",
14
+ red500: "#E54419",
15
+ red450: "#D96759",
16
+ red400: "#FB6249",
17
+ red350: "#E38D82",
18
+ red300: "#F2A18C",
19
+ red250: "#ECB3AC",
20
+ red200: "#F5B4A3",
21
+ red150: "#F6D9D5",
22
+ red100: "#FADAD1",
23
+ red50: "#FCECE8",
24
+ red10: "#FBF0EE",
25
+ orange950: "#1A1200",
26
+ orange900: "#332400",
27
+ orange800: "#664700",
28
+ orange700: "#996B00",
29
+ orange600: "#CC8E00",
30
+ orange500: "#F2A900",
31
+ orange400: "#FFC133",
32
+ orange300: "#FFD166",
33
+ orange200: "#FFE099",
34
+ orange100: "#FFF0CC",
35
+ orange50: "#FFFCF5",
36
+ yellow950: "#302503",
37
+ yellow900: "#483804",
38
+ yellow800: "#614A05",
39
+ yellow700: "#916F08",
40
+ yellow600: "#C1940B",
41
+ yellow500: "#F1BA0E",
42
+ yellow400: "#FFCF5A",
43
+ yellow300: "#F8DC86",
44
+ yellow200: "#FAE39E",
45
+ yellow100: "#FCF1CF",
46
+ yellow50: "#FEF8E7",
47
+ green990: "#040B09",
48
+ green975: "#071309",
49
+ green950: "#071310",
50
+ green900: "#061409",
51
+ green850: "#0F2410",
52
+ green800: "#0D2620",
53
+ green750: "#163E35",
54
+ green700: "#184E23",
55
+ green650: "#236254",
56
+ green600: "#456600",
57
+ green550: "#308874",
58
+ green500: "#389448",
59
+ green450: "#689900",
60
+ green400: "#46B95A",
61
+ green350: "#83C200",
62
+ green300: "#63CF79",
63
+ green250: "#7FD2BF",
64
+ green200: "#A7DC3C",
65
+ green100: "#B5E3BD",
66
+ green80: "#D1EB94",
67
+ green50: "#DAF1DE",
68
+ green10: "#F6FBEA",
69
+ blueGreen990: "#001C19",
70
+ blueGreen975: "#022427",
71
+ blueGreen950: "#13332E",
72
+ blueGreen900: "#0A3B43",
73
+ blueGreen850: "#0F4A45",
74
+ blueGreen800: "#0D4E59",
75
+ blueGreen750: "#045258",
76
+ blueGreen700: "#08ADBA",
77
+ blueGreen650: "#1D766E",
78
+ blueGreen600: "#137686",
79
+ blueGreen550: "#039084",
80
+ blueGreen500: "#2FBCB0",
81
+ blueGreen450: "#5CD6CC",
82
+ blueGreen400: "#85E0D9",
83
+ blueGreen300: "#ADEBE5",
84
+ blueGreen250: "#A6E7F2",
85
+ blueGreen150: "#D6F5F2",
86
+ blueGreen50: "#EBFAF9",
87
+ blueGreen10: "#EBFDFE",
88
+ teal900: "#06272D",
89
+ teal800: "#068089",
90
+ teal700: "#1A9DB2",
91
+ teal600: "#20C4DF",
92
+ teal500: "#0ADBEA",
93
+ teal450: "#6DE3EE",
94
+ teal400: "#32E8F6",
95
+ teal350: "#63EEF8",
96
+ teal300: "#94F3FA",
97
+ teal250: "#A7F5FB",
98
+ teal200: "#BCEDF5",
99
+ teal150: "#D2FAFD",
100
+ teal100: "#D2F3F9",
101
+ teal50: "#E9F9FC",
102
+ blue950: "#060B14",
103
+ blue900: "#0C1728",
104
+ blue800: "#172D4F",
105
+ blue700: "#234476",
106
+ blue600: "#2F5B9D",
107
+ blue500: "#3A70C2",
108
+ blue400: "#628ED0",
109
+ blue300: "#89AADC",
110
+ blue200: "#B0C6E8",
111
+ blue100: "#D7E2F3",
112
+ blue50: "#EFF4FA",
113
+ violet950: "#0D042F",
114
+ violet900: "#19095D",
115
+ violet800: "#260D8C",
116
+ violet700: "#3311BB",
117
+ violet600: "#3F16E9",
118
+ violet500: "#6644EE",
119
+ violet400: "#8C73F2",
120
+ violet300: "#9F8AF4",
121
+ violet200: "#B2A2F6",
122
+ violet100: "#D9D1FA",
123
+ violet50: "#ECE8FD",
124
+ purple950: "#26062D",
125
+ purple900: "#390A43",
126
+ purple800: "#4D0D59",
127
+ purple700: "#731386",
128
+ purple600: "#9919B2",
129
+ purple500: "#BF20DF",
130
+ purple400: "#E474EE",
131
+ purple300: "#DF8FEF",
132
+ purple200: "#E5A6F2",
133
+ purple100: "#F2D2F9",
134
+ purple50: "#F9E9FC",
135
+ beige990: "#110F09",
136
+ beige900: "#211E12",
137
+ beige800: "#423C24",
138
+ beige700: "#635A36",
139
+ beige600: "#847848",
140
+ beige500: "#A5965A",
141
+ beige400: "#B7AB7B",
142
+ beige300: "#C9C09C",
143
+ beige200: "#DBD5BD",
144
+ beige100: "#EDEADE",
145
+ beige50: "#F9F8F4",
146
+ gray999: "#0D0C0C",
147
+ gray980: "#1B1918",
148
+ gray950: "#212829",
149
+ gray900: "#2A2A2A",
150
+ gray850: "#343E40",
151
+ gray800: "#404040",
152
+ gray750: "#495457",
153
+ gray700: "#6B6361",
154
+ gray650: "#6C787D",
155
+ gray600: "#837976",
156
+ gray550: "#9E9694",
157
+ gray500: "#B6B0AF",
158
+ gray450: "#ADB9BD",
159
+ gray400: "#CFCBC9",
160
+ gray350: "#CED8DA",
161
+ gray300: "#DEE5E6",
162
+ gray250: "#E7E5E4",
163
+ gray200: "#F0F4F4",
164
+ gray150: "#F3F2F2",
165
+ gray100: "#F7F9F9",
166
+ gray50: "#FCFDFD",
167
+ gray10: "#FFFFFF",
168
+ white: "#FFFFFF",
169
+ black: "#101921",
170
+ text: "#101921"
171
+ }, t = {
172
+ text: 14,
173
+ gutter: 16,
174
+ column: 60,
175
+ mobileMax: 659.99999,
176
+ tablet: 660,
177
+ tabletMax: 1039.99999,
178
+ desktop: 1040,
179
+ desktopMax: 1319.99999,
180
+ extDesktop: 1320
181
+ };
182
+ //#endregion
183
+ export { e as defaultColors, t as defaultWidths };
@@ -0,0 +1,17 @@
1
+ import { Breakpoint, LayoutWidthsType } from './types';
2
+ export declare const widths: Record<LayoutWidthsType, string>;
3
+ export declare const media: {
4
+ readonly mobile: string;
5
+ readonly mobileMax: string;
6
+ readonly tablet: string;
7
+ readonly tabletMax: string;
8
+ readonly desktop: string;
9
+ readonly desktopMax: string;
10
+ readonly extDesktop: string;
11
+ readonly mobileOnly: string;
12
+ readonly tabletOnly: string;
13
+ readonly mobileTablet: string;
14
+ readonly desktopOnly: string;
15
+ };
16
+ export declare const width: (w: LayoutWidthsType, multiplier?: number, px?: boolean) => string;
17
+ export declare const breakpoint: (bp: Breakpoint, styles: string) => string;