@humu-tech/ui 0.1.26 → 0.3.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/README.md +313 -88
- package/dist/DateInput-W7IF3TRC.css +112 -0
- package/dist/DateRangeInput-66WC5JQX.css +150 -0
- package/dist/Sidebar-RBBNUVDV.css +7 -0
- package/dist/index.d.mts +630 -65
- package/dist/index.d.ts +630 -65
- package/dist/index.js +7720 -4286
- package/dist/index.mjs +6676 -3186
- package/dist/tailwind-preset.js +142 -33
- package/dist/tailwind-preset.mjs +132 -33
- package/dist/tokens/colors.css +55 -55
- package/dist/tokens/elevation.css +10 -5
- package/dist/tokens/motion.css +23 -14
- package/dist/tokens/primitives.css +94 -0
- package/dist/tokens/primitives.d.mts +2 -0
- package/dist/tokens/primitives.d.ts +2 -0
- package/dist/tokens/semantic.css +172 -0
- package/dist/tokens/semantic.d.mts +2 -0
- package/dist/tokens/semantic.d.ts +2 -0
- package/dist/tokens/spacing.css +1 -17
- package/dist/tokens/surfaces.css +64 -98
- package/dist/tokens/typography.css +44 -23
- package/dist/tokens.css +10 -7
- package/package.json +42 -22
- package/dist/DateInput-ASNJQV43.css +0 -105
- package/dist/DateRangeInput-PC5F3TTS.css +0 -143
- package/dist/Sidebar-4ILVFQI5.css +0 -44
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
@layer humu {
|
|
2
|
+
:root {
|
|
3
|
+
--humu-color-grey-50: #fafafa;
|
|
4
|
+
--humu-color-grey-100: #f5f5f5;
|
|
5
|
+
--humu-color-grey-200: #e6e7e5;
|
|
6
|
+
--humu-color-grey-300: #bbbeb8;
|
|
7
|
+
--humu-color-grey-400: #8d9288;
|
|
8
|
+
--humu-color-grey-500: #72776d;
|
|
9
|
+
--humu-color-grey-600: #535650;
|
|
10
|
+
--humu-color-grey-700: #40433d;
|
|
11
|
+
--humu-color-grey-800: #272a24;
|
|
12
|
+
--humu-color-grey-900: #1a1c18;
|
|
13
|
+
--humu-color-grey-950: #0a0b09;
|
|
14
|
+
--humu-color-white: #ffffff;
|
|
15
|
+
--humu-color-black: #000000;
|
|
16
|
+
--humu-color-brand-50: #f8fbeb;
|
|
17
|
+
--humu-color-brand-100: #edf7cd;
|
|
18
|
+
--humu-color-brand-200: #deefa0;
|
|
19
|
+
--humu-color-brand-300: #cbe469;
|
|
20
|
+
--humu-color-brand-400: #bad83d;
|
|
21
|
+
--humu-color-brand-500: #abc928;
|
|
22
|
+
--humu-color-brand-600: #8da21d;
|
|
23
|
+
--humu-color-brand-700: #737f1a;
|
|
24
|
+
--humu-color-brand-800: #60671c;
|
|
25
|
+
--humu-color-brand-900: #55591c;
|
|
26
|
+
--humu-color-brand-950: #2f320c;
|
|
27
|
+
--humu-color-turtle-50: #f2fbfb;
|
|
28
|
+
--humu-color-turtle-100: #ddf8f9;
|
|
29
|
+
--humu-color-turtle-200: #c9f2f5;
|
|
30
|
+
--humu-color-turtle-300: #b3eaed;
|
|
31
|
+
--humu-color-turtle-400: #88d7dd;
|
|
32
|
+
--humu-color-turtle-500: #00acb5;
|
|
33
|
+
--humu-color-turtle-600: #088c96;
|
|
34
|
+
--humu-color-turtle-700: #10707a;
|
|
35
|
+
--humu-color-turtle-800: #125c67;
|
|
36
|
+
--humu-color-turtle-900: #053e47;
|
|
37
|
+
--humu-color-turtle-950: #03262b;
|
|
38
|
+
--humu-color-purple-50: #faf5ff;
|
|
39
|
+
--humu-color-purple-100: #f3e8ff;
|
|
40
|
+
--humu-color-purple-200: #e9d4ff;
|
|
41
|
+
--humu-color-purple-300: #dab2ff;
|
|
42
|
+
--humu-color-purple-400: #c27aff;
|
|
43
|
+
--humu-color-purple-500: #ad46ff;
|
|
44
|
+
--humu-color-purple-600: #9810fa;
|
|
45
|
+
--humu-color-purple-700: #8200db;
|
|
46
|
+
--humu-color-purple-800: #6e11b0;
|
|
47
|
+
--humu-color-purple-900: #59168b;
|
|
48
|
+
--humu-color-purple-950: #3c0366;
|
|
49
|
+
--humu-color-green-50: #f3fcf6;
|
|
50
|
+
--humu-color-green-100: #e2f9eb;
|
|
51
|
+
--humu-color-green-200: #cff4de;
|
|
52
|
+
--humu-color-green-300: #b8edcf;
|
|
53
|
+
--humu-color-green-400: #9ae3bb;
|
|
54
|
+
--humu-color-green-500: #00c983;
|
|
55
|
+
--humu-color-green-600: #00a46e;
|
|
56
|
+
--humu-color-green-700: #00835c;
|
|
57
|
+
--humu-color-green-800: #006748;
|
|
58
|
+
--humu-color-green-900: #00553d;
|
|
59
|
+
--humu-color-green-950: #003024;
|
|
60
|
+
--humu-color-yellow-50: #fff8e4;
|
|
61
|
+
--humu-color-yellow-100: #feefd0;
|
|
62
|
+
--humu-color-yellow-200: #fde6b7;
|
|
63
|
+
--humu-color-yellow-300: #f8da9c;
|
|
64
|
+
--humu-color-yellow-400: #edc166;
|
|
65
|
+
--humu-color-yellow-500: #e3ab12;
|
|
66
|
+
--humu-color-yellow-600: #c9880a;
|
|
67
|
+
--humu-color-yellow-700: #9a5d0e;
|
|
68
|
+
--humu-color-yellow-800: #804a13;
|
|
69
|
+
--humu-color-yellow-900: #6d3d16;
|
|
70
|
+
--humu-color-yellow-950: #3f1f09;
|
|
71
|
+
--humu-color-red-50: #fff8f7;
|
|
72
|
+
--humu-color-red-100: #ffebe7;
|
|
73
|
+
--humu-color-red-200: #ffccc3;
|
|
74
|
+
--humu-color-red-300: #ffac9e;
|
|
75
|
+
--humu-color-red-400: #f88777;
|
|
76
|
+
--humu-color-red-500: #f7493c;
|
|
77
|
+
--humu-color-red-600: #e52b1d;
|
|
78
|
+
--humu-color-red-700: #c02115;
|
|
79
|
+
--humu-color-red-800: #9f1f15;
|
|
80
|
+
--humu-color-red-900: #842018;
|
|
81
|
+
--humu-color-red-950: #480c07;
|
|
82
|
+
--humu-color-blue-50: #eff8ff;
|
|
83
|
+
--humu-color-blue-100: #daeeff;
|
|
84
|
+
--humu-color-blue-200: #bee2ff;
|
|
85
|
+
--humu-color-blue-300: #91d0ff;
|
|
86
|
+
--humu-color-blue-400: #5db5fd;
|
|
87
|
+
--humu-color-blue-500: #3795fa;
|
|
88
|
+
--humu-color-blue-600: #2177ef;
|
|
89
|
+
--humu-color-blue-700: #1960dc;
|
|
90
|
+
--humu-color-blue-800: #1b4eb2;
|
|
91
|
+
--humu-color-blue-900: #1c458c;
|
|
92
|
+
--humu-color-blue-950: #162b55;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
@layer humu {
|
|
2
|
+
:root {
|
|
3
|
+
--humu-background-default: var(--humu-color-grey-200);
|
|
4
|
+
--humu-background-inverse: var(--humu-color-white);
|
|
5
|
+
--humu-background-base: var(--humu-color-grey-100);
|
|
6
|
+
--humu-background-surface: var(--humu-color-white);
|
|
7
|
+
--humu-background-border: var(--humu-color-grey-200);
|
|
8
|
+
--humu-background-inactive: var(--humu-color-grey-200);
|
|
9
|
+
--humu-background-interaction-default: var(--humu-color-white);
|
|
10
|
+
--humu-background-interaction-hover: var(--humu-color-grey-100);
|
|
11
|
+
--humu-background-interaction-hover-tabs: var(--humu-color-grey-200);
|
|
12
|
+
--humu-background-interaction-logo: var(--humu-color-grey-950);
|
|
13
|
+
--humu-background-brand-brand: var(--humu-color-brand-500);
|
|
14
|
+
--humu-background-brand-subtle: var(--humu-color-brand-100);
|
|
15
|
+
--humu-background-brand-hover: var(--humu-color-brand-400);
|
|
16
|
+
--humu-background-brand-inactive: color-mix(in srgb, var(--humu-color-brand-500) 30%, transparent);
|
|
17
|
+
|
|
18
|
+
--humu-content-title: var(--humu-color-grey-900);
|
|
19
|
+
--humu-content-subtitle: var(--humu-color-grey-600);
|
|
20
|
+
--humu-content-body-text: var(--humu-color-grey-400);
|
|
21
|
+
--humu-content-on-brand: var(--humu-color-grey-950);
|
|
22
|
+
--humu-content-on-brand-inactive: color-mix(in srgb, var(--humu-color-grey-950) 30%, transparent);
|
|
23
|
+
--humu-content-brand: var(--humu-color-brand-600);
|
|
24
|
+
--humu-content-brand-strong: var(--humu-color-grey-950);
|
|
25
|
+
--humu-content-inactive: var(--humu-color-grey-400);
|
|
26
|
+
|
|
27
|
+
--humu-border-default: var(--humu-color-grey-300);
|
|
28
|
+
--humu-border-brand: var(--humu-color-brand-600);
|
|
29
|
+
--humu-border-brand-subtle: var(--humu-color-brand-200);
|
|
30
|
+
--humu-border-success-subtle: var(--humu-color-green-300);
|
|
31
|
+
--humu-border-warning-subtle: var(--humu-color-yellow-300);
|
|
32
|
+
--humu-border-error-subtle: var(--humu-color-red-300);
|
|
33
|
+
--humu-border-info-subtle: var(--humu-color-blue-300);
|
|
34
|
+
--humu-border-turtle: var(--humu-color-turtle-300);
|
|
35
|
+
--humu-border-purple: var(--humu-color-purple-300);
|
|
36
|
+
|
|
37
|
+
--humu-focus-ring: var(--humu-color-grey-950);
|
|
38
|
+
|
|
39
|
+
--humu-status-background-default: var(--humu-color-white);
|
|
40
|
+
--humu-status-background-success: var(--humu-color-green-500);
|
|
41
|
+
--humu-status-background-warning: var(--humu-color-yellow-500);
|
|
42
|
+
--humu-status-background-error: var(--humu-color-red-500);
|
|
43
|
+
--humu-status-background-info: var(--humu-color-blue-500);
|
|
44
|
+
--humu-status-background-turtle: var(--humu-color-turtle-500);
|
|
45
|
+
--humu-status-background-purple: var(--humu-color-purple-400);
|
|
46
|
+
--humu-status-background-success-subtle: var(--humu-color-green-200);
|
|
47
|
+
--humu-status-background-warning-subtle: var(--humu-color-yellow-200);
|
|
48
|
+
--humu-status-background-error-subtle: var(--humu-color-red-200);
|
|
49
|
+
--humu-status-background-info-subtle: var(--humu-color-blue-200);
|
|
50
|
+
--humu-status-background-turtle-subtle: var(--humu-color-turtle-200);
|
|
51
|
+
--humu-status-background-purple-subtle: var(--humu-color-purple-200);
|
|
52
|
+
|
|
53
|
+
--humu-status-content-default: var(--humu-color-grey-950);
|
|
54
|
+
--humu-status-content-contrast: var(--humu-color-white);
|
|
55
|
+
--humu-status-content-success: var(--humu-color-green-600);
|
|
56
|
+
--humu-status-content-warning: var(--humu-color-yellow-600);
|
|
57
|
+
--humu-status-content-error: var(--humu-color-red-600);
|
|
58
|
+
--humu-status-content-info: var(--humu-color-blue-600);
|
|
59
|
+
--humu-status-content-turtle: var(--humu-color-turtle-600);
|
|
60
|
+
--humu-status-content-purple: var(--humu-color-purple-600);
|
|
61
|
+
--humu-status-content-success-subtle: var(--humu-color-green-900);
|
|
62
|
+
--humu-status-content-warning-subtle: var(--humu-color-yellow-900);
|
|
63
|
+
--humu-status-content-error-subtle: var(--humu-color-red-900);
|
|
64
|
+
--humu-status-content-info-subtle: var(--humu-color-blue-900);
|
|
65
|
+
--humu-status-content-turtle-subtle: var(--humu-color-turtle-900);
|
|
66
|
+
--humu-status-content-purple-subtle: var(--humu-color-purple-900);
|
|
67
|
+
|
|
68
|
+
--humu-status-hover-default: var(--humu-color-grey-200);
|
|
69
|
+
--humu-status-hover-success: var(--humu-color-green-600);
|
|
70
|
+
--humu-status-hover-warning: var(--humu-color-yellow-600);
|
|
71
|
+
--humu-status-hover-error: var(--humu-color-red-600);
|
|
72
|
+
--humu-status-hover-info: var(--humu-color-blue-600);
|
|
73
|
+
--humu-status-hover-turtle: var(--humu-color-turtle-600);
|
|
74
|
+
--humu-status-hover-purple: var(--humu-color-purple-600);
|
|
75
|
+
--humu-status-hover-success-subtle: var(--humu-color-green-200);
|
|
76
|
+
--humu-status-hover-warning-subtle: var(--humu-color-yellow-200);
|
|
77
|
+
--humu-status-hover-error-subtle: var(--humu-color-red-200);
|
|
78
|
+
--humu-status-hover-info-subtle: var(--humu-color-blue-200);
|
|
79
|
+
--humu-status-hover-turtle-subtle: var(--humu-color-turtle-200);
|
|
80
|
+
--humu-status-hover-purple-subtle: var(--humu-color-purple-200);
|
|
81
|
+
|
|
82
|
+
--humu-chart-1: var(--humu-color-blue-500);
|
|
83
|
+
--humu-chart-2: var(--humu-color-green-500);
|
|
84
|
+
--humu-chart-3: var(--humu-color-yellow-500);
|
|
85
|
+
--humu-chart-4: var(--humu-color-purple-400);
|
|
86
|
+
--humu-chart-5: var(--humu-color-red-500);
|
|
87
|
+
--humu-chart-6: var(--humu-color-turtle-500);
|
|
88
|
+
--humu-chart-7: var(--humu-color-brand-500);
|
|
89
|
+
--humu-chart-8: var(--humu-color-purple-600);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:root[data-theme="dark"], :root.dark, [data-theme="dark"] {
|
|
93
|
+
--humu-background-default: var(--humu-color-grey-950);
|
|
94
|
+
--humu-background-inverse: var(--humu-color-grey-950);
|
|
95
|
+
--humu-background-base: var(--humu-color-grey-900);
|
|
96
|
+
--humu-background-surface: var(--humu-color-grey-800);
|
|
97
|
+
--humu-background-border: var(--humu-color-grey-700);
|
|
98
|
+
--humu-background-inactive: var(--humu-color-grey-700);
|
|
99
|
+
--humu-background-interaction-default: var(--humu-color-grey-700);
|
|
100
|
+
--humu-background-interaction-hover: var(--humu-color-grey-600);
|
|
101
|
+
--humu-background-interaction-hover-tabs: var(--humu-color-grey-700);
|
|
102
|
+
--humu-background-interaction-logo: var(--humu-color-grey-50);
|
|
103
|
+
--humu-background-brand-brand: var(--humu-color-brand-500);
|
|
104
|
+
--humu-background-brand-subtle: var(--humu-color-brand-700);
|
|
105
|
+
--humu-background-brand-hover: var(--humu-color-brand-300);
|
|
106
|
+
--humu-background-brand-inactive: color-mix(in srgb, var(--humu-color-brand-500) 30%, transparent);
|
|
107
|
+
|
|
108
|
+
--humu-content-title: var(--humu-color-grey-50);
|
|
109
|
+
--humu-content-subtitle: var(--humu-color-grey-200);
|
|
110
|
+
--humu-content-body-text: var(--humu-color-grey-300);
|
|
111
|
+
--humu-content-on-brand: var(--humu-color-grey-950);
|
|
112
|
+
--humu-content-on-brand-inactive: color-mix(in srgb, var(--humu-color-grey-950) 50%, transparent);
|
|
113
|
+
--humu-content-brand: var(--humu-color-brand-300);
|
|
114
|
+
--humu-content-brand-strong: var(--humu-color-brand-500);
|
|
115
|
+
--humu-content-inactive: var(--humu-color-grey-500);
|
|
116
|
+
|
|
117
|
+
--humu-border-default: var(--humu-color-grey-700);
|
|
118
|
+
--humu-border-brand: var(--humu-color-brand-600);
|
|
119
|
+
--humu-border-brand-subtle: var(--humu-color-brand-700);
|
|
120
|
+
--humu-border-success-subtle: var(--humu-color-green-600);
|
|
121
|
+
--humu-border-warning-subtle: var(--humu-color-yellow-600);
|
|
122
|
+
--humu-border-error-subtle: var(--humu-color-red-700);
|
|
123
|
+
--humu-border-info-subtle: var(--humu-color-blue-600);
|
|
124
|
+
--humu-border-turtle: var(--humu-color-turtle-600);
|
|
125
|
+
--humu-border-purple: var(--humu-color-purple-700);
|
|
126
|
+
|
|
127
|
+
--humu-focus-ring: var(--humu-color-brand-500);
|
|
128
|
+
|
|
129
|
+
--humu-status-background-default: var(--humu-color-grey-700);
|
|
130
|
+
--humu-status-background-success: var(--humu-color-green-500);
|
|
131
|
+
--humu-status-background-warning: var(--humu-color-yellow-500);
|
|
132
|
+
--humu-status-background-error: var(--humu-color-red-500);
|
|
133
|
+
--humu-status-background-info: var(--humu-color-blue-500);
|
|
134
|
+
--humu-status-background-turtle: var(--humu-color-turtle-500);
|
|
135
|
+
--humu-status-background-purple: var(--humu-color-purple-400);
|
|
136
|
+
--humu-status-background-success-subtle: var(--humu-color-green-900);
|
|
137
|
+
--humu-status-background-warning-subtle: var(--humu-color-yellow-900);
|
|
138
|
+
--humu-status-background-error-subtle: var(--humu-color-red-900);
|
|
139
|
+
--humu-status-background-info-subtle: var(--humu-color-blue-900);
|
|
140
|
+
--humu-status-background-turtle-subtle: var(--humu-color-turtle-900);
|
|
141
|
+
--humu-status-background-purple-subtle: var(--humu-color-purple-900);
|
|
142
|
+
|
|
143
|
+
--humu-status-content-default: var(--humu-color-grey-950);
|
|
144
|
+
--humu-status-content-contrast: var(--humu-color-white);
|
|
145
|
+
--humu-status-content-success: var(--humu-color-green-500);
|
|
146
|
+
--humu-status-content-warning: var(--humu-color-yellow-500);
|
|
147
|
+
--humu-status-content-error: var(--humu-color-red-500);
|
|
148
|
+
--humu-status-content-info: var(--humu-color-blue-500);
|
|
149
|
+
--humu-status-content-turtle: var(--humu-color-turtle-500);
|
|
150
|
+
--humu-status-content-purple: var(--humu-color-purple-500);
|
|
151
|
+
--humu-status-content-success-subtle: var(--humu-color-green-100);
|
|
152
|
+
--humu-status-content-warning-subtle: var(--humu-color-yellow-100);
|
|
153
|
+
--humu-status-content-error-subtle: var(--humu-color-red-100);
|
|
154
|
+
--humu-status-content-info-subtle: var(--humu-color-blue-100);
|
|
155
|
+
--humu-status-content-turtle-subtle: var(--humu-color-turtle-100);
|
|
156
|
+
--humu-status-content-purple-subtle: var(--humu-color-purple-100);
|
|
157
|
+
|
|
158
|
+
--humu-status-hover-default: var(--humu-color-grey-500);
|
|
159
|
+
--humu-status-hover-success: var(--humu-color-green-600);
|
|
160
|
+
--humu-status-hover-warning: var(--humu-color-yellow-600);
|
|
161
|
+
--humu-status-hover-error: var(--humu-color-red-600);
|
|
162
|
+
--humu-status-hover-info: var(--humu-color-blue-600);
|
|
163
|
+
--humu-status-hover-turtle: var(--humu-color-turtle-600);
|
|
164
|
+
--humu-status-hover-purple: var(--humu-color-purple-600);
|
|
165
|
+
--humu-status-hover-success-subtle: var(--humu-color-green-800);
|
|
166
|
+
--humu-status-hover-warning-subtle: var(--humu-color-yellow-800);
|
|
167
|
+
--humu-status-hover-error-subtle: var(--humu-color-red-800);
|
|
168
|
+
--humu-status-hover-info-subtle: var(--humu-color-blue-800);
|
|
169
|
+
--humu-status-hover-turtle-subtle: var(--humu-color-turtle-800);
|
|
170
|
+
--humu-status-hover-purple-subtle: var(--humu-color-purple-800);
|
|
171
|
+
}
|
|
172
|
+
}
|
package/dist/tokens/spacing.css
CHANGED
|
@@ -1,17 +1 @@
|
|
|
1
|
-
@layer
|
|
2
|
-
:root {
|
|
3
|
-
--v2-spacing-0: 0;
|
|
4
|
-
--v2-spacing-1: 0.25rem;
|
|
5
|
-
--v2-spacing-2: 0.5rem;
|
|
6
|
-
--v2-spacing-3: 0.75rem;
|
|
7
|
-
--v2-spacing-4: 1rem;
|
|
8
|
-
--v2-spacing-5: 1.25rem;
|
|
9
|
-
--v2-spacing-6: 1.5rem;
|
|
10
|
-
--v2-spacing-8: 2rem;
|
|
11
|
-
--v2-spacing-10: 2.5rem;
|
|
12
|
-
--v2-spacing-12: 3rem;
|
|
13
|
-
--v2-spacing-16: 4rem;
|
|
14
|
-
--v2-spacing-20: 5rem;
|
|
15
|
-
--v2-spacing-24: 6rem;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
@layer humu;
|
package/dist/tokens/surfaces.css
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer humu {
|
|
2
2
|
:root {
|
|
3
|
-
--v2-bg-app:
|
|
4
|
-
--v2-bg-shell:
|
|
5
|
-
--v2-bg-canvas: var(--
|
|
6
|
-
--v2-bg-panel: var(--
|
|
7
|
-
--v2-bg-raised: var(--
|
|
8
|
-
--v2-fg-default: var(--
|
|
9
|
-
--v2-fg-muted: var(--
|
|
10
|
-
--v2-fg-subtle: var(--
|
|
11
|
-
--v2-fg-on-primary: var(--
|
|
12
|
-
--v2-fg-on-danger: var(--
|
|
13
|
-
--v2-border-subtle: var(--
|
|
14
|
-
--v2-border-default: var(--
|
|
15
|
-
--v2-border-strong: var(--
|
|
16
|
-
--v2-brand-primary-channels:
|
|
17
|
-
--v2-brand-primary:
|
|
18
|
-
--v2-brand-primary-hover:
|
|
19
|
-
--v2-brand-on-primary:
|
|
3
|
+
--v2-bg-app: var(--humu-background-default);
|
|
4
|
+
--v2-bg-shell: var(--humu-background-base);
|
|
5
|
+
--v2-bg-canvas: var(--humu-background-base);
|
|
6
|
+
--v2-bg-panel: var(--humu-background-surface);
|
|
7
|
+
--v2-bg-raised: var(--humu-background-surface);
|
|
8
|
+
--v2-fg-default: var(--humu-content-title);
|
|
9
|
+
--v2-fg-muted: var(--humu-content-subtitle);
|
|
10
|
+
--v2-fg-subtle: var(--humu-content-body-text);
|
|
11
|
+
--v2-fg-on-primary: var(--humu-content-on-brand);
|
|
12
|
+
--v2-fg-on-danger: var(--humu-status-content-default);
|
|
13
|
+
--v2-border-subtle: var(--humu-background-border);
|
|
14
|
+
--v2-border-default: var(--humu-border-default);
|
|
15
|
+
--v2-border-strong: var(--humu-color-grey-700);
|
|
16
|
+
--v2-brand-primary-channels: 71 67% 47%;
|
|
17
|
+
--v2-brand-primary: var(--humu-background-brand-brand);
|
|
18
|
+
--v2-brand-primary-hover: var(--humu-background-brand-hover);
|
|
19
|
+
--v2-brand-on-primary: var(--humu-content-on-brand);
|
|
20
20
|
--v2-action-primary: var(--v2-brand-primary);
|
|
21
21
|
--v2-action-primary-channels: var(--v2-brand-primary-channels);
|
|
22
22
|
--v2-action-primary-hover: var(--v2-brand-primary-hover);
|
|
@@ -24,36 +24,36 @@
|
|
|
24
24
|
--v2-focus-ring: var(--v2-brand-primary);
|
|
25
25
|
--v2-focus-ring-channels: var(--v2-brand-primary-channels);
|
|
26
26
|
|
|
27
|
-
--v2-color-danger-500-channels:
|
|
28
|
-
--v2-color-warn-500-channels: 40
|
|
29
|
-
--v2-color-info-500-channels:
|
|
30
|
-
--v2-color-success-500-channels:
|
|
27
|
+
--v2-color-danger-500-channels: 4 79% 51%;
|
|
28
|
+
--v2-color-warn-500-channels: 40 91% 41%;
|
|
29
|
+
--v2-color-info-500-channels: 215 87% 53%;
|
|
30
|
+
--v2-color-success-500-channels: 160 100% 32%;
|
|
31
31
|
|
|
32
|
-
--v2-bg-subtle: var(--
|
|
32
|
+
--v2-bg-subtle: var(--humu-background-inactive);
|
|
33
33
|
|
|
34
|
-
--v2-success-soft: var(--
|
|
35
|
-
--v2-success-bg: var(--
|
|
36
|
-
--v2-success-fg: var(--
|
|
34
|
+
--v2-success-soft: var(--humu-color-green-50);
|
|
35
|
+
--v2-success-bg: var(--humu-status-background-success-subtle);
|
|
36
|
+
--v2-success-fg: var(--humu-status-content-success-subtle);
|
|
37
37
|
|
|
38
|
-
--v2-warn-soft: var(--
|
|
39
|
-
--v2-warn-bg: var(--
|
|
40
|
-
--v2-warn-fg: var(--
|
|
38
|
+
--v2-warn-soft: var(--humu-color-yellow-50);
|
|
39
|
+
--v2-warn-bg: var(--humu-status-background-warning-subtle);
|
|
40
|
+
--v2-warn-fg: var(--humu-status-content-warning-subtle);
|
|
41
41
|
|
|
42
|
-
--v2-danger-soft: var(--
|
|
43
|
-
--v2-danger-bg: var(--
|
|
44
|
-
--v2-danger-fg: var(--
|
|
42
|
+
--v2-danger-soft: var(--humu-color-red-50);
|
|
43
|
+
--v2-danger-bg: var(--humu-status-background-error-subtle);
|
|
44
|
+
--v2-danger-fg: var(--humu-status-content-error-subtle);
|
|
45
45
|
|
|
46
|
-
--v2-info-soft: var(--
|
|
47
|
-
--v2-info-bg: var(--
|
|
48
|
-
--v2-info-fg: var(--
|
|
46
|
+
--v2-info-soft: var(--humu-color-blue-50);
|
|
47
|
+
--v2-info-bg: var(--humu-status-background-info-subtle);
|
|
48
|
+
--v2-info-fg: var(--humu-status-content-info-subtle);
|
|
49
49
|
|
|
50
|
-
--v2-purple-soft: var(--
|
|
51
|
-
--v2-purple-bg: var(--
|
|
52
|
-
--v2-purple-fg: var(--
|
|
50
|
+
--v2-purple-soft: var(--humu-color-purple-50);
|
|
51
|
+
--v2-purple-bg: var(--humu-status-background-purple-subtle);
|
|
52
|
+
--v2-purple-fg: var(--humu-status-content-purple-subtle);
|
|
53
53
|
|
|
54
|
-
--v2-neutral-soft: var(--
|
|
55
|
-
--v2-neutral-bg: var(--
|
|
56
|
-
--v2-neutral-fg: var(--
|
|
54
|
+
--v2-neutral-soft: var(--humu-color-grey-50);
|
|
55
|
+
--v2-neutral-bg: var(--humu-color-grey-100);
|
|
56
|
+
--v2-neutral-fg: var(--humu-color-grey-700);
|
|
57
57
|
|
|
58
58
|
--v2-brand-bg-soft: var(--v2-brand-primary);
|
|
59
59
|
--v2-brand-text-dark: var(--v2-brand-on-primary);
|
|
@@ -61,68 +61,34 @@
|
|
|
61
61
|
--v2-row-hover: #F2F6E7;
|
|
62
62
|
--v2-row-hover-strong: #E6EDD3;
|
|
63
63
|
|
|
64
|
-
--
|
|
65
|
-
--
|
|
66
|
-
--
|
|
67
|
-
--
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
:root[data-theme="dark"], :root.dark {
|
|
71
|
-
--v2-bg-app: #3B3B3B;
|
|
72
|
-
--v2-bg-shell: hsl(0 0% 11%);
|
|
73
|
-
--v2-bg-canvas: hsl(0 0% 11%);
|
|
74
|
-
--v2-bg-panel: hsl(0 0% 17%);
|
|
75
|
-
--v2-bg-raised: hsl(0 0% 23%);
|
|
76
|
-
--v2-fg-default: hsl(0 0% 96%);
|
|
77
|
-
--v2-fg-muted: hsl(0 0% 70%);
|
|
78
|
-
--v2-fg-subtle: hsl(0 0% 55%);
|
|
79
|
-
--v2-border-subtle: hsl(0 0% 23%);
|
|
80
|
-
--v2-border-default: hsl(0 0% 28%);
|
|
81
|
-
--v2-border-strong: hsl(0 0% 42%);
|
|
82
|
-
--v2-brand-primary-channels: 72 67% 47%;
|
|
83
|
-
--v2-brand-primary: hsl(var(--v2-brand-primary-channels));
|
|
84
|
-
--v2-brand-primary-hover: hsl(72 67% 54%);
|
|
85
|
-
--v2-brand-on-primary: hsl(0 0% 13%);
|
|
86
|
-
--v2-action-primary: var(--v2-brand-primary);
|
|
87
|
-
--v2-action-primary-channels: var(--v2-brand-primary-channels);
|
|
88
|
-
--v2-action-primary-hover: var(--v2-brand-primary-hover);
|
|
89
|
-
--v2-action-on-primary: var(--v2-brand-on-primary);
|
|
90
|
-
--v2-focus-ring: var(--v2-brand-primary);
|
|
91
|
-
--v2-focus-ring-channels: var(--v2-brand-primary-channels);
|
|
64
|
+
--humu-auth-surface: #1f1f1f;
|
|
65
|
+
--humu-auth-footer: #262626;
|
|
66
|
+
--humu-auth-fg: #ffffff;
|
|
67
|
+
--humu-auth-fg-muted: #a1a1aa;
|
|
92
68
|
|
|
93
|
-
--v2-
|
|
94
|
-
--v2-
|
|
95
|
-
--v2-
|
|
96
|
-
--v2-
|
|
97
|
-
|
|
98
|
-
--v2-bg-subtle: hsl(0 0% 23%);
|
|
99
|
-
|
|
100
|
-
--v2-success-soft: oklch(0.18 0.04 150);
|
|
101
|
-
--v2-success-bg: oklch(0.25 0.08 150);
|
|
102
|
-
--v2-success-fg: oklch(0.85 0.12 150);
|
|
103
|
-
|
|
104
|
-
--v2-warn-soft: oklch(0.18 0.04 80);
|
|
105
|
-
--v2-warn-bg: oklch(0.25 0.08 80);
|
|
106
|
-
--v2-warn-fg: oklch(0.85 0.12 80);
|
|
107
|
-
|
|
108
|
-
--v2-danger-soft: oklch(0.18 0.04 27);
|
|
109
|
-
--v2-danger-bg: oklch(0.25 0.10 27);
|
|
110
|
-
--v2-danger-fg: oklch(0.85 0.14 27);
|
|
69
|
+
--v2-auth-surface: var(--humu-auth-surface);
|
|
70
|
+
--v2-auth-footer: var(--humu-auth-footer);
|
|
71
|
+
--v2-auth-fg: var(--humu-auth-fg);
|
|
72
|
+
--v2-auth-fg-muted: var(--humu-auth-fg-muted);
|
|
73
|
+
}
|
|
111
74
|
|
|
112
|
-
|
|
113
|
-
--v2-
|
|
114
|
-
--v2-info-fg: oklch(0.85 0.12 240);
|
|
75
|
+
:root[data-theme="dark"], :root.dark, [data-theme="dark"] {
|
|
76
|
+
--v2-border-strong: var(--humu-color-grey-500);
|
|
115
77
|
|
|
116
|
-
--v2-
|
|
117
|
-
--v2-
|
|
118
|
-
--v2-
|
|
78
|
+
--v2-color-danger-500-channels: 4 92% 60%;
|
|
79
|
+
--v2-color-warn-500-channels: 44 85% 48%;
|
|
80
|
+
--v2-color-info-500-channels: 211 95% 60%;
|
|
81
|
+
--v2-color-success-500-channels: 159 100% 39%;
|
|
119
82
|
|
|
120
|
-
--v2-
|
|
121
|
-
--v2-
|
|
122
|
-
--v2-
|
|
83
|
+
--v2-success-soft: var(--humu-color-green-950);
|
|
84
|
+
--v2-warn-soft: var(--humu-color-yellow-950);
|
|
85
|
+
--v2-danger-soft: var(--humu-color-red-950);
|
|
86
|
+
--v2-info-soft: var(--humu-color-blue-950);
|
|
87
|
+
--v2-purple-soft: var(--humu-color-purple-950);
|
|
123
88
|
|
|
124
|
-
--v2-
|
|
125
|
-
--v2-
|
|
89
|
+
--v2-neutral-soft: var(--humu-color-grey-900);
|
|
90
|
+
--v2-neutral-bg: var(--humu-color-grey-800);
|
|
91
|
+
--v2-neutral-fg: var(--humu-color-grey-200);
|
|
126
92
|
|
|
127
93
|
--v2-row-hover: #373A2A;
|
|
128
94
|
--v2-row-hover-strong: #4A5036;
|
|
@@ -1,30 +1,51 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer humu {
|
|
2
2
|
:root {
|
|
3
|
-
--
|
|
4
|
-
--
|
|
3
|
+
--humu-font-family-ibm-plex-sans: 'IBM Plex Sans Variable', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
4
|
+
--humu-font-family-inter: 'Inter Variable', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
5
5
|
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--v2-font-size-6xl: 3.75rem;
|
|
6
|
+
--humu-heading-x-font-size: 3rem;
|
|
7
|
+
--humu-heading-x-line-height: 3.25rem;
|
|
8
|
+
--humu-heading-x-letter-spacing: -0.01em;
|
|
9
|
+
--humu-heading-l-font-size: 2rem;
|
|
10
|
+
--humu-heading-l-line-height: 2.75rem;
|
|
11
|
+
--humu-heading-l-letter-spacing: -0.01em;
|
|
12
|
+
--humu-heading-xm-font-size: 1.5rem;
|
|
13
|
+
--humu-heading-xm-line-height: 1.75rem;
|
|
14
|
+
--humu-heading-xm-letter-spacing: 0;
|
|
16
15
|
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
16
|
+
--humu-body-m-font-size: 1.25rem;
|
|
17
|
+
--humu-body-m-line-height: 2rem;
|
|
18
|
+
--humu-body-m-letter-spacing: 0;
|
|
19
|
+
--humu-body-s-font-size: 1rem;
|
|
20
|
+
--humu-body-s-line-height: 1.5rem;
|
|
21
|
+
--humu-body-s-letter-spacing: 0;
|
|
22
|
+
--humu-body-xs-font-size: 0.875rem;
|
|
23
|
+
--humu-body-xs-line-height: 1rem;
|
|
24
|
+
--humu-body-xs-letter-spacing: 0.01em;
|
|
25
|
+
--humu-body-xxs-font-size: 0.75rem;
|
|
26
|
+
--humu-body-xxs-line-height: 0.875rem;
|
|
27
|
+
--humu-body-xxs-letter-spacing: 0.04em;
|
|
21
28
|
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
29
|
+
--humu-font-size-xs: 0.75rem;
|
|
30
|
+
--humu-font-size-sm: 0.875rem;
|
|
31
|
+
--humu-font-size-base: 1rem;
|
|
32
|
+
--humu-font-size-lg: 1.125rem;
|
|
33
|
+
--humu-font-size-xl: 1.25rem;
|
|
34
|
+
--humu-font-size-2xl: 1.5rem;
|
|
35
|
+
--humu-font-size-3xl: 1.875rem;
|
|
36
|
+
--humu-font-size-4xl: 2.25rem;
|
|
37
|
+
--humu-font-size-5xl: 3rem;
|
|
38
|
+
--humu-font-size-6xl: 3.75rem;
|
|
25
39
|
|
|
26
|
-
--v2-
|
|
27
|
-
--v2-
|
|
28
|
-
--v2-
|
|
40
|
+
--v2-font-size-xs: var(--humu-font-size-xs);
|
|
41
|
+
--v2-font-size-sm: var(--humu-font-size-sm);
|
|
42
|
+
--v2-font-size-base: var(--humu-font-size-base);
|
|
43
|
+
--v2-font-size-lg: var(--humu-font-size-lg);
|
|
44
|
+
--v2-font-size-xl: var(--humu-font-size-xl);
|
|
45
|
+
--v2-font-size-2xl: var(--humu-font-size-2xl);
|
|
46
|
+
--v2-font-size-3xl: var(--humu-font-size-3xl);
|
|
47
|
+
--v2-font-size-4xl: var(--humu-font-size-4xl);
|
|
48
|
+
--v2-font-size-5xl: var(--humu-font-size-5xl);
|
|
49
|
+
--v2-font-size-6xl: var(--humu-font-size-6xl);
|
|
29
50
|
}
|
|
30
51
|
}
|
package/dist/tokens.css
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
@import '@fontsource-variable/ibm-plex-sans';
|
|
1
2
|
@import '@fontsource-variable/inter';
|
|
2
3
|
@import '@fontsource-variable/jetbrains-mono';
|
|
3
|
-
@import './tokens/
|
|
4
|
-
@import './tokens/
|
|
5
|
-
@import './tokens/
|
|
6
|
-
@import './tokens/
|
|
7
|
-
@import './tokens/
|
|
8
|
-
@import './tokens/
|
|
9
|
-
@import './tokens/
|
|
4
|
+
@import './tokens/primitives.css' layer(humu);
|
|
5
|
+
@import './tokens/semantic.css' layer(humu);
|
|
6
|
+
@import './tokens/colors.css' layer(humu);
|
|
7
|
+
@import './tokens/typography.css' layer(humu);
|
|
8
|
+
@import './tokens/spacing.css' layer(humu);
|
|
9
|
+
@import './tokens/motion.css' layer(humu);
|
|
10
|
+
@import './tokens/elevation.css' layer(humu);
|
|
11
|
+
@import './tokens/surfaces.css' layer(humu);
|
|
12
|
+
@import './tokens/radii.css' layer(humu);
|
|
10
13
|
|
|
11
14
|
html:has(body[data-scroll-locked]) {
|
|
12
15
|
overflow: hidden;
|