@rt-tools/ui-kit 0.0.16 → 0.0.19

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 (41) hide show
  1. package/fesm2022/rt-tools-ui-kit.mjs +150 -40
  2. package/fesm2022/rt-tools-ui-kit.mjs.map +1 -1
  3. package/package.json +1 -1
  4. package/rt-tools-ui-kit-0.0.19.tgz +0 -0
  5. package/src/lib/ui-kit/aside/components/panel/aside-panel.component.scss +8 -8
  6. package/src/lib/ui-kit/buttons/multi-button/rtui-multi-button.component.scss +6 -6
  7. package/src/lib/ui-kit/checkbox/rtui-checkbox.component.scss +2 -2
  8. package/src/lib/ui-kit/dynamic-selectors/components/actions/rtui-dynamic-selector-list-actions.component.scss +1 -1
  9. package/src/lib/ui-kit/dynamic-selectors/components/multi-selector-popup/rtui-multi-selector-popup.component.scss +11 -11
  10. package/src/lib/ui-kit/dynamic-selectors/components/placeholder/rtui-dynamic-selector-placeholder.component.scss +3 -3
  11. package/src/lib/ui-kit/file-uploader/rtui-file-upload.component.scss +3 -3
  12. package/src/lib/ui-kit/modal/modal.component.scss +4 -4
  13. package/src/lib/ui-kit/scrollable/scrollable-container.component.scss +4 -4
  14. package/src/lib/ui-kit/side-menu/menu/rtui-side-menu.component.scss +1 -1
  15. package/src/lib/ui-kit/side-menu/menu-sub-item/rtui-side-menu-sub-item.component.scss +1 -1
  16. package/src/lib/ui-kit/snack-bar/snack-bar.component.scss +4 -4
  17. package/src/lib/ui-kit/spinner/spinner.component.scss +2 -2
  18. package/src/lib/ui-kit/table/components/clear-search-button/rtui-clear-button.component.scss +3 -3
  19. package/src/lib/ui-kit/table/components/pagination-view/rtui-pagination.component.scss +6 -6
  20. package/src/lib/ui-kit/table/components/table-base-cell/table-base-cell.component.scss +1 -1
  21. package/src/lib/ui-kit/table/components/table-container/table-container.component.scss +7 -7
  22. package/src/lib/ui-kit/table/components/table-header-cell/table-header-cell.component.scss +2 -2
  23. package/src/lib/ui-kit/toggle/rtui-toggle.component.scss +8 -8
  24. package/src/lib/ui-kit/toolbar/toolbar.component.scss +1 -1
  25. package/src/styles/TOKENS.md +28 -0
  26. package/src/styles/base/_base.scss +5 -12
  27. package/src/styles/base/_tokens.scss +386 -0
  28. package/src/styles/base/_variables.scss +4 -4
  29. package/src/styles/components/_action-bar.scss +8 -8
  30. package/src/styles/components/_button.scss +31 -31
  31. package/src/styles/components/_checkbox.scss +5 -5
  32. package/src/styles/components/_dynamic-selectors.scss +4 -4
  33. package/src/styles/components/_form.scss +1 -1
  34. package/src/styles/components/_rtui_button.scss +77 -77
  35. package/src/styles/components/_snackbar.scss +14 -14
  36. package/src/styles/components/_table.scss +11 -11
  37. package/src/styles/main.scss +1 -0
  38. package/src/styles/tokens.scss +5 -0
  39. package/styles/tokens.css +323 -0
  40. package/types/rt-tools-ui-kit.d.ts +53 -2
  41. package/rt-tools-ui-kit-0.0.16.tgz +0 -0
