@hanzogui/themes 2.0.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/LICENSE +21 -0
- package/dist/cjs/componentThemeDefinitions.cjs +124 -0
- package/dist/cjs/componentThemeDefinitions.native.js +127 -0
- package/dist/cjs/componentThemeDefinitions.native.js.map +1 -0
- package/dist/cjs/generated-new.cjs +2021 -0
- package/dist/cjs/generated-new.native.js +2040 -0
- package/dist/cjs/generated-new.native.js.map +1 -0
- package/dist/cjs/generated-v3.cjs +1099 -0
- package/dist/cjs/generated-v3.native.js +1118 -0
- package/dist/cjs/generated-v3.native.js.map +1 -0
- package/dist/cjs/generated-v4-gui.cjs +933 -0
- package/dist/cjs/generated-v4-gui.native.js +952 -0
- package/dist/cjs/generated-v4-gui.native.js.map +1 -0
- package/dist/cjs/generated-v4.cjs +391 -0
- package/dist/cjs/generated-v4.native.js +410 -0
- package/dist/cjs/generated-v4.native.js.map +1 -0
- package/dist/cjs/generated-v5-subtle.cjs +549 -0
- package/dist/cjs/generated-v5-subtle.native.js +568 -0
- package/dist/cjs/generated-v5-subtle.native.js.map +1 -0
- package/dist/cjs/generated-v5.cjs +549 -0
- package/dist/cjs/generated-v5.native.js +568 -0
- package/dist/cjs/generated-v5.native.js.map +1 -0
- package/dist/cjs/helpers.cjs +34 -0
- package/dist/cjs/helpers.native.js +39 -0
- package/dist/cjs/helpers.native.js.map +1 -0
- package/dist/cjs/index.cjs +25 -0
- package/dist/cjs/index.native.js +28 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/cjs/opacify.cjs +96 -0
- package/dist/cjs/opacify.native.js +106 -0
- package/dist/cjs/opacify.native.js.map +1 -0
- package/dist/cjs/palettes.cjs +52 -0
- package/dist/cjs/palettes.native.js +63 -0
- package/dist/cjs/palettes.native.js.map +1 -0
- package/dist/cjs/shadows.cjs +43 -0
- package/dist/cjs/shadows.native.js +46 -0
- package/dist/cjs/shadows.native.js.map +1 -0
- package/dist/cjs/subtleChildrenThemes.cjs +65 -0
- package/dist/cjs/subtleChildrenThemes.native.js +74 -0
- package/dist/cjs/subtleChildrenThemes.native.js.map +1 -0
- package/dist/cjs/templates.cjs +118 -0
- package/dist/cjs/templates.native.js +121 -0
- package/dist/cjs/templates.native.js.map +1 -0
- package/dist/cjs/themes-new.cjs +86 -0
- package/dist/cjs/themes-new.native.js +88 -0
- package/dist/cjs/themes-new.native.js.map +1 -0
- package/dist/cjs/themes-old.cjs +284 -0
- package/dist/cjs/themes-old.native.js +303 -0
- package/dist/cjs/themes-old.native.js.map +1 -0
- package/dist/cjs/themes.cjs +26 -0
- package/dist/cjs/themes.native.js +29 -0
- package/dist/cjs/themes.native.js.map +1 -0
- package/dist/cjs/tokens.cjs +155 -0
- package/dist/cjs/tokens.native.js +167 -0
- package/dist/cjs/tokens.native.js.map +1 -0
- package/dist/cjs/utils.cjs +40 -0
- package/dist/cjs/utils.native.js +46 -0
- package/dist/cjs/utils.native.js.map +1 -0
- package/dist/cjs/v3-themes.cjs +472 -0
- package/dist/cjs/v3-themes.native.js +487 -0
- package/dist/cjs/v3-themes.native.js.map +1 -0
- package/dist/cjs/v3-tokens.cjs +99 -0
- package/dist/cjs/v3-tokens.native.js +108 -0
- package/dist/cjs/v3-tokens.native.js.map +1 -0
- package/dist/cjs/v3.cjs +52 -0
- package/dist/cjs/v3.native.js +55 -0
- package/dist/cjs/v3.native.js.map +1 -0
- package/dist/cjs/v4-default.cjs +167 -0
- package/dist/cjs/v4-default.native.js +170 -0
- package/dist/cjs/v4-default.native.js.map +1 -0
- package/dist/cjs/v4-gui.cjs +235 -0
- package/dist/cjs/v4-gui.native.js +243 -0
- package/dist/cjs/v4-gui.native.js.map +1 -0
- package/dist/cjs/v4-tokens.cjs +99 -0
- package/dist/cjs/v4-tokens.native.js +108 -0
- package/dist/cjs/v4-tokens.native.js.map +1 -0
- package/dist/cjs/v4.cjs +32 -0
- package/dist/cjs/v4.native.js +35 -0
- package/dist/cjs/v4.native.js.map +1 -0
- package/dist/cjs/v5-subtle.cjs +34 -0
- package/dist/cjs/v5-subtle.native.js +37 -0
- package/dist/cjs/v5-subtle.native.js.map +1 -0
- package/dist/cjs/v5-templates.cjs +110 -0
- package/dist/cjs/v5-templates.native.js +126 -0
- package/dist/cjs/v5-templates.native.js.map +1 -0
- package/dist/cjs/v5-themes-subtle.cjs +37 -0
- package/dist/cjs/v5-themes-subtle.native.js +40 -0
- package/dist/cjs/v5-themes-subtle.native.js.map +1 -0
- package/dist/cjs/v5-themes.cjs +400 -0
- package/dist/cjs/v5-themes.native.js +445 -0
- package/dist/cjs/v5-themes.native.js.map +1 -0
- package/dist/cjs/v5-tokens.cjs +99 -0
- package/dist/cjs/v5-tokens.native.js +108 -0
- package/dist/cjs/v5-tokens.native.js.map +1 -0
- package/dist/cjs/v5.cjs +34 -0
- package/dist/cjs/v5.native.js +37 -0
- package/dist/cjs/v5.native.js.map +1 -0
- package/dist/esm/componentThemeDefinitions.mjs +100 -0
- package/dist/esm/componentThemeDefinitions.mjs.map +1 -0
- package/dist/esm/componentThemeDefinitions.native.js +100 -0
- package/dist/esm/componentThemeDefinitions.native.js.map +1 -0
- package/dist/esm/generated-new.mjs +1997 -0
- package/dist/esm/generated-new.mjs.map +1 -0
- package/dist/esm/generated-new.native.js +2013 -0
- package/dist/esm/generated-new.native.js.map +1 -0
- package/dist/esm/generated-v3.mjs +1075 -0
- package/dist/esm/generated-v3.mjs.map +1 -0
- package/dist/esm/generated-v3.native.js +1091 -0
- package/dist/esm/generated-v3.native.js.map +1 -0
- package/dist/esm/generated-v4-gui.mjs +909 -0
- package/dist/esm/generated-v4-gui.mjs.map +1 -0
- package/dist/esm/generated-v4-gui.native.js +925 -0
- package/dist/esm/generated-v4-gui.native.js.map +1 -0
- package/dist/esm/generated-v4.mjs +367 -0
- package/dist/esm/generated-v4.mjs.map +1 -0
- package/dist/esm/generated-v4.native.js +383 -0
- package/dist/esm/generated-v4.native.js.map +1 -0
- package/dist/esm/generated-v5-subtle.mjs +525 -0
- package/dist/esm/generated-v5-subtle.mjs.map +1 -0
- package/dist/esm/generated-v5-subtle.native.js +541 -0
- package/dist/esm/generated-v5-subtle.native.js.map +1 -0
- package/dist/esm/generated-v5.mjs +525 -0
- package/dist/esm/generated-v5.mjs.map +1 -0
- package/dist/esm/generated-v5.native.js +541 -0
- package/dist/esm/generated-v5.native.js.map +1 -0
- package/dist/esm/helpers.mjs +9 -0
- package/dist/esm/helpers.mjs.map +1 -0
- package/dist/esm/helpers.native.js +11 -0
- package/dist/esm/helpers.native.js.map +1 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +9 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +9 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/esm/opacify.mjs +72 -0
- package/dist/esm/opacify.mjs.map +1 -0
- package/dist/esm/opacify.native.js +79 -0
- package/dist/esm/opacify.native.js.map +1 -0
- package/dist/esm/palettes.mjs +29 -0
- package/dist/esm/palettes.mjs.map +1 -0
- package/dist/esm/palettes.native.js +37 -0
- package/dist/esm/palettes.native.js.map +1 -0
- package/dist/esm/shadows.mjs +20 -0
- package/dist/esm/shadows.mjs.map +1 -0
- package/dist/esm/shadows.native.js +20 -0
- package/dist/esm/shadows.native.js.map +1 -0
- package/dist/esm/subtleChildrenThemes.mjs +41 -0
- package/dist/esm/subtleChildrenThemes.mjs.map +1 -0
- package/dist/esm/subtleChildrenThemes.native.js +47 -0
- package/dist/esm/subtleChildrenThemes.native.js.map +1 -0
- package/dist/esm/templates.mjs +94 -0
- package/dist/esm/templates.mjs.map +1 -0
- package/dist/esm/templates.native.js +94 -0
- package/dist/esm/templates.native.js.map +1 -0
- package/dist/esm/themes-new.mjs +63 -0
- package/dist/esm/themes-new.mjs.map +1 -0
- package/dist/esm/themes-new.native.js +62 -0
- package/dist/esm/themes-new.native.js.map +1 -0
- package/dist/esm/themes-old.mjs +261 -0
- package/dist/esm/themes-old.mjs.map +1 -0
- package/dist/esm/themes-old.native.js +277 -0
- package/dist/esm/themes-old.native.js.map +1 -0
- package/dist/esm/themes.mjs +3 -0
- package/dist/esm/themes.mjs.map +1 -0
- package/dist/esm/themes.native.js +3 -0
- package/dist/esm/themes.native.js.map +1 -0
- package/dist/esm/tokens.mjs +124 -0
- package/dist/esm/tokens.mjs.map +1 -0
- package/dist/esm/tokens.native.js +133 -0
- package/dist/esm/tokens.native.js.map +1 -0
- package/dist/esm/utils.mjs +14 -0
- package/dist/esm/utils.mjs.map +1 -0
- package/dist/esm/utils.native.js +17 -0
- package/dist/esm/utils.native.js.map +1 -0
- package/dist/esm/v3-themes.mjs +444 -0
- package/dist/esm/v3-themes.mjs.map +1 -0
- package/dist/esm/v3-themes.native.js +456 -0
- package/dist/esm/v3-themes.native.js.map +1 -0
- package/dist/esm/v3-tokens.mjs +70 -0
- package/dist/esm/v3-tokens.mjs.map +1 -0
- package/dist/esm/v3-tokens.native.js +76 -0
- package/dist/esm/v3-tokens.native.js.map +1 -0
- package/dist/esm/v3.mjs +12 -0
- package/dist/esm/v3.mjs.map +1 -0
- package/dist/esm/v3.native.js +12 -0
- package/dist/esm/v3.native.js.map +1 -0
- package/dist/esm/v4-default.mjs +133 -0
- package/dist/esm/v4-default.mjs.map +1 -0
- package/dist/esm/v4-default.native.js +133 -0
- package/dist/esm/v4-default.native.js.map +1 -0
- package/dist/esm/v4-gui.mjs +201 -0
- package/dist/esm/v4-gui.mjs.map +1 -0
- package/dist/esm/v4-gui.native.js +206 -0
- package/dist/esm/v4-gui.native.js.map +1 -0
- package/dist/esm/v4-tokens.mjs +70 -0
- package/dist/esm/v4-tokens.mjs.map +1 -0
- package/dist/esm/v4-tokens.native.js +76 -0
- package/dist/esm/v4-tokens.native.js.map +1 -0
- package/dist/esm/v4.mjs +6 -0
- package/dist/esm/v4.mjs.map +1 -0
- package/dist/esm/v4.native.js +6 -0
- package/dist/esm/v4.native.js.map +1 -0
- package/dist/esm/v5-subtle.mjs +7 -0
- package/dist/esm/v5-subtle.mjs.map +1 -0
- package/dist/esm/v5-subtle.native.js +7 -0
- package/dist/esm/v5-subtle.native.js.map +1 -0
- package/dist/esm/v5-templates.mjs +87 -0
- package/dist/esm/v5-templates.mjs.map +1 -0
- package/dist/esm/v5-templates.native.js +100 -0
- package/dist/esm/v5-templates.native.js.map +1 -0
- package/dist/esm/v5-themes-subtle.mjs +13 -0
- package/dist/esm/v5-themes-subtle.mjs.map +1 -0
- package/dist/esm/v5-themes-subtle.native.js +13 -0
- package/dist/esm/v5-themes-subtle.native.js.map +1 -0
- package/dist/esm/v5-themes.mjs +361 -0
- package/dist/esm/v5-themes.mjs.map +1 -0
- package/dist/esm/v5-themes.native.js +403 -0
- package/dist/esm/v5-themes.native.js.map +1 -0
- package/dist/esm/v5-tokens.mjs +70 -0
- package/dist/esm/v5-tokens.mjs.map +1 -0
- package/dist/esm/v5-tokens.native.js +76 -0
- package/dist/esm/v5-tokens.native.js.map +1 -0
- package/dist/esm/v5.mjs +7 -0
- package/dist/esm/v5.mjs.map +1 -0
- package/dist/esm/v5.native.js +7 -0
- package/dist/esm/v5.native.js.map +1 -0
- package/package.json +95 -0
- package/src/componentThemeDefinitions.tsx +129 -0
- package/src/generated-new.ts +2571 -0
- package/src/generated-v3.ts +1826 -0
- package/src/generated-v4-gui.ts +2200 -0
- package/src/generated-v4.ts +1004 -0
- package/src/generated-v5-subtle.ts +2170 -0
- package/src/generated-v5.ts +2188 -0
- package/src/helpers.ts +44 -0
- package/src/index.tsx +8 -0
- package/src/opacify.ts +125 -0
- package/src/palettes.tsx +91 -0
- package/src/shadows.tsx +19 -0
- package/src/subtleChildrenThemes.ts +54 -0
- package/src/templates.tsx +104 -0
- package/src/themes-new.ts +74 -0
- package/src/themes-old.tsx +378 -0
- package/src/themes.tsx +1 -0
- package/src/tokens.tsx +199 -0
- package/src/utils.ts +51 -0
- package/src/v3-themes.ts +650 -0
- package/src/v3-tokens.ts +103 -0
- package/src/v3.tsx +12 -0
- package/src/v4-default.ts +191 -0
- package/src/v4-gui.ts +287 -0
- package/src/v4-tokens.ts +105 -0
- package/src/v4.tsx +4 -0
- package/src/v5-subtle.tsx +11 -0
- package/src/v5-templates.ts +126 -0
- package/src/v5-themes-subtle.ts +18 -0
- package/src/v5-themes.ts +626 -0
- package/src/v5-tokens.ts +107 -0
- package/src/v5.tsx +11 -0
- package/tests/v5-themes.test.ts +215 -0
- package/tsconfig.json +43 -0
- package/types/componentThemeDefinitions.d.ts +771 -0
- package/types/generated-new.d.ts +135 -0
- package/types/generated-v3.d.ts +144 -0
- package/types/generated-v4-gui.d.ts +190 -0
- package/types/generated-v4.d.ts +137 -0
- package/types/generated-v5-subtle.d.ts +244 -0
- package/types/generated-v5.d.ts +244 -0
- package/types/helpers.d.ts +24 -0
- package/types/index.d.ts +9 -0
- package/types/opacify.d.ts +9 -0
- package/types/palettes.d.ts +21 -0
- package/types/shadows.d.ts +15 -0
- package/types/subtleChildrenThemes.d.ts +305 -0
- package/types/templates.d.ts +155 -0
- package/types/themes-new.d.ts +42243 -0
- package/types/themes-old.d.ts +51411 -0
- package/types/themes.d.ts +2 -0
- package/types/tokens.d.ts +1308 -0
- package/types/utils.d.ts +21 -0
- package/types/v3-themes.d.ts +16304 -0
- package/types/v3-tokens.d.ts +184 -0
- package/types/v3.d.ts +11 -0
- package/types/v4-default.d.ts +274 -0
- package/types/v4-gui.d.ts +195 -0
- package/types/v4-tokens.d.ts +184 -0
- package/types/v4.d.ts +5 -0
- package/types/v5-subtle.d.ts +8 -0
- package/types/v5-templates.d.ts +42 -0
- package/types/v5-themes-subtle.d.ts +250 -0
- package/types/v5-themes.d.ts +752 -0
- package/types/v5-tokens.d.ts +185 -0
- package/types/v5.d.ts +8 -0
- package/v3/index.cjs +2 -0
- package/v3/index.js +2 -0
- package/v3/index.native.cjs +2 -0
- package/v3/index.native.js +2 -0
- package/v3-themes/index.cjs +2 -0
- package/v3-themes/index.js +2 -0
- package/v3-themes/index.native.cjs +2 -0
- package/v3-themes/index.native.js +2 -0
- package/v3-themes.cjs +1 -0
- package/v3-themes.d.ts +1 -0
- package/v3.cjs +1 -0
- package/v3.d.ts +1 -0
- package/v4/index.cjs +2 -0
- package/v4/index.js +2 -0
- package/v4/index.native.cjs +2 -0
- package/v4/index.native.js +2 -0
- package/v4.cjs +1 -0
- package/v4.d.ts +1 -0
- package/v5/index.cjs +2 -0
- package/v5/index.js +2 -0
- package/v5/index.native.cjs +2 -0
- package/v5/index.native.js +2 -0
- package/v5-subtle/index.cjs +2 -0
- package/v5-subtle/index.js +2 -0
- package/v5-subtle/index.native.cjs +2 -0
- package/v5-subtle/index.native.js +2 -0
- package/v5-subtle.cjs +1 -0
- package/v5-subtle.d.ts +1 -0
- package/v5.cjs +1 -0
- package/v5.d.ts +1 -0
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var themes_old_exports = {};
|
|
22
|
+
__export(themes_old_exports, {
|
|
23
|
+
themes: () => themes
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(themes_old_exports);
|
|
26
|
+
var import_create_theme = require("@hanzogui/create-theme"),
|
|
27
|
+
import_tokens = require("./tokens.cjs");
|
|
28
|
+
const lightTransparent = "rgba(255,255,255,0)",
|
|
29
|
+
darkTransparent = "rgba(10,10,10,0)",
|
|
30
|
+
palettes = {
|
|
31
|
+
dark: [darkTransparent, "#050505", "#151515", "#191919", "#232323", "#282828", "#323232", "#424242", "#494949", "#545454", "#626262", "#a5a5a5", "#fff", lightTransparent],
|
|
32
|
+
light: [lightTransparent, "#fff", "#f9f9f9", "hsl(0, 0%, 97.3%)", "hsl(0, 0%, 95.1%)", "hsl(0, 0%, 94.0%)", "hsl(0, 0%, 92.0%)", "hsl(0, 0%, 89.5%)", "hsl(0, 0%, 81.0%)", "hsl(0, 0%, 56.1%)", "hsl(0, 0%, 50.3%)", "hsl(0, 0%, 42.5%)", "hsl(0, 0%, 9.0%)", darkTransparent]
|
|
33
|
+
},
|
|
34
|
+
templateColors = {
|
|
35
|
+
color1: 1,
|
|
36
|
+
color2: 2,
|
|
37
|
+
color3: 3,
|
|
38
|
+
color4: 4,
|
|
39
|
+
color5: 5,
|
|
40
|
+
color6: 6,
|
|
41
|
+
color7: 7,
|
|
42
|
+
color8: 8,
|
|
43
|
+
color9: 9,
|
|
44
|
+
color10: 10,
|
|
45
|
+
color11: 11,
|
|
46
|
+
color12: 12
|
|
47
|
+
},
|
|
48
|
+
templateShadows = {
|
|
49
|
+
shadowColor: 1,
|
|
50
|
+
shadowColorHover: 1,
|
|
51
|
+
shadowColorPress: 2,
|
|
52
|
+
shadowColorFocus: 2
|
|
53
|
+
},
|
|
54
|
+
toSkip = {
|
|
55
|
+
...templateShadows
|
|
56
|
+
},
|
|
57
|
+
override = Object.fromEntries(Object.entries(toSkip).map(([k]) => [k, 0])),
|
|
58
|
+
overrideShadows = Object.fromEntries(Object.entries(templateShadows).map(([k]) => [k, 0])),
|
|
59
|
+
overrideWithColors = {
|
|
60
|
+
...override,
|
|
61
|
+
color: 0,
|
|
62
|
+
colorHover: 0,
|
|
63
|
+
colorFocus: 0,
|
|
64
|
+
colorPress: 0
|
|
65
|
+
},
|
|
66
|
+
template = {
|
|
67
|
+
...templateColors,
|
|
68
|
+
...toSkip,
|
|
69
|
+
// the background, color, etc keys here work like generics - they make it so you
|
|
70
|
+
// can publish components for others to use without mandating a specific color scale
|
|
71
|
+
// the @hanzogui/button Button component looks for `$background`, so you set the
|
|
72
|
+
// dark_red_Button theme to have a stronger background than the dark_red theme.
|
|
73
|
+
background: 2,
|
|
74
|
+
backgroundHover: 3,
|
|
75
|
+
backgroundPress: 4,
|
|
76
|
+
backgroundFocus: 5,
|
|
77
|
+
backgroundStrong: 1,
|
|
78
|
+
backgroundTransparent: 0,
|
|
79
|
+
color: -1,
|
|
80
|
+
colorHover: -2,
|
|
81
|
+
colorPress: -1,
|
|
82
|
+
colorFocus: -2,
|
|
83
|
+
colorTransparent: -0,
|
|
84
|
+
borderColor: 4,
|
|
85
|
+
borderColorHover: 5,
|
|
86
|
+
borderColorPress: 3,
|
|
87
|
+
borderColorFocus: 4,
|
|
88
|
+
placeholderColor: -4
|
|
89
|
+
},
|
|
90
|
+
lightShadowColor = "rgba(0,0,0,0.02)",
|
|
91
|
+
lightShadowColorStrong = "rgba(0,0,0,0.066)",
|
|
92
|
+
darkShadowColor = "rgba(0,0,0,0.2)",
|
|
93
|
+
darkShadowColorStrong = "rgba(0,0,0,0.3)",
|
|
94
|
+
lightShadows = {
|
|
95
|
+
shadowColor: lightShadowColorStrong,
|
|
96
|
+
shadowColorHover: lightShadowColorStrong,
|
|
97
|
+
shadowColorPress: lightShadowColor,
|
|
98
|
+
shadowColorFocus: lightShadowColor
|
|
99
|
+
},
|
|
100
|
+
darkShadows = {
|
|
101
|
+
shadowColor: darkShadowColorStrong,
|
|
102
|
+
shadowColorHover: darkShadowColorStrong,
|
|
103
|
+
shadowColorPress: darkShadowColor,
|
|
104
|
+
shadowColorFocus: darkShadowColor
|
|
105
|
+
},
|
|
106
|
+
lightTemplate = {
|
|
107
|
+
...template,
|
|
108
|
+
background: 2,
|
|
109
|
+
backgroundHover: 3,
|
|
110
|
+
backgroundPress: 4,
|
|
111
|
+
// our light color palette is... a bit unique
|
|
112
|
+
borderColor: 6,
|
|
113
|
+
borderColorHover: 7,
|
|
114
|
+
borderColorFocus: 5,
|
|
115
|
+
borderColorPress: 6,
|
|
116
|
+
...lightShadows
|
|
117
|
+
},
|
|
118
|
+
darkTemplate = {
|
|
119
|
+
...template,
|
|
120
|
+
...darkShadows
|
|
121
|
+
},
|
|
122
|
+
light = (0, import_create_theme.createTheme)(palettes.light, lightTemplate),
|
|
123
|
+
dark = (0, import_create_theme.createTheme)(palettes.dark, darkTemplate),
|
|
124
|
+
baseThemes = {
|
|
125
|
+
light,
|
|
126
|
+
dark
|
|
127
|
+
},
|
|
128
|
+
masks = {
|
|
129
|
+
skip: import_create_theme.skipMask,
|
|
130
|
+
weaker: (0, import_create_theme.createWeakenMask)(),
|
|
131
|
+
stronger: (0, import_create_theme.createStrengthenMask)()
|
|
132
|
+
},
|
|
133
|
+
maskOptions = {
|
|
134
|
+
override,
|
|
135
|
+
skip: toSkip,
|
|
136
|
+
// avoids the transparent ends
|
|
137
|
+
max: palettes.light.length - 2,
|
|
138
|
+
min: 1
|
|
139
|
+
},
|
|
140
|
+
transparent = (hsl, opacity = 0) => hsl.replace("%)", `%, ${opacity})`).replace("hsl(", "hsla("),
|
|
141
|
+
[lightColorThemes, darkColorThemes] = [import_tokens.colorTokens.light, import_tokens.colorTokens.dark].map((colorSet, i) => {
|
|
142
|
+
const isLight = i === 0,
|
|
143
|
+
theme = baseThemes[isLight ? "light" : "dark"];
|
|
144
|
+
return Object.fromEntries(Object.keys(colorSet).map(color => {
|
|
145
|
+
const colorPalette = Object.values(colorSet[color]),
|
|
146
|
+
[head, tail] = [colorPalette.slice(0, 6), colorPalette.slice(colorPalette.length - 5)],
|
|
147
|
+
palette = [transparent(colorPalette[0]), ...head, ...tail, theme.color, transparent(colorPalette[colorPalette.length - 1])],
|
|
148
|
+
colorTheme = (0, import_create_theme.createTheme)(palette, isLight ? {
|
|
149
|
+
...lightTemplate,
|
|
150
|
+
// light color themes are a bit less sensitive
|
|
151
|
+
borderColor: 4,
|
|
152
|
+
borderColorHover: 5,
|
|
153
|
+
borderColorFocus: 4,
|
|
154
|
+
borderColorPress: 4
|
|
155
|
+
} : darkTemplate);
|
|
156
|
+
return [color, colorTheme];
|
|
157
|
+
}));
|
|
158
|
+
}),
|
|
159
|
+
allThemes = (0, import_create_theme.addChildren)(baseThemes, (name, theme) => {
|
|
160
|
+
const isLight = name === "light",
|
|
161
|
+
inverseTheme = baseThemes[isLight ? "dark" : "light"],
|
|
162
|
+
colorThemes = isLight ? lightColorThemes : darkColorThemes,
|
|
163
|
+
inverseColorThemes = isLight ? darkColorThemes : lightColorThemes,
|
|
164
|
+
allColorThemes = (0, import_create_theme.addChildren)(colorThemes, (colorName, colorTheme) => {
|
|
165
|
+
const inverse = inverseColorThemes[colorName];
|
|
166
|
+
return {
|
|
167
|
+
...getAltThemes({
|
|
168
|
+
theme: colorTheme,
|
|
169
|
+
inverse,
|
|
170
|
+
isLight
|
|
171
|
+
}),
|
|
172
|
+
...getComponentThemes(colorTheme, inverse, isLight)
|
|
173
|
+
};
|
|
174
|
+
});
|
|
175
|
+
return {
|
|
176
|
+
...{
|
|
177
|
+
...getAltThemes({
|
|
178
|
+
theme,
|
|
179
|
+
inverse: inverseTheme,
|
|
180
|
+
isLight
|
|
181
|
+
}),
|
|
182
|
+
...getComponentThemes(theme, inverseTheme, isLight)
|
|
183
|
+
},
|
|
184
|
+
...allColorThemes
|
|
185
|
+
};
|
|
186
|
+
});
|
|
187
|
+
function getAltThemes({
|
|
188
|
+
theme,
|
|
189
|
+
inverse,
|
|
190
|
+
isLight,
|
|
191
|
+
activeTheme
|
|
192
|
+
}) {
|
|
193
|
+
const maskOptionsAlt = {
|
|
194
|
+
...maskOptions,
|
|
195
|
+
override: overrideShadows
|
|
196
|
+
},
|
|
197
|
+
alt1 = (0, import_create_theme.applyMask)(theme, masks.weaker, maskOptionsAlt),
|
|
198
|
+
alt2 = (0, import_create_theme.applyMask)(alt1, masks.weaker, maskOptionsAlt),
|
|
199
|
+
active = activeTheme ?? (process.env.ACTIVE_THEME_INVERSE ? inverse : (0, import_create_theme.applyMask)(theme, masks.weaker, {
|
|
200
|
+
...maskOptions,
|
|
201
|
+
strength: 3,
|
|
202
|
+
skip: {
|
|
203
|
+
...maskOptions.skip,
|
|
204
|
+
color: 1
|
|
205
|
+
}
|
|
206
|
+
}));
|
|
207
|
+
return (0, import_create_theme.addChildren)({
|
|
208
|
+
alt1,
|
|
209
|
+
alt2,
|
|
210
|
+
active
|
|
211
|
+
}, (_, subTheme) => getComponentThemes(subTheme, subTheme === inverse ? theme : inverse, isLight));
|
|
212
|
+
}
|
|
213
|
+
function getComponentThemes(theme, inverse, isLight) {
|
|
214
|
+
const componentMaskOptions = {
|
|
215
|
+
...maskOptions,
|
|
216
|
+
override: overrideWithColors,
|
|
217
|
+
skip: {
|
|
218
|
+
...maskOptions.skip,
|
|
219
|
+
// skip colors too just for component sub themes
|
|
220
|
+
...templateColors
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
weaker1 = (0, import_create_theme.applyMask)(theme, masks.weaker, componentMaskOptions),
|
|
224
|
+
base = (0, import_create_theme.applyMask)(weaker1, masks.stronger, componentMaskOptions),
|
|
225
|
+
weaker2 = (0, import_create_theme.applyMask)(weaker1, masks.weaker, componentMaskOptions),
|
|
226
|
+
stronger1 = (0, import_create_theme.applyMask)(theme, masks.stronger, componentMaskOptions),
|
|
227
|
+
inverse1 = (0, import_create_theme.applyMask)(inverse, masks.weaker, componentMaskOptions),
|
|
228
|
+
inverse2 = (0, import_create_theme.applyMask)(inverse1, masks.weaker, componentMaskOptions),
|
|
229
|
+
strongerBorderLighterBackground = isLight ? {
|
|
230
|
+
...stronger1,
|
|
231
|
+
borderColor: weaker1.borderColor,
|
|
232
|
+
borderColorHover: weaker1.borderColorHover,
|
|
233
|
+
borderColorPress: weaker1.borderColorPress,
|
|
234
|
+
borderColorFocus: weaker1.borderColorFocus
|
|
235
|
+
} : {
|
|
236
|
+
...(0, import_create_theme.applyMask)(theme, masks.skip, componentMaskOptions),
|
|
237
|
+
borderColor: weaker1.borderColor,
|
|
238
|
+
borderColorHover: weaker1.borderColorHover,
|
|
239
|
+
borderColorPress: weaker1.borderColorPress,
|
|
240
|
+
borderColorFocus: weaker1.borderColorFocus
|
|
241
|
+
},
|
|
242
|
+
overlayTheme = {
|
|
243
|
+
background: isLight ? "rgba(0,0,0,0.5)" : "rgba(0,0,0,0.9)"
|
|
244
|
+
},
|
|
245
|
+
weaker2WithoutBorder = {
|
|
246
|
+
...weaker2,
|
|
247
|
+
borderColor: "transparent",
|
|
248
|
+
borderColorHover: "transparent"
|
|
249
|
+
};
|
|
250
|
+
return {
|
|
251
|
+
ListItem: isLight ? stronger1 : base,
|
|
252
|
+
Card: weaker1,
|
|
253
|
+
Button: weaker2WithoutBorder,
|
|
254
|
+
Checkbox: weaker2,
|
|
255
|
+
DrawerFrame: weaker1,
|
|
256
|
+
SliderTrack: stronger1,
|
|
257
|
+
SliderTrackActive: weaker2,
|
|
258
|
+
SliderThumb: inverse1,
|
|
259
|
+
Progress: weaker1,
|
|
260
|
+
ProgressIndicator: inverse,
|
|
261
|
+
Switch: weaker2,
|
|
262
|
+
SwitchThumb: inverse2,
|
|
263
|
+
TooltipArrow: weaker1,
|
|
264
|
+
TooltipContent: weaker2,
|
|
265
|
+
Input: strongerBorderLighterBackground,
|
|
266
|
+
TextArea: strongerBorderLighterBackground,
|
|
267
|
+
Tooltip: inverse1,
|
|
268
|
+
// make overlays always dark
|
|
269
|
+
SheetOverlay: overlayTheme,
|
|
270
|
+
DialogOverlay: overlayTheme,
|
|
271
|
+
ModalOverlay: overlayTheme
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
const themes = {
|
|
275
|
+
...allThemes,
|
|
276
|
+
// bring back the full type, the rest use a subset to avoid clogging up ts,
|
|
277
|
+
// hanzo-gui will be smart and use the top level themes as the type for useTheme() etc
|
|
278
|
+
light: (0, import_create_theme.createTheme)(palettes.light, lightTemplate, {
|
|
279
|
+
nonInheritedValues: import_tokens.lightColors
|
|
280
|
+
}),
|
|
281
|
+
dark: (0, import_create_theme.createTheme)(palettes.dark, darkTemplate, {
|
|
282
|
+
nonInheritedValues: import_tokens.darkColors
|
|
283
|
+
})
|
|
284
|
+
};
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var themes_old_exports = {};
|
|
24
|
+
__export(themes_old_exports, {
|
|
25
|
+
themes: () => themes
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(themes_old_exports);
|
|
28
|
+
var import_create_theme = require("@hanzogui/create-theme"),
|
|
29
|
+
import_tokens = require("./tokens.native.js"),
|
|
30
|
+
lightTransparent = "rgba(255,255,255,0)",
|
|
31
|
+
darkTransparent = "rgba(10,10,10,0)",
|
|
32
|
+
palettes = {
|
|
33
|
+
dark: [darkTransparent, "#050505", "#151515", "#191919", "#232323", "#282828", "#323232", "#424242", "#494949", "#545454", "#626262", "#a5a5a5", "#fff", lightTransparent],
|
|
34
|
+
light: [lightTransparent, "#fff", "#f9f9f9", "hsl(0, 0%, 97.3%)", "hsl(0, 0%, 95.1%)", "hsl(0, 0%, 94.0%)", "hsl(0, 0%, 92.0%)", "hsl(0, 0%, 89.5%)", "hsl(0, 0%, 81.0%)", "hsl(0, 0%, 56.1%)", "hsl(0, 0%, 50.3%)", "hsl(0, 0%, 42.5%)", "hsl(0, 0%, 9.0%)", darkTransparent]
|
|
35
|
+
},
|
|
36
|
+
templateColors = {
|
|
37
|
+
color1: 1,
|
|
38
|
+
color2: 2,
|
|
39
|
+
color3: 3,
|
|
40
|
+
color4: 4,
|
|
41
|
+
color5: 5,
|
|
42
|
+
color6: 6,
|
|
43
|
+
color7: 7,
|
|
44
|
+
color8: 8,
|
|
45
|
+
color9: 9,
|
|
46
|
+
color10: 10,
|
|
47
|
+
color11: 11,
|
|
48
|
+
color12: 12
|
|
49
|
+
},
|
|
50
|
+
templateShadows = {
|
|
51
|
+
shadowColor: 1,
|
|
52
|
+
shadowColorHover: 1,
|
|
53
|
+
shadowColorPress: 2,
|
|
54
|
+
shadowColorFocus: 2
|
|
55
|
+
},
|
|
56
|
+
toSkip = {
|
|
57
|
+
...templateShadows
|
|
58
|
+
},
|
|
59
|
+
override = Object.fromEntries(Object.entries(toSkip).map(function (param) {
|
|
60
|
+
var [k] = param;
|
|
61
|
+
return [k, 0];
|
|
62
|
+
})),
|
|
63
|
+
overrideShadows = Object.fromEntries(Object.entries(templateShadows).map(function (param) {
|
|
64
|
+
var [k] = param;
|
|
65
|
+
return [k, 0];
|
|
66
|
+
})),
|
|
67
|
+
overrideWithColors = {
|
|
68
|
+
...override,
|
|
69
|
+
color: 0,
|
|
70
|
+
colorHover: 0,
|
|
71
|
+
colorFocus: 0,
|
|
72
|
+
colorPress: 0
|
|
73
|
+
},
|
|
74
|
+
template = {
|
|
75
|
+
...templateColors,
|
|
76
|
+
...toSkip,
|
|
77
|
+
// the background, color, etc keys here work like generics - they make it so you
|
|
78
|
+
// can publish components for others to use without mandating a specific color scale
|
|
79
|
+
// the @hanzogui/button Button component looks for `$background`, so you set the
|
|
80
|
+
// dark_red_Button theme to have a stronger background than the dark_red theme.
|
|
81
|
+
background: 2,
|
|
82
|
+
backgroundHover: 3,
|
|
83
|
+
backgroundPress: 4,
|
|
84
|
+
backgroundFocus: 5,
|
|
85
|
+
backgroundStrong: 1,
|
|
86
|
+
backgroundTransparent: 0,
|
|
87
|
+
color: -1,
|
|
88
|
+
colorHover: -2,
|
|
89
|
+
colorPress: -1,
|
|
90
|
+
colorFocus: -2,
|
|
91
|
+
colorTransparent: -0,
|
|
92
|
+
borderColor: 4,
|
|
93
|
+
borderColorHover: 5,
|
|
94
|
+
borderColorPress: 3,
|
|
95
|
+
borderColorFocus: 4,
|
|
96
|
+
placeholderColor: -4
|
|
97
|
+
},
|
|
98
|
+
lightShadowColor = "rgba(0,0,0,0.02)",
|
|
99
|
+
lightShadowColorStrong = "rgba(0,0,0,0.066)",
|
|
100
|
+
darkShadowColor = "rgba(0,0,0,0.2)",
|
|
101
|
+
darkShadowColorStrong = "rgba(0,0,0,0.3)",
|
|
102
|
+
lightShadows = {
|
|
103
|
+
shadowColor: lightShadowColorStrong,
|
|
104
|
+
shadowColorHover: lightShadowColorStrong,
|
|
105
|
+
shadowColorPress: lightShadowColor,
|
|
106
|
+
shadowColorFocus: lightShadowColor
|
|
107
|
+
},
|
|
108
|
+
darkShadows = {
|
|
109
|
+
shadowColor: darkShadowColorStrong,
|
|
110
|
+
shadowColorHover: darkShadowColorStrong,
|
|
111
|
+
shadowColorPress: darkShadowColor,
|
|
112
|
+
shadowColorFocus: darkShadowColor
|
|
113
|
+
},
|
|
114
|
+
lightTemplate = {
|
|
115
|
+
...template,
|
|
116
|
+
background: 2,
|
|
117
|
+
backgroundHover: 3,
|
|
118
|
+
backgroundPress: 4,
|
|
119
|
+
// our light color palette is... a bit unique
|
|
120
|
+
borderColor: 6,
|
|
121
|
+
borderColorHover: 7,
|
|
122
|
+
borderColorFocus: 5,
|
|
123
|
+
borderColorPress: 6,
|
|
124
|
+
...lightShadows
|
|
125
|
+
},
|
|
126
|
+
darkTemplate = {
|
|
127
|
+
...template,
|
|
128
|
+
...darkShadows
|
|
129
|
+
},
|
|
130
|
+
light = (0, import_create_theme.createTheme)(palettes.light, lightTemplate),
|
|
131
|
+
dark = (0, import_create_theme.createTheme)(palettes.dark, darkTemplate),
|
|
132
|
+
baseThemes = {
|
|
133
|
+
light,
|
|
134
|
+
dark
|
|
135
|
+
},
|
|
136
|
+
masks = {
|
|
137
|
+
skip: import_create_theme.skipMask,
|
|
138
|
+
weaker: (0, import_create_theme.createWeakenMask)(),
|
|
139
|
+
stronger: (0, import_create_theme.createStrengthenMask)()
|
|
140
|
+
},
|
|
141
|
+
maskOptions = {
|
|
142
|
+
override,
|
|
143
|
+
skip: toSkip,
|
|
144
|
+
// avoids the transparent ends
|
|
145
|
+
max: palettes.light.length - 2,
|
|
146
|
+
min: 1
|
|
147
|
+
},
|
|
148
|
+
transparent = function (hsl) {
|
|
149
|
+
var opacity = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
150
|
+
return hsl.replace("%)", `%, ${opacity})`).replace("hsl(", "hsla(");
|
|
151
|
+
},
|
|
152
|
+
[lightColorThemes, darkColorThemes] = [import_tokens.colorTokens.light, import_tokens.colorTokens.dark].map(function (colorSet, i) {
|
|
153
|
+
var isLight = i === 0,
|
|
154
|
+
theme = baseThemes[isLight ? "light" : "dark"];
|
|
155
|
+
return Object.fromEntries(Object.keys(colorSet).map(function (color) {
|
|
156
|
+
var colorPalette = Object.values(colorSet[color]),
|
|
157
|
+
[head, tail] = [colorPalette.slice(0, 6), colorPalette.slice(colorPalette.length - 5)],
|
|
158
|
+
palette = [transparent(colorPalette[0]), ...head, ...tail, theme.color, transparent(colorPalette[colorPalette.length - 1])],
|
|
159
|
+
colorTheme = (0, import_create_theme.createTheme)(palette, isLight ? {
|
|
160
|
+
...lightTemplate,
|
|
161
|
+
// light color themes are a bit less sensitive
|
|
162
|
+
borderColor: 4,
|
|
163
|
+
borderColorHover: 5,
|
|
164
|
+
borderColorFocus: 4,
|
|
165
|
+
borderColorPress: 4
|
|
166
|
+
} : darkTemplate);
|
|
167
|
+
return [color, colorTheme];
|
|
168
|
+
}));
|
|
169
|
+
}),
|
|
170
|
+
allThemes = (0, import_create_theme.addChildren)(baseThemes, function (name, theme) {
|
|
171
|
+
var isLight = name === "light",
|
|
172
|
+
inverseName = isLight ? "dark" : "light",
|
|
173
|
+
inverseTheme = baseThemes[inverseName],
|
|
174
|
+
colorThemes = isLight ? lightColorThemes : darkColorThemes,
|
|
175
|
+
inverseColorThemes = isLight ? darkColorThemes : lightColorThemes,
|
|
176
|
+
allColorThemes = (0, import_create_theme.addChildren)(colorThemes, function (colorName, colorTheme) {
|
|
177
|
+
var inverse = inverseColorThemes[colorName];
|
|
178
|
+
return {
|
|
179
|
+
...getAltThemes({
|
|
180
|
+
theme: colorTheme,
|
|
181
|
+
inverse,
|
|
182
|
+
isLight
|
|
183
|
+
}),
|
|
184
|
+
...getComponentThemes(colorTheme, inverse, isLight)
|
|
185
|
+
};
|
|
186
|
+
}),
|
|
187
|
+
baseSubThemes = {
|
|
188
|
+
...getAltThemes({
|
|
189
|
+
theme,
|
|
190
|
+
inverse: inverseTheme,
|
|
191
|
+
isLight
|
|
192
|
+
}),
|
|
193
|
+
...getComponentThemes(theme, inverseTheme, isLight)
|
|
194
|
+
};
|
|
195
|
+
return {
|
|
196
|
+
...baseSubThemes,
|
|
197
|
+
...allColorThemes
|
|
198
|
+
};
|
|
199
|
+
});
|
|
200
|
+
function getAltThemes(param) {
|
|
201
|
+
var {
|
|
202
|
+
theme,
|
|
203
|
+
inverse,
|
|
204
|
+
isLight,
|
|
205
|
+
activeTheme
|
|
206
|
+
} = param,
|
|
207
|
+
maskOptionsAlt = {
|
|
208
|
+
...maskOptions,
|
|
209
|
+
override: overrideShadows
|
|
210
|
+
},
|
|
211
|
+
alt1 = (0, import_create_theme.applyMask)(theme, masks.weaker, maskOptionsAlt),
|
|
212
|
+
alt2 = (0, import_create_theme.applyMask)(alt1, masks.weaker, maskOptionsAlt),
|
|
213
|
+
active = activeTheme ?? (process.env.ACTIVE_THEME_INVERSE ? inverse : function () {
|
|
214
|
+
return (0, import_create_theme.applyMask)(theme, masks.weaker, {
|
|
215
|
+
...maskOptions,
|
|
216
|
+
strength: 3,
|
|
217
|
+
skip: {
|
|
218
|
+
...maskOptions.skip,
|
|
219
|
+
color: 1
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
}());
|
|
223
|
+
return (0, import_create_theme.addChildren)({
|
|
224
|
+
alt1,
|
|
225
|
+
alt2,
|
|
226
|
+
active
|
|
227
|
+
}, function (_, subTheme) {
|
|
228
|
+
return getComponentThemes(subTheme, subTheme === inverse ? theme : inverse, isLight);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
function getComponentThemes(theme, inverse, isLight) {
|
|
232
|
+
var componentMaskOptions = {
|
|
233
|
+
...maskOptions,
|
|
234
|
+
override: overrideWithColors,
|
|
235
|
+
skip: {
|
|
236
|
+
...maskOptions.skip,
|
|
237
|
+
// skip colors too just for component sub themes
|
|
238
|
+
...templateColors
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
weaker1 = (0, import_create_theme.applyMask)(theme, masks.weaker, componentMaskOptions),
|
|
242
|
+
base = (0, import_create_theme.applyMask)(weaker1, masks.stronger, componentMaskOptions),
|
|
243
|
+
weaker2 = (0, import_create_theme.applyMask)(weaker1, masks.weaker, componentMaskOptions),
|
|
244
|
+
stronger1 = (0, import_create_theme.applyMask)(theme, masks.stronger, componentMaskOptions),
|
|
245
|
+
inverse1 = (0, import_create_theme.applyMask)(inverse, masks.weaker, componentMaskOptions),
|
|
246
|
+
inverse2 = (0, import_create_theme.applyMask)(inverse1, masks.weaker, componentMaskOptions),
|
|
247
|
+
strongerBorderLighterBackground = isLight ? {
|
|
248
|
+
...stronger1,
|
|
249
|
+
borderColor: weaker1.borderColor,
|
|
250
|
+
borderColorHover: weaker1.borderColorHover,
|
|
251
|
+
borderColorPress: weaker1.borderColorPress,
|
|
252
|
+
borderColorFocus: weaker1.borderColorFocus
|
|
253
|
+
} : {
|
|
254
|
+
...(0, import_create_theme.applyMask)(theme, masks.skip, componentMaskOptions),
|
|
255
|
+
borderColor: weaker1.borderColor,
|
|
256
|
+
borderColorHover: weaker1.borderColorHover,
|
|
257
|
+
borderColorPress: weaker1.borderColorPress,
|
|
258
|
+
borderColorFocus: weaker1.borderColorFocus
|
|
259
|
+
},
|
|
260
|
+
overlayTheme = {
|
|
261
|
+
background: isLight ? "rgba(0,0,0,0.5)" : "rgba(0,0,0,0.9)"
|
|
262
|
+
},
|
|
263
|
+
weaker2WithoutBorder = {
|
|
264
|
+
...weaker2,
|
|
265
|
+
borderColor: "transparent",
|
|
266
|
+
borderColorHover: "transparent"
|
|
267
|
+
};
|
|
268
|
+
return {
|
|
269
|
+
ListItem: isLight ? stronger1 : base,
|
|
270
|
+
Card: weaker1,
|
|
271
|
+
Button: weaker2WithoutBorder,
|
|
272
|
+
Checkbox: weaker2,
|
|
273
|
+
DrawerFrame: weaker1,
|
|
274
|
+
SliderTrack: stronger1,
|
|
275
|
+
SliderTrackActive: weaker2,
|
|
276
|
+
SliderThumb: inverse1,
|
|
277
|
+
Progress: weaker1,
|
|
278
|
+
ProgressIndicator: inverse,
|
|
279
|
+
Switch: weaker2,
|
|
280
|
+
SwitchThumb: inverse2,
|
|
281
|
+
TooltipArrow: weaker1,
|
|
282
|
+
TooltipContent: weaker2,
|
|
283
|
+
Input: strongerBorderLighterBackground,
|
|
284
|
+
TextArea: strongerBorderLighterBackground,
|
|
285
|
+
Tooltip: inverse1,
|
|
286
|
+
// make overlays always dark
|
|
287
|
+
SheetOverlay: overlayTheme,
|
|
288
|
+
DialogOverlay: overlayTheme,
|
|
289
|
+
ModalOverlay: overlayTheme
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
var themes = {
|
|
293
|
+
...allThemes,
|
|
294
|
+
// bring back the full type, the rest use a subset to avoid clogging up ts,
|
|
295
|
+
// hanzo-gui will be smart and use the top level themes as the type for useTheme() etc
|
|
296
|
+
light: (0, import_create_theme.createTheme)(palettes.light, lightTemplate, {
|
|
297
|
+
nonInheritedValues: import_tokens.lightColors
|
|
298
|
+
}),
|
|
299
|
+
dark: (0, import_create_theme.createTheme)(palettes.dark, darkTemplate, {
|
|
300
|
+
nonInheritedValues: import_tokens.darkColors
|
|
301
|
+
})
|
|
302
|
+
};
|
|
303
|
+
//# sourceMappingURL=themes-old.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","themes_old_exports","__export","themes","module","exports","import_create_theme","require","import_tokens","lightTransparent","darkTransparent","palettes","dark","light","templateColors","color1","color2","color3","color4","color5","color6","color7","color8","color9","color10","color11","color12","templateShadows","shadowColor","shadowColorHover","shadowColorPress","shadowColorFocus","toSkip","override","Object","fromEntries","entries","map","param","k","overrideShadows","overrideWithColors","color","colorHover","colorFocus","colorPress","template","background","backgroundHover","backgroundPress","backgroundFocus","backgroundStrong","backgroundTransparent","colorTransparent","borderColor","borderColorHover","borderColorPress","borderColorFocus","placeholderColor","lightShadowColor","lightShadowColorStrong","darkShadowColor","darkShadowColorStrong","lightShadows","darkShadows","lightTemplate","darkTemplate","createTheme","baseThemes","masks","skip","skipMask","weaker","createWeakenMask","stronger","createStrengthenMask","maskOptions","max","length","min","transparent","hsl","opacity","arguments","replace","lightColorThemes","darkColorThemes","colorTokens","colorSet","i","isLight","theme","keys","colorPalette","values","head","tail","slice","palette","colorTheme","allThemes","addChildren","name","inverseName","inverseTheme","colorThemes","inverseColorThemes","allColorThemes","colorName","inverse","getAltThemes","getComponentThemes","baseSubThemes","activeTheme","maskOptionsAlt","alt1","applyMask","alt2","active","process","env","ACTIVE_THEME_INVERSE","strength","_","subTheme","componentMaskOptions","weaker1","base","weaker2","stronger1","inverse1","inverse2","strongerBorderLighterBackground","overlayTheme","weaker2WithoutBorder","ListItem","Card","Button","Checkbox","DrawerFrame","SliderTrack","SliderTrackActive","SliderThumb"],"sources":["../../src/themes-old.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAT,YAOO,CAAAK,kBAAA;AAMP,IAAAK,mBAAM,GAAmBC,OAAA,yBACnB;EAAAC,aAAkB,GAAAD,OAAA,qBAGlB;EAAWE,gBAAA;EAAAC,eAAA;EAAAC,QAAA;IACfC,IAAA,EAAM,CACJF,eAAA,EACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,QACAD,gBAAA,CACF;IACAI,KAAA,EAAO,CACLJ,gBAAA,EACA,QACA,WACA,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,oBACAC,eAAA;EAEJ;EAEMI,cAAA,GAAiB;IACrBC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC,MAAA,EAAQ;IACRC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AtE,gBAAA;MACdC,gBAAgB,EAAAqE,OAAA,CAAArE;IAAA;IAChB4E,YAAO;MACPtF,UAAU,EAAA2C,OAAA;IAAA;IACV4C,oBAAS;MAAA,GAAAN,OAAA;MAET1E,WAAA,eAAc;MACdC,gBAAe;IAAA;EAEjB;IACFgF,QAAA,EAAA7C,OAAA,GAAAuC,SAAA,GAAAF,IAAA;IAEOS,IAAM,EAAAV,OAAS;IACpBW,MAAG,EAAAH,oBAAA;IAAAI,QAAA,EAAAV,OAAA;IAAAW,WAAA,EAAAb,OAAA;IAGHc,WAAO,EAAAX,SAAA;IACPY,iBAAM,EAAAb,OAAA;IACRc,WAAA,EAAAZ,QAAA","ignoreList":[]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var themes_exports = {};
|
|
22
|
+
__export(themes_exports, {
|
|
23
|
+
themes: () => import_generated_new.themes
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(themes_exports);
|
|
26
|
+
var import_generated_new = require("./generated-new.cjs");
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var themes_exports = {};
|
|
24
|
+
__export(themes_exports, {
|
|
25
|
+
themes: () => import_generated_new.themes
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(themes_exports);
|
|
28
|
+
var import_generated_new = require("./generated-new.native.js");
|
|
29
|
+
//# sourceMappingURL=themes.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","themes_exports","__export","themes","import_generated_new","module","exports"],"sources":["../../src/themes.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,cAAA;AAAAC,QAAA,CAAAD,cAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAC,oBAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAV,YAAuB,CAAAK,cAAA","ignoreList":[]}
|