@coolms/ui-react 0.1.0-alpha.4 → 0.1.0-alpha.42

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.
@@ -108,8 +108,14 @@
108
108
  --cms-row-height: 36px;
109
109
  --cms-row-height-sm: 28px;
110
110
  --cms-row-height-lg: 48px;
111
+ --cms-list-row-height: 40px;
112
+ --cms-list-row-height-two-line: 52px;
113
+ --cms-list-row-height-phone: 48px;
114
+ --cms-list-row-height-phone-two-line: 60px;
115
+ --cms-list-row-height-three-line: 84px;
111
116
  --cms-row-selected: #eef2f7;
112
117
  --cms-border-input: #8b929c;
118
+ --cms-border-input-focus: #374151;
113
119
  --cms-success-strong: #15803d;
114
120
  --cms-avatar-1-bg: #dbeafe;
115
121
  --cms-avatar-1-fg: #1e3a8a;
@@ -162,7 +168,35 @@
162
168
  --cms-rail-width-compact: 64px;
163
169
  --cms-tabbar-height: 56px;
164
170
  --cms-touch-target-min: 44px;
171
+ --cms-control-height-sm: 32px;
172
+ --cms-control-height-md: 40px;
173
+ --cms-control-height-lg: 44px;
165
174
  --cms-topbar-height: 64px;
175
+ --cms-pane-toolbar-height: calc(var(--cms-row-height) + 2 * var(--cms-space-2));
176
+ --cms-pane-header-height: calc(var(--cms-row-height) + 2 * var(--cms-space-3));
177
+ --cms-spinner-color: var(--cms-accent-text);
178
+ --cms-spinner-track: var(--cms-border);
179
+ --cms-spinner-size-inline: 16px;
180
+ --cms-spinner-size-block: 24px;
181
+ --cms-spinner-size-page: 32px;
182
+ --cms-spinner-stroke: 2px;
183
+ --cms-spinner-duration: 800ms;
184
+ --cms-state-delay: 300ms;
185
+ --cms-state-icon-size-page: 32px;
186
+ --cms-state-icon-size-block: 24px;
187
+ --cms-state-icon-color: var(--cms-text-muted);
188
+ --cms-state-gap: var(--cms-space-3);
189
+ --cms-state-text-gap: var(--cms-space-1);
190
+ --cms-state-measure: 48ch;
191
+ --cms-state-page-padding-block: var(--cms-space-8);
192
+ --cms-state-page-padding-inline: var(--cms-space-4);
193
+ --cms-state-title-size: var(--cms-font-size-body);
194
+ --cms-state-title-weight: var(--cms-font-weight-semibold);
195
+ --cms-state-title-color: var(--cms-text);
196
+ --cms-state-description-size: var(--cms-font-size-body);
197
+ --cms-state-description-color: var(--cms-text-muted);
198
+ --cms-state-block-size: var(--cms-font-size-body);
199
+ --cms-state-block-color: var(--cms-text-muted);
166
200
  }
167
201
 
168
202
  :root[data-theme='dark'] {
@@ -222,6 +256,7 @@
222
256
  --cms-shadow-lg: 0 8px 24px rgba(0,0,0,.55), 0 4px 8px rgba(0,0,0,.40);
223
257
  --cms-row-selected: #243450;
224
258
  --cms-border-input: #6b7f96;
259
+ --cms-border-input-focus: #c9d3e0;
225
260
  --cms-success-strong: #4ade80;
226
261
  --cms-avatar-1-bg: #1e3a8a;
227
262
  --cms-avatar-1-fg: #dbeafe;
@@ -236,3 +271,9 @@
236
271
  --cms-avatar-6-bg: #374151;
237
272
  --cms-avatar-6-fg: #e5e7eb;
238
273
  }
274
+
275
+ @media (pointer: coarse) {
276
+ :root {
277
+ --cms-control-height-md: 44px;
278
+ }
279
+ }