@@ -0,0 +1,323 @@
1
+ /* Material Theme */
2
+ /* Base */
3
+ /* Device Definitions */
4
+ /* Fonts */
5
+ /* Colors */
6
+ /* Components */
7
+ /* ============================== Tier 1: primitives ============================== */
8
+ /* ============================== Tier 2: semantic ============================== */
9
+ /* ============================== Foundations (mode-independent) ============================== */
10
+ /* ============================== Emission ============================== */
11
+ :root {
12
+ color-scheme: light;
13
+ /* --- Tier 1: primitives --- */
14
+ --rt-color-neutral-0: #ffffff;
15
+ --rt-color-neutral-5: #f5f6f8;
16
+ --rt-color-neutral-10: #f3f3f3;
17
+ --rt-color-neutral-15: #eeeeee;
18
+ --rt-color-neutral-20: #e8e8e8;
19
+ --rt-color-neutral-25: #e0e0e0;
20
+ --rt-color-neutral-30: #d1d1d1;
21
+ --rt-color-neutral-35: #cccccc;
22
+ --rt-color-neutral-40: #a3a3a3;
23
+ --rt-color-neutral-60: #747474;
24
+ --rt-color-neutral-80: #323033;
25
+ --rt-color-neutral-100: #181818;
26
+ --rt-color-red-10: #fdedee;
27
+ --rt-color-red-20: #efc0c1;
28
+ --rt-color-red-40: #f7b9bb;
29
+ --rt-color-red-60: #e88487;
30
+ --rt-color-red-80: #df6064;
31
+ --rt-color-red-100: #eb5055;
32
+ --rt-color-orange-5: #f6e4d9;
33
+ --rt-color-orange-10: #e8cbbf;
34
+ --rt-color-orange-20: #e1ba9e;
35
+ --rt-color-orange-40: #e4a985;
36
+ --rt-color-orange-60: #f1a05d;
37
+ --rt-color-orange-70: #f2994a;
38
+ --rt-color-orange-80: #ee7a34;
39
+ --rt-color-orange-100: #ef7128;
40
+ --rt-color-blue-20: #eaedfc;
41
+ --rt-color-blue-40: #b3ceef;
42
+ --rt-color-blue-60: #6d96e8;
43
+ --rt-color-blue-80: #4285f4;
44
+ --rt-color-blue-100: #4284d7;
45
+ --rt-color-green-10: #e5f8f4;
46
+ --rt-color-green-20: #baf4e0;
47
+ --rt-color-green-40: #5dbfbc;
48
+ --rt-color-green-60: #46c4c0;
49
+ --rt-color-green-80: #21b18e;
50
+ --rt-color-green-100: #01af8d;
51
+ --rt-color-red: #eb5055;
52
+ --rt-color-red-a5: color-mix(in srgb, #eb5055 5%, transparent);
53
+ --rt-color-red-a10: color-mix(in srgb, #eb5055 10%, transparent);
54
+ --rt-color-red-a20: color-mix(in srgb, #eb5055 20%, transparent);
55
+ --rt-color-red-a30: color-mix(in srgb, #eb5055 30%, transparent);
56
+ --rt-color-red-a40: color-mix(in srgb, #eb5055 40%, transparent);
57
+ --rt-color-red-a50: color-mix(in srgb, #eb5055 50%, transparent);
58
+ --rt-color-red-a60: color-mix(in srgb, #eb5055 60%, transparent);
59
+ --rt-color-red-a70: color-mix(in srgb, #eb5055 70%, transparent);
60
+ --rt-color-red-a80: color-mix(in srgb, #eb5055 80%, transparent);
61
+ --rt-color-red-a90: color-mix(in srgb, #eb5055 90%, transparent);
62
+ --rt-color-orange: #ef7128;
63
+ --rt-color-orange-a5: color-mix(in srgb, #ef7128 5%, transparent);
64
+ --rt-color-orange-a10: color-mix(in srgb, #ef7128 10%, transparent);
65
+ --rt-color-orange-a20: color-mix(in srgb, #ef7128 20%, transparent);
66
+ --rt-color-orange-a30: color-mix(in srgb, #ef7128 30%, transparent);
67
+ --rt-color-orange-a40: color-mix(in srgb, #ef7128 40%, transparent);
68
+ --rt-color-orange-a50: color-mix(in srgb, #ef7128 50%, transparent);
69
+ --rt-color-orange-a60: color-mix(in srgb, #ef7128 60%, transparent);
70
+ --rt-color-orange-a70: color-mix(in srgb, #ef7128 70%, transparent);
71
+ --rt-color-orange-a80: color-mix(in srgb, #ef7128 80%, transparent);
72
+ --rt-color-orange-a90: color-mix(in srgb, #ef7128 90%, transparent);
73
+ --rt-color-blue: #4284d7;
74
+ --rt-color-blue-a5: color-mix(in srgb, #4284d7 5%, transparent);
75
+ --rt-color-blue-a10: color-mix(in srgb, #4284d7 10%, transparent);
76
+ --rt-color-blue-a20: color-mix(in srgb, #4284d7 20%, transparent);
77
+ --rt-color-blue-a30: color-mix(in srgb, #4284d7 30%, transparent);
78
+ --rt-color-blue-a40: color-mix(in srgb, #4284d7 40%, transparent);
79
+ --rt-color-blue-a50: color-mix(in srgb, #4284d7 50%, transparent);
80
+ --rt-color-blue-a60: color-mix(in srgb, #4284d7 60%, transparent);
81
+ --rt-color-blue-a70: color-mix(in srgb, #4284d7 70%, transparent);
82
+ --rt-color-blue-a80: color-mix(in srgb, #4284d7 80%, transparent);
83
+ --rt-color-blue-a90: color-mix(in srgb, #4284d7 90%, transparent);
84
+ --rt-color-green: #01af8d;
85
+ --rt-color-green-a5: color-mix(in srgb, #01af8d 5%, transparent);
86
+ --rt-color-green-a10: color-mix(in srgb, #01af8d 10%, transparent);
87
+ --rt-color-green-a20: color-mix(in srgb, #01af8d 20%, transparent);
88
+ --rt-color-green-a30: color-mix(in srgb, #01af8d 30%, transparent);
89
+ --rt-color-green-a40: color-mix(in srgb, #01af8d 40%, transparent);
90
+ --rt-color-green-a50: color-mix(in srgb, #01af8d 50%, transparent);
91
+ --rt-color-green-a60: color-mix(in srgb, #01af8d 60%, transparent);
92
+ --rt-color-green-a70: color-mix(in srgb, #01af8d 70%, transparent);
93
+ --rt-color-green-a80: color-mix(in srgb, #01af8d 80%, transparent);
94
+ --rt-color-green-a90: color-mix(in srgb, #01af8d 90%, transparent);
95
+ --rt-color-brand: #0d1c2b;
96
+ --rt-color-brand-a5: color-mix(in srgb, #0d1c2b 5%, transparent);
97
+ --rt-color-brand-a10: color-mix(in srgb, #0d1c2b 10%, transparent);
98
+ --rt-color-brand-a20: color-mix(in srgb, #0d1c2b 20%, transparent);
99
+ --rt-color-brand-a30: color-mix(in srgb, #0d1c2b 30%, transparent);
100
+ --rt-color-brand-a40: color-mix(in srgb, #0d1c2b 40%, transparent);
101
+ --rt-color-brand-a50: color-mix(in srgb, #0d1c2b 50%, transparent);
102
+ --rt-color-brand-a60: color-mix(in srgb, #0d1c2b 60%, transparent);
103
+ --rt-color-brand-a70: color-mix(in srgb, #0d1c2b 70%, transparent);
104
+ --rt-color-brand-a80: color-mix(in srgb, #0d1c2b 80%, transparent);
105
+ --rt-color-brand-a90: color-mix(in srgb, #0d1c2b 90%, transparent);
106
+ --rt-color-dark-a5: rgba(24, 24, 24, 0.05);
107
+ --rt-color-light-a5: rgba(255, 255, 255, 0.05);
108
+ --rt-color-dark-a10: rgba(24, 24, 24, 0.1);
109
+ --rt-color-light-a10: rgba(255, 255, 255, 0.1);
110
+ --rt-color-dark-a15: rgba(24, 24, 24, 0.15);
111
+ --rt-color-light-a15: rgba(255, 255, 255, 0.15);
112
+ --rt-color-dark-a20: rgba(24, 24, 24, 0.2);
113
+ --rt-color-light-a20: rgba(255, 255, 255, 0.2);
114
+ --rt-color-dark-a25: rgba(24, 24, 24, 0.25);
115
+ --rt-color-light-a25: rgba(255, 255, 255, 0.25);
116
+ --rt-color-dark-a30: rgba(24, 24, 24, 0.3);
117
+ --rt-color-light-a30: rgba(255, 255, 255, 0.3);
118
+ --rt-color-dark-a40: rgba(24, 24, 24, 0.4);
119
+ --rt-color-light-a40: rgba(255, 255, 255, 0.4);
120
+ --rt-color-dark-a50: rgba(24, 24, 24, 0.5);
121
+ --rt-color-light-a50: rgba(255, 255, 255, 0.5);
122
+ --rt-color-dark-a60: rgba(24, 24, 24, 0.6);
123
+ --rt-color-light-a60: rgba(255, 255, 255, 0.6);
124
+ --rt-color-dark-a70: rgba(24, 24, 24, 0.7);
125
+ --rt-color-light-a70: rgba(255, 255, 255, 0.7);
126
+ --rt-color-dark-a80: rgba(24, 24, 24, 0.8);
127
+ --rt-color-light-a80: rgba(255, 255, 255, 0.8);
128
+ --rt-color-dark-a90: rgba(24, 24, 24, 0.9);
129
+ --rt-color-light-a90: rgba(255, 255, 255, 0.9);
130
+ /* --- Tier 2: semantic --- */
131
+ --rt-bg-base-base: var(--mat-sys-surface, light-dark(#ffffff, #1c1b1e));
132
+ --rt-bg-base-elevated: var(--mat-sys-surface-container, light-dark(#ffffff, #2a292d));
133
+ --rt-bg-base-subtle: light-dark(#f5f6f8, #232226);
134
+ --rt-bg-base-hover: light-dark(#f3f3f3, rgba(255, 255, 255, 0.06));
135
+ --rt-bg-base-active: light-dark(#eeeeee, rgba(255, 255, 255, 0.1));
136
+ --rt-bg-base-strong: light-dark(#e0e0e0, #3f3e43);
137
+ --rt-bg-base-emphasis: light-dark(#747474, #a3a3a3);
138
+ --rt-bg-base-emphasis-soft: light-dark(#a3a3a3, #747474);
139
+ --rt-bg-base-inverse: var(--mat-sys-inverse-surface, light-dark(#181818, #f3f3f3));
140
+ --rt-bg-base-inverse-soft: light-dark(#323033, #eeeeee);
141
+ --rt-bg-base-overlay: light-dark(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.6));
142
+ --rt-bg-static-light: #ffffff;
143
+ --rt-bg-static-dark: #181818;
144
+ --rt-bg-static-none: transparent;
145
+ --rt-bg-accent-primary-subtle: var(--mat-sys-primary-container, light-dark(#eaedfc, color-mix(in srgb, #4284d7 18%, #1c1b1e)));
146
+ --rt-bg-accent-primary-solid: var(--mat-sys-primary, light-dark(#4284d7, #4284d7));
147
+ --rt-bg-accent-primary-hover: light-dark(color-mix(in srgb, #4284d7 90%, #000000), color-mix(in srgb, #4284d7 90%, #ffffff));
148
+ --rt-bg-accent-primary-disabled: color-mix(in srgb, #4284d7 38%, transparent);
149
+ --rt-bg-accent-success-subtle: light-dark(#e5f8f4, color-mix(in srgb, #01af8d 18%, #1c1b1e));
150
+ --rt-bg-accent-success-solid: #21b18e;
151
+ --rt-bg-accent-success-hover: light-dark(color-mix(in srgb, #21b18e 90%, #000000), color-mix(in srgb, #21b18e 90%, #ffffff));
152
+ --rt-bg-accent-success-disabled: color-mix(in srgb, #21b18e 38%, transparent);
153
+ --rt-bg-accent-warning-subtle: light-dark(#e8cbbf, color-mix(in srgb, #ef7128 18%, #1c1b1e));
154
+ --rt-bg-accent-warning-solid: #ee7a34;
155
+ --rt-bg-accent-warning-hover: light-dark(color-mix(in srgb, #ee7a34 90%, #000000), color-mix(in srgb, #ee7a34 90%, #ffffff));
156
+ --rt-bg-accent-warning-disabled: color-mix(in srgb, #ee7a34 38%, transparent);
157
+ --rt-bg-accent-danger-subtle: var(--mat-sys-error-container, light-dark(#fdedee, color-mix(in srgb, #eb5055 18%, #1c1b1e)));
158
+ --rt-bg-accent-danger-solid: var(--mat-sys-error, light-dark(#eb5055, #eb5055));
159
+ --rt-bg-accent-danger-hover: light-dark(color-mix(in srgb, #eb5055 90%, #000000), color-mix(in srgb, #eb5055 90%, #ffffff));
160
+ --rt-bg-accent-danger-disabled: color-mix(in srgb, #eb5055 38%, transparent);
161
+ --rt-bg-accent-info-subtle: light-dark(#eaedfc, color-mix(in srgb, #4284d7 18%, #1c1b1e));
162
+ --rt-bg-accent-info-solid: #4284d7;
163
+ --rt-bg-accent-info-hover: light-dark(color-mix(in srgb, #4284d7 90%, #000000), color-mix(in srgb, #4284d7 90%, #ffffff));
164
+ --rt-bg-accent-info-disabled: color-mix(in srgb, #4284d7 38%, transparent);
165
+ --rt-bg-accent-neutral-subtle: light-dark(#f3f3f3, rgba(255, 255, 255, 0.06));
166
+ --rt-bg-accent-neutral-solid: light-dark(#747474, #a3a3a3);
167
+ --rt-bg-accent-neutral-hover: light-dark(#a3a3a3, #747474);
168
+ --rt-bg-accent-neutral-disabled: light-dark(rgba(116, 116, 116, 0.38), rgba(163, 163, 163, 0.38));
169
+ --rt-text-base-primary: var(--mat-sys-on-surface, light-dark(rgba(0, 0, 0, 0.87), rgba(255, 255, 255, 0.87)));
170
+ --rt-text-base-strong: light-dark(#181818, #f3f3f3);
171
+ --rt-text-base-soft: light-dark(#323033, #e0e0e0);
172
+ --rt-text-base-secondary: var(--mat-sys-on-surface-variant, light-dark(#747474, #a3a3a3));
173
+ --rt-text-base-disabled: light-dark(#a3a3a3, #747474);
174
+ --rt-text-base-inverse: var(--mat-sys-inverse-on-surface, light-dark(#ffffff, #181818));
175
+ --rt-text-static-light: #ffffff;
176
+ --rt-text-static-dark: #181818;
177
+ --rt-text-accent-brand: var(--mat-sys-primary, light-dark(#0d1c2b, #e8e8e8));
178
+ --rt-text-accent-primary: var(--mat-sys-primary, light-dark(#4284d7, #6d96e8));
179
+ --rt-text-accent-success: #01af8d;
180
+ --rt-text-accent-success-soft: #21b18e;
181
+ --rt-text-accent-warning: #ef7128;
182
+ --rt-text-accent-warning-soft: #ee7a34;
183
+ --rt-text-accent-danger: var(--mat-sys-error, light-dark(#eb5055, #eb5055));
184
+ --rt-text-accent-danger-soft: #e88487;
185
+ --rt-text-accent-info: #4284d7;
186
+ --rt-text-accent-info-soft: #4285f4;
187
+ --rt-icon-neutral-default: light-dark(#323033, #e0e0e0);
188
+ --rt-icon-neutral-soft: light-dark(#747474, #a3a3a3);
189
+ --rt-icon-neutral-disabled: light-dark(#a3a3a3, #747474);
190
+ --rt-icon-neutral-inverse: light-dark(#ffffff, #181818);
191
+ --rt-icon-static-light: #ffffff;
192
+ --rt-icon-static-dark: #181818;
193
+ --rt-icon-accent-brand: var(--mat-sys-primary, light-dark(#0d1c2b, #e8e8e8));
194
+ --rt-icon-accent-primary: var(--mat-sys-primary, light-dark(#4284d7, #6d96e8));
195
+ --rt-icon-accent-success: #01af8d;
196
+ --rt-icon-accent-warning: #ef7128;
197
+ --rt-icon-accent-danger: var(--mat-sys-error, light-dark(#eb5055, #eb5055));
198
+ --rt-icon-accent-info: #4284d7;
199
+ --rt-border-neutral-subtle: light-dark(#e8e8e8, #2e2d31);
200
+ --rt-border-neutral-default: var(--mat-sys-outline-variant, light-dark(#e0e0e0, #3f3e43));
201
+ --rt-border-neutral-medium: light-dark(#d1d1d1, #4a494e);
202
+ --rt-border-neutral-divider: light-dark(#cccccc, #4a494e);
203
+ --rt-border-neutral-strong: var(--mat-sys-outline, light-dark(#a3a3a3, #5c5b60));
204
+ --rt-border-neutral-emphasis: light-dark(#747474, #a3a3a3);
205
+ --rt-border-accent-primary: var(--mat-sys-primary, light-dark(#4284d7, #6d96e8));
206
+ --rt-border-accent-success: #01af8d;
207
+ --rt-border-accent-warning: #ef7128;
208
+ --rt-border-accent-danger: var(--mat-sys-error, light-dark(#eb5055, #eb5055));
209
+ --rt-border-accent-danger-soft: #e88487;
210
+ --rt-border-accent-info: #4284d7;
211
+ --rt-border-focus: light-dark(#b3ceef, #6d96e8);
212
+ --rt-control-track: light-dark(#e8e8e8, #4a494e);
213
+ --rt-control-thumb: light-dark(#ffffff, #eeeeee);
214
+ --rt-control-checked: light-dark(#323033, #e0e0e0);
215
+ --rt-scrollbar-thumb: light-dark(#cccccc, #4a494e);
216
+ --rt-scrollbar-thumb-hover: light-dark(#a3a3a3, #5c5b60);
217
+ --rt-shadow-color: light-dark(#747474, rgba(0, 0, 0, 0.6));
218
+ /* --- Foundations --- */
219
+ --rt-spacing-0: 0;
220
+ --rt-spacing-2: 0.125rem;
221
+ --rt-spacing-4: 0.25rem;
222
+ --rt-spacing-6: 0.375rem;
223
+ --rt-spacing-8: 0.5rem;
224
+ --rt-spacing-12: 0.75rem;
225
+ --rt-spacing-16: 1rem;
226
+ --rt-spacing-20: 1.25rem;
227
+ --rt-spacing-24: 1.5rem;
228
+ --rt-spacing-32: 2rem;
229
+ --rt-spacing-40: 2.5rem;
230
+ --rt-spacing-48: 3rem;
231
+ --rt-spacing-56: 3.5rem;
232
+ --rt-spacing-64: 4rem;
233
+ --rt-radius-xs: 0.25rem;
234
+ --rt-radius-sm: 0.5rem;
235
+ --rt-radius-md: 0.75rem;
236
+ --rt-radius-lg: 1rem;
237
+ --rt-radius-xl: 1.5rem;
238
+ --rt-radius-2xl: 2rem;
239
+ --rt-radius-full: 624.9375rem;
240
+ --rt-font-size-xs: 0.75rem;
241
+ --rt-font-size-sm: 0.875rem;
242
+ --rt-font-size-md: 1rem;
243
+ --rt-font-size-lg: 1.25rem;
244
+ --rt-font-size-xl: 1.5rem;
245
+ --rt-font-weight-regular: 400;
246
+ --rt-font-weight-medium: 500;
247
+ --rt-font-weight-semibold: 600;
248
+ --rt-font-weight-bold: 700;
249
+ --rt-shadow-sm: 0 0.0625rem 0.25rem 0 rgba(0, 0, 0, 0.12);
250
+ --rt-shadow-md: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.14);
251
+ --rt-shadow-lg: 0 0.5rem 1rem 0 var(--rt-shadow-color);
252
+ --rt-transition-fast: 0.15s ease-in-out;
253
+ --rt-transition-base: 0.25s ease-in-out;
254
+ --rt-transition-slow: 0.4s ease-in-out;
255
+ --rt-z-index-dropdown: 1000;
256
+ --rt-z-index-sticky: 1020;
257
+ --rt-z-index-overlay: 1040;
258
+ --rt-z-index-modal: 1060;
259
+ --rt-z-index-popover: 1080;
260
+ --rt-z-index-tooltip: 1100;
261
+ --rt-breakpoint-xs: 600px;
262
+ --rt-breakpoint-sm: 720px;
263
+ --rt-breakpoint-md: 960px;
264
+ --rt-breakpoint-lg: 1280px;
265
+ --rt-breakpoint-xl: 1920px;
266
+ /* --- Deprecated aliases (legacy --clr-*; remove after consumers migrate) --- */
267
+ --clr-white-100: var(--rt-color-neutral-0);
268
+ --clr-gray-5: var(--rt-color-neutral-5);
269
+ --clr-gray-10: var(--rt-color-neutral-20);
270
+ --clr-gray-15: var(--rt-color-neutral-30);
271
+ --clr-gray-20: var(--rt-color-neutral-35);
272
+ --clr-black-10: var(--rt-color-neutral-10);
273
+ --clr-black-15: var(--rt-color-neutral-15);
274
+ --clr-black-20: var(--rt-color-neutral-25);
275
+ --clr-black-30: #b2cbca;
276
+ --clr-black-40: var(--rt-color-neutral-40);
277
+ --clr-black-60: var(--rt-color-neutral-60);
278
+ --clr-black-80: var(--rt-color-neutral-80);
279
+ --clr-black-100: var(--rt-color-neutral-100);
280
+ --clr-red-10: var(--rt-color-red-10);
281
+ --clr-red-20: var(--rt-color-red-20);
282
+ --clr-red-40: var(--rt-color-red-40);
283
+ --clr-red-60: var(--rt-color-red-60);
284
+ --clr-red-80: var(--rt-color-red-80);
285
+ --clr-red-100: var(--rt-color-red-100);
286
+ --clr-orange-5: var(--rt-color-orange-5);
287
+ --clr-orange-10: var(--rt-color-orange-10);
288
+ --clr-orange-20: var(--rt-color-orange-20);
289
+ --clr-orange-40: var(--rt-color-orange-40);
290
+ --clr-orange-60: var(--rt-color-orange-60);
291
+ --clr-orange-70: var(--rt-color-orange-70);
292
+ --clr-orange-80: var(--rt-color-orange-80);
293
+ --clr-orange-100: var(--rt-color-orange-100);
294
+ --clr-blue-20: var(--rt-color-blue-20);
295
+ --clr-blue-40: var(--rt-color-blue-40);
296
+ --clr-blue-60: var(--rt-color-blue-60);
297
+ --clr-blue-80: var(--rt-color-blue-80);
298
+ --clr-blue-100: var(--rt-color-blue-100);
299
+ --clr-green-10: var(--rt-color-green-10);
300
+ --clr-green-20: var(--rt-color-green-20);
301
+ --clr-green-40: var(--rt-color-green-40);
302
+ --clr-green-60: var(--rt-color-green-60);
303
+ --clr-green-80: var(--rt-color-green-80);
304
+ --clr-green-100: var(--rt-color-green-100);
305
+ --clr-txt: var(--rt-text-base-primary);
306
+ --clr-base-accent: var(--rt-color-brand);
307
+ --clr-white-rgb: 255, 255, 255;
308
+ }
309
+
310
+ /* Theme switching: global class + nested local contexts (GMT data-theme analogue) */
311
+ .rt-dark,
312
+ [data-rt-theme=dark] {
313
+ color-scheme: dark;
314
+ }
315
+
316
+ [data-rt-theme=light] {
317
+ color-scheme: light;
318
+ }
319
+
320
+ /* 'auto' follows prefers-color-scheme */
321
+ .rt-theme-auto {
322
+ color-scheme: light dark;
323
+ }
@@ -1590,5 +1590,56 @@ declare class RtActionBarService {
1590
1590
  static ɵprov: i0.ɵɵInjectableDeclaration<RtActionBarService>;
1591
1591
  }
1592
1592
 
1593
- export { ASIDE_BUTTONS_ENUM, ASIDE_REF, AsideRef, BUTTON_APPEARANCE, BUTTON_COLOR, BUTTON_SIZE, DEFAULT_PAGE_MODEL, DEFAULT_PAGE_SIZE, IAside, IModal, INFO_BADGE_SIZE_ENUM, INFO_BADGE_TYPE_ENUM, IRtActionBar, IRtSnackBar, ISideMenu, ITable, MODAL_WINDOW_SIZE_ENUM, RTUI_TABLE_COMPONENT_TOKEN, RTUI_TABLE_STOP_ROW_CLICK_ATTRIBUTE, RtActionBarService, RtAsideService, RtDynamicListSelectorsDirective, RtModalService, RtPopoverDirective, RtSnackBarService, RtTableConfigService, RtTableSelectorsDirective, RtuiActionBarComponent, RtuiActionBarContainerComponent, RtuiAsideContainerComponent, RtuiAsideContainerHeaderDirective, RtuiButtonComponent, RtuiClearButtonComponent, RtuiCustomTableCellsDirective, RtuiDynamicInputAdditionalControlDirective, RtuiDynamicInputComponent, RtuiDynamicListComponent, RtuiDynamicListCustomTableCellsDirective, RtuiDynamicListRowActionsDirective, RtuiDynamicListRowAdditionalActionsDirective, RtuiDynamicListToolbarActionsDirective, RtuiDynamicListToolbarSelectorsDirective, RtuiDynamicSelectorAdditionalControlDirective, RtuiDynamicSelectorComponent, RtuiDynamicSelectorItemAdditionalControlDirective, RtuiDynamicSelectorItemTitleDirective, RtuiDynamicSelectorItemTitleProjectionDirective, RtuiDynamicSelectorListActionsComponent, RtuiDynamicSelectorPlaceholderComponent, RtuiDynamicSelectorSelectedListComponent, RtuiFileUploadComponent, RtuiHeaderCenterDirective, RtuiHeaderComponent, RtuiHeaderLeftDirective, RtuiHeaderRightDirective, RtuiImageUploadComponent, RtuiInfoBadgeComponent, RtuiModalComponent, RtuiMultiButtonComponent, RtuiMultiSelectorPopupComponent, RtuiPaginationComponent, RtuiRoundIconButtonComponent, RtuiScrollableContainerComponent, RtuiScrollableContainerContentDirective, RtuiScrollableContainerFooterDirective, RtuiScrollableContainerHeaderDirective, RtuiSideMenuComponent, RtuiSideMenuFooterDirective, RtuiSideMenuHeaderDirective, RtuiSnackBarComponent, RtuiSpinnerComponent, RtuiStopTableRowClickDirective, RtuiTableAdditionalRowActionsDirective, RtuiTableComponent, RtuiTableRowActionsDirective, RtuiTableRowClickDirective, RtuiToggleComponent, RtuiToolbarCenterDirective, RtuiToolbarComponent, RtuiToolbarLeftDirective, RtuiToolbarRightDirective, TABLE_COLUMN_FILTER_TYPES_ENUM, TABLE_COLUMN_TYPES_ENUM, TEXT_CELL_COLOR_ENUM, TOGGLE_SIZE_TYPE_ENUM, darkenHexColor, ddServices, getColorBasedOnBackground, progressDecreaseAnimation, progressIncreaseAnimation, provideRtUi };
1594
- export type { AsideButtonsType, AsidePositions, ButtonAppearanceType, ButtonColorType, ButtonSizeType, IImageUploadFormat, IInfoBadgeSizeType, IRtuiTable, Icon, IconSideType, InfoBadgeType, MenuItemTrigger, ModalWindowSizeType, NameValueType, Select, ToggleSizeType };
1593
+ declare enum RT_THEME_ENUM {
1594
+ LIGHT = "light",
1595
+ DARK = "dark",
1596
+ AUTO = "auto"
1597
+ }
1598
+ type RtThemeType = `${RT_THEME_ENUM}`;
1599
+ declare const RT_THEME_STORAGE_KEY: string;
1600
+ declare const RT_DARK_CLASS: string;
1601
+ declare const RT_THEME_AUTO_CLASS: string;
1602
+ declare const RT_THEME_ATTRIBUTE: string;
1603
+
1604
+ /**
1605
+ * Global theme switcher for the rt-tools design tokens.
1606
+ *
1607
+ * Applies `.rt-dark` / `.rt-theme-auto` to `<html>`; all semantic tokens
1608
+ * (`--rt-*`) adapt through `color-scheme` + `light-dark()`.
1609
+ * The chosen theme is persisted to localStorage (`rt-theme` key).
1610
+ *
1611
+ * `auto` follows the OS preference (`prefers-color-scheme`).
1612
+ */
1613
+ declare class RtThemeService {
1614
+ #private;
1615
+ readonly theme: Signal<RtThemeType>;
1616
+ constructor();
1617
+ setTheme(theme: RtThemeType): void;
1618
+ /** Toggles between light and dark (auto resolves to its opposite visual state). */
1619
+ toggle(): void;
1620
+ static ɵfac: i0.ɵɵFactoryDeclaration<RtThemeService, never>;
1621
+ static ɵprov: i0.ɵɵInjectableDeclaration<RtThemeService>;
1622
+ }
1623
+
1624
+ /**
1625
+ * Local theme context (GMT `data-theme` analogue).
1626
+ *
1627
+ * Sets `data-rt-theme` on the host, re-scoping all adaptive `--rt-*` tokens
1628
+ * inside the subtree through `color-scheme` + `light-dark()`:
1629
+ *
1630
+ * ```html
1631
+ * <!-- dark promo card inside a light page -->
1632
+ * <section [rtTheme]="'dark'">…</section>
1633
+ * ```
1634
+ *
1635
+ * Note: `color` is inherited as a resolved value — re-apply text tokens
1636
+ * on elements inside the context (e.g. `color: var(--rt-text-base-primary)`).
1637
+ */
1638
+ declare class RtThemeDirective {
1639
+ readonly rtTheme: InputSignal<RtThemeType | ''>;
1640
+ static ɵfac: i0.ɵɵFactoryDeclaration<RtThemeDirective, never>;
1641
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RtThemeDirective, "[rtTheme]", never, { "rtTheme": { "alias": "rtTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1642
+ }
1643
+
1644
+ export { ASIDE_BUTTONS_ENUM, ASIDE_REF, AsideRef, BUTTON_APPEARANCE, BUTTON_COLOR, BUTTON_SIZE, DEFAULT_PAGE_MODEL, DEFAULT_PAGE_SIZE, IAside, IModal, INFO_BADGE_SIZE_ENUM, INFO_BADGE_TYPE_ENUM, IRtActionBar, IRtSnackBar, ISideMenu, ITable, MODAL_WINDOW_SIZE_ENUM, RTUI_TABLE_COMPONENT_TOKEN, RTUI_TABLE_STOP_ROW_CLICK_ATTRIBUTE, RT_DARK_CLASS, RT_THEME_ATTRIBUTE, RT_THEME_AUTO_CLASS, RT_THEME_ENUM, RT_THEME_STORAGE_KEY, RtActionBarService, RtAsideService, RtDynamicListSelectorsDirective, RtModalService, RtPopoverDirective, RtSnackBarService, RtTableConfigService, RtTableSelectorsDirective, RtThemeDirective, RtThemeService, RtuiActionBarComponent, RtuiActionBarContainerComponent, RtuiAsideContainerComponent, RtuiAsideContainerHeaderDirective, RtuiButtonComponent, RtuiClearButtonComponent, RtuiCustomTableCellsDirective, RtuiDynamicInputAdditionalControlDirective, RtuiDynamicInputComponent, RtuiDynamicListComponent, RtuiDynamicListCustomTableCellsDirective, RtuiDynamicListRowActionsDirective, RtuiDynamicListRowAdditionalActionsDirective, RtuiDynamicListToolbarActionsDirective, RtuiDynamicListToolbarSelectorsDirective, RtuiDynamicSelectorAdditionalControlDirective, RtuiDynamicSelectorComponent, RtuiDynamicSelectorItemAdditionalControlDirective, RtuiDynamicSelectorItemTitleDirective, RtuiDynamicSelectorItemTitleProjectionDirective, RtuiDynamicSelectorListActionsComponent, RtuiDynamicSelectorPlaceholderComponent, RtuiDynamicSelectorSelectedListComponent, RtuiFileUploadComponent, RtuiHeaderCenterDirective, RtuiHeaderComponent, RtuiHeaderLeftDirective, RtuiHeaderRightDirective, RtuiImageUploadComponent, RtuiInfoBadgeComponent, RtuiModalComponent, RtuiMultiButtonComponent, RtuiMultiSelectorPopupComponent, RtuiPaginationComponent, RtuiRoundIconButtonComponent, RtuiScrollableContainerComponent, RtuiScrollableContainerContentDirective, RtuiScrollableContainerFooterDirective, RtuiScrollableContainerHeaderDirective, RtuiSideMenuComponent, RtuiSideMenuFooterDirective, RtuiSideMenuHeaderDirective, RtuiSnackBarComponent, RtuiSpinnerComponent, RtuiStopTableRowClickDirective, RtuiTableAdditionalRowActionsDirective, RtuiTableComponent, RtuiTableRowActionsDirective, RtuiTableRowClickDirective, RtuiToggleComponent, RtuiToolbarCenterDirective, RtuiToolbarComponent, RtuiToolbarLeftDirective, RtuiToolbarRightDirective, TABLE_COLUMN_FILTER_TYPES_ENUM, TABLE_COLUMN_TYPES_ENUM, TEXT_CELL_COLOR_ENUM, TOGGLE_SIZE_TYPE_ENUM, darkenHexColor, ddServices, getColorBasedOnBackground, progressDecreaseAnimation, progressIncreaseAnimation, provideRtUi };
1645
+ export type { AsideButtonsType, AsidePositions, ButtonAppearanceType, ButtonColorType, ButtonSizeType, IImageUploadFormat, IInfoBadgeSizeType, IRtuiTable, Icon, IconSideType, InfoBadgeType, MenuItemTrigger, ModalWindowSizeType, NameValueType, RtThemeType, Select, ToggleSizeType };
Binary file