@coolms/ui-react 0.1.0-alpha.1 → 0.1.0-alpha.3
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/CHANGELOG.md +40 -1
- package/README.md +8 -3
- package/design-tokens.lock.json +28 -4
- package/dist/components/Call.d.ts +41 -0
- package/dist/components/Icon.d.ts +12 -0
- package/dist/components/SignIn.d.ts +30 -0
- package/dist/components/Structure.d.ts +2 -0
- package/dist/components/Workspace.d.ts +129 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +784 -349
- package/package.json +7 -4
- package/src/fonts/OFL.txt +92 -0
- package/src/fonts/inter-cyrillic.woff2 +0 -0
- package/src/fonts/inter-latin-ext.woff2 +0 -0
- package/src/fonts/inter-latin.woff2 +0 -0
- package/src/fonts/inter.css +27 -0
- package/src/kit.css +261 -0
- package/src/tokens/coolms-tokens.css +78 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolms/ui-react",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.3",
|
|
4
4
|
"description": "The CoolMS UI kit for React: the components of the CoolMS UI contract, styled by the CoolMS design tokens",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,12 +22,14 @@
|
|
|
22
22
|
"import": "./dist/index.js"
|
|
23
23
|
},
|
|
24
24
|
"./kit.css": "./src/kit.css",
|
|
25
|
-
"./tokens.css": "./src/tokens/coolms-tokens.css"
|
|
25
|
+
"./tokens.css": "./src/tokens/coolms-tokens.css",
|
|
26
|
+
"./fonts.css": "./src/fonts/inter.css"
|
|
26
27
|
},
|
|
27
28
|
"files": [
|
|
28
29
|
"dist",
|
|
29
30
|
"src/kit.css",
|
|
30
31
|
"src/tokens",
|
|
32
|
+
"src/fonts",
|
|
31
33
|
"kit.contract.json",
|
|
32
34
|
"design-tokens.lock.json",
|
|
33
35
|
"CHANGELOG.md"
|
|
@@ -36,10 +38,11 @@
|
|
|
36
38
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
37
39
|
"test": "vitest run",
|
|
38
40
|
"check": "node tools/check-kit.mjs kit.contract.json && node tools/check-kit-sources.mjs kit.contract.json",
|
|
39
|
-
"tokens:check": "node tools/tokens-lock.mjs && node tools/check-css-tokens.mjs",
|
|
41
|
+
"tokens:check": "node tools/tokens-lock.mjs && node tools/check-css.mjs src/tokens/coolms-tokens.css && node tools/check-css-teeth.mjs && node tools/check-css-tokens.mjs && node tools/check-breakpoints.mjs",
|
|
40
42
|
"demo": "vite --config demo/vite.config.ts",
|
|
41
43
|
"demo:build": "vite build --config demo/vite.config.ts",
|
|
42
|
-
"
|
|
44
|
+
"check:layout": "node tools/check-layout.mjs",
|
|
45
|
+
"verify": "npm run tokens:check && npm run check && npm run typecheck && npm test && npm run build && npm run check:built && npm run demo:build && npm run check:layout",
|
|
43
46
|
"build": "vite build --config vite.lib.config.ts && tsc -p tsconfig.build.json",
|
|
44
47
|
"check:built": "node tools/check-built.mjs",
|
|
45
48
|
"prepack": "npm run build"
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
-----------------------------------------------------------
|
|
8
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
PREAMBLE
|
|
12
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
13
|
+
development of collaborative font projects, to support the font creation
|
|
14
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
15
|
+
open framework in which fonts may be shared and improved in partnership
|
|
16
|
+
with others.
|
|
17
|
+
|
|
18
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
19
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
20
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
21
|
+
redistributed and/or sold with any software provided that any reserved
|
|
22
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
23
|
+
however, cannot be released under any other type of license. The
|
|
24
|
+
requirement for fonts to remain under this license does not apply
|
|
25
|
+
to any document created using the fonts or their derivatives.
|
|
26
|
+
|
|
27
|
+
DEFINITIONS
|
|
28
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
29
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
30
|
+
include source files, build scripts and documentation.
|
|
31
|
+
|
|
32
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
33
|
+
copyright statement(s).
|
|
34
|
+
|
|
35
|
+
"Original Version" refers to the collection of Font Software components as
|
|
36
|
+
distributed by the Copyright Holder(s).
|
|
37
|
+
|
|
38
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
39
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
40
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
41
|
+
new environment.
|
|
42
|
+
|
|
43
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
44
|
+
writer or other person who contributed to the Font Software.
|
|
45
|
+
|
|
46
|
+
PERMISSION AND CONDITIONS
|
|
47
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
48
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
49
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
50
|
+
Software, subject to the following conditions:
|
|
51
|
+
|
|
52
|
+
1) Neither the Font Software nor any of its individual components,
|
|
53
|
+
in Original or Modified Versions, may be sold by itself.
|
|
54
|
+
|
|
55
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
56
|
+
redistributed and/or sold with any software, provided that each copy
|
|
57
|
+
contains the above copyright notice and this license. These can be
|
|
58
|
+
included either as stand-alone text files, human-readable headers or
|
|
59
|
+
in the appropriate machine-readable metadata fields within text or
|
|
60
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
61
|
+
|
|
62
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
63
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
64
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
65
|
+
presented to the users.
|
|
66
|
+
|
|
67
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
68
|
+
Software shall not be used to promote, endorse or advertise any
|
|
69
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
70
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
71
|
+
permission.
|
|
72
|
+
|
|
73
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
74
|
+
must be distributed entirely under this license, and must not be
|
|
75
|
+
distributed under any other license. The requirement for fonts to
|
|
76
|
+
remain under this license does not apply to any document created
|
|
77
|
+
using the Font Software.
|
|
78
|
+
|
|
79
|
+
TERMINATION
|
|
80
|
+
This license becomes null and void if any of the above conditions are
|
|
81
|
+
not met.
|
|
82
|
+
|
|
83
|
+
DISCLAIMER
|
|
84
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
85
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
86
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
87
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
88
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
89
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
90
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
91
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
92
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* Inter (https://github.com/rsms/inter), SIL Open Font License 1.1: fonts/OFL.txt. One variable file per subset,
|
|
2
|
+
weights 400 to 700; a browser fetches only the subsets a page uses, by unicode-range. Subsets: Latin, Latin
|
|
3
|
+
Extended (Polish among others) and Cyrillic (Russian and Belarusian among others). */
|
|
4
|
+
@font-face {
|
|
5
|
+
font-family: 'Inter';
|
|
6
|
+
font-style: normal;
|
|
7
|
+
font-weight: 400 700;
|
|
8
|
+
font-display: swap;
|
|
9
|
+
src: url('./inter-latin.woff2') format('woff2');
|
|
10
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
11
|
+
}
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: 'Inter';
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 400 700;
|
|
16
|
+
font-display: swap;
|
|
17
|
+
src: url('./inter-latin-ext.woff2') format('woff2');
|
|
18
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
19
|
+
}
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'Inter';
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-weight: 400 700;
|
|
24
|
+
font-display: swap;
|
|
25
|
+
src: url('./inter-cyrillic.woff2') format('woff2');
|
|
26
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
27
|
+
}
|
package/src/kit.css
CHANGED
|
@@ -250,6 +250,12 @@
|
|
|
250
250
|
.cms-avatar__presence.is-online { background: var(--cms-success); }
|
|
251
251
|
.cms-avatar__presence.is-away { background: var(--cms-warning); }
|
|
252
252
|
.cms-avatar__presence.is-offline { background: var(--cms-meta-subtle); }
|
|
253
|
+
.cms-avatar--tint-1 { background: var(--cms-avatar-1-bg); color: var(--cms-avatar-1-fg); }
|
|
254
|
+
.cms-avatar--tint-2 { background: var(--cms-avatar-2-bg); color: var(--cms-avatar-2-fg); }
|
|
255
|
+
.cms-avatar--tint-3 { background: var(--cms-avatar-3-bg); color: var(--cms-avatar-3-fg); }
|
|
256
|
+
.cms-avatar--tint-4 { background: var(--cms-avatar-4-bg); color: var(--cms-avatar-4-fg); }
|
|
257
|
+
.cms-avatar--tint-5 { background: var(--cms-avatar-5-bg); color: var(--cms-avatar-5-fg); }
|
|
258
|
+
.cms-avatar--tint-6 { background: var(--cms-avatar-6-bg); color: var(--cms-avatar-6-fg); }
|
|
253
259
|
|
|
254
260
|
/* Context menu */
|
|
255
261
|
.cms-menu {
|
|
@@ -269,3 +275,258 @@
|
|
|
269
275
|
.cms-menu__item.is-danger { color: var(--cms-danger-text); }
|
|
270
276
|
.cms-menu__item.is-refused { color: var(--cms-text-muted); cursor: not-allowed; }
|
|
271
277
|
.cms-menu__refusal { font-size: 0.8125em; }
|
|
278
|
+
|
|
279
|
+
/*
|
|
280
|
+
* The Workspace: the shell, its lists, chat, the call and sign-in. Same rule as above: only --cms-* tokens. The chrome
|
|
281
|
+
* (the rail, the incoming call, the sign-in brand side) stays navy in both themes.
|
|
282
|
+
*/
|
|
283
|
+
.cms-icon { flex: none; }
|
|
284
|
+
:where(.cms-shell__item, .cms-chip, .cms-mail-row, .cms-call-button, .cms-call-bar__icon, .cms-composer__send-round, .cms-signin-form__show):focus-visible {
|
|
285
|
+
outline: 2px solid var(--cms-focus-ring);
|
|
286
|
+
outline-offset: 2px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.cms-button--chrome { background: var(--cms-button-chrome-bg); border-color: var(--cms-button-chrome-border); color: var(--cms-on-chrome); border-radius: var(--cms-radius-control); font-weight: var(--cms-font-weight-semibold); }
|
|
290
|
+
.cms-button--chrome:hover:not(:disabled) { background: var(--cms-sidebar-hover); border-color: var(--cms-button-chrome-border); }
|
|
291
|
+
|
|
292
|
+
/* Badge, pill */
|
|
293
|
+
.cms-badge {
|
|
294
|
+
display: inline-flex;
|
|
295
|
+
align-items: center;
|
|
296
|
+
justify-content: center;
|
|
297
|
+
min-width: 20px;
|
|
298
|
+
height: 20px;
|
|
299
|
+
padding: 0 var(--cms-space-1);
|
|
300
|
+
border-radius: var(--cms-radius-pill);
|
|
301
|
+
background: var(--cms-accent);
|
|
302
|
+
color: var(--cms-accent-fg);
|
|
303
|
+
font-size: var(--cms-font-size-label);
|
|
304
|
+
font-weight: var(--cms-font-weight-semibold);
|
|
305
|
+
line-height: 1;
|
|
306
|
+
}
|
|
307
|
+
.cms-pill { display: inline-flex; align-items: center; gap: var(--cms-space-1); padding: var(--cms-space-1) var(--cms-space-3); border-radius: var(--cms-radius-pill); font-size: var(--cms-font-size-meta); font-weight: var(--cms-font-weight-medium); }
|
|
308
|
+
.cms-pill--success { background: var(--cms-success-light); color: var(--cms-success-strong); }
|
|
309
|
+
.cms-pill--warning { background: var(--cms-warning-light); color: var(--cms-warning-text); }
|
|
310
|
+
|
|
311
|
+
/* Shell */
|
|
312
|
+
.cms-shell {
|
|
313
|
+
display: grid;
|
|
314
|
+
grid-template-columns: var(--cms-rail-width) 1fr;
|
|
315
|
+
grid-template-rows: var(--cms-topbar-height) 1fr;
|
|
316
|
+
height: 100vh;
|
|
317
|
+
background: var(--cms-bg);
|
|
318
|
+
color: var(--cms-text);
|
|
319
|
+
font-family: var(--cms-font-sans);
|
|
320
|
+
font-size: var(--cms-font-size-body);
|
|
321
|
+
}
|
|
322
|
+
.cms-shell__rail { grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; gap: var(--cms-space-3); padding: var(--cms-space-3) 0; background: var(--cms-sidebar-bg); }
|
|
323
|
+
.cms-shell__mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--cms-radius-control); background: var(--cms-accent); color: var(--cms-accent-fg); font-weight: var(--cms-font-weight-bold); font-size: var(--cms-font-size-title-md); }
|
|
324
|
+
.cms-shell__items { box-sizing: border-box; display: flex; flex-direction: column; gap: var(--cms-space-1); width: 100%; margin: 0; padding: 0 var(--cms-space-2); list-style: none; }
|
|
325
|
+
.cms-shell__item {
|
|
326
|
+
display: flex;
|
|
327
|
+
flex-direction: column;
|
|
328
|
+
align-items: center;
|
|
329
|
+
gap: var(--cms-space-1);
|
|
330
|
+
padding: var(--cms-space-2) 0 var(--cms-space-2);
|
|
331
|
+
border-radius: var(--cms-radius-control);
|
|
332
|
+
color: var(--cms-sidebar-text);
|
|
333
|
+
font-size: var(--cms-font-size-label);
|
|
334
|
+
text-decoration: none;
|
|
335
|
+
}
|
|
336
|
+
.cms-shell__item:hover { background: var(--cms-sidebar-hover); color: var(--cms-on-chrome); }
|
|
337
|
+
.cms-shell__item.is-active { background: var(--cms-sidebar-active); color: var(--cms-on-chrome); font-weight: var(--cms-font-weight-semibold); }
|
|
338
|
+
.cms-shell__item.is-active .cms-icon { color: var(--cms-accent); }
|
|
339
|
+
.cms-shell__icon { position: relative; display: inline-flex; }
|
|
340
|
+
.cms-shell__icon .cms-badge { position: absolute; top: calc(-1 * var(--cms-space-2)); right: calc(-1 * var(--cms-space-3)); min-width: 18px; height: 18px; font-size: var(--cms-font-size-label-sm); }
|
|
341
|
+
.cms-shell__top { display: flex; align-items: center; gap: var(--cms-space-4); padding: 0 var(--cms-space-6); border-bottom: 1px solid var(--cms-border); background: var(--cms-surface); }
|
|
342
|
+
.cms-shell__product { font-size: var(--cms-font-size-title-md); font-weight: var(--cms-font-weight-bold); white-space: nowrap; }
|
|
343
|
+
.cms-shell__search { flex: 1; max-width: 640px; }
|
|
344
|
+
.cms-shell__account { display: flex; align-items: center; gap: var(--cms-space-4); margin-left: auto; }
|
|
345
|
+
.cms-shell__main { min-height: 0; overflow: hidden; }
|
|
346
|
+
|
|
347
|
+
.cms-server-switch { display: inline-flex; align-items: center; gap: var(--cms-space-2); height: 36px; padding: 0 var(--cms-space-3); border: 1px solid var(--cms-border); border-radius: var(--cms-radius-pill); background: var(--cms-surface); color: var(--cms-text); font: inherit; cursor: pointer; }
|
|
348
|
+
|
|
349
|
+
/* Search */
|
|
350
|
+
.cms-search { display: flex; align-items: center; gap: var(--cms-space-2); height: 40px; padding: 0 var(--cms-space-4); border-radius: var(--cms-radius-pill); background: var(--cms-surface-muted); color: var(--cms-text-muted); }
|
|
351
|
+
.cms-search:focus-within { outline: 2px solid var(--cms-focus-ring); outline-offset: 1px; }
|
|
352
|
+
.cms-search__input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--cms-text); font: inherit; outline: none; }
|
|
353
|
+
.cms-search__input::placeholder { color: var(--cms-text-muted); }
|
|
354
|
+
|
|
355
|
+
/* Filter chips */
|
|
356
|
+
.cms-chips { display: flex; flex-wrap: wrap; gap: var(--cms-space-2); }
|
|
357
|
+
.cms-chip { display: inline-flex; align-items: center; gap: var(--cms-space-1); height: 32px; padding: 0 var(--cms-space-4); border: 1px solid var(--cms-border); border-radius: var(--cms-radius-pill); background: var(--cms-surface); color: var(--cms-text-body); font: inherit; font-size: var(--cms-font-size-meta); cursor: pointer; }
|
|
358
|
+
.cms-chip:hover { background: var(--cms-surface-muted); }
|
|
359
|
+
.cms-chip.is-on { border-color: var(--cms-button-chrome-bg); background: var(--cms-button-chrome-bg); color: var(--cms-on-chrome); font-weight: var(--cms-font-weight-semibold); }
|
|
360
|
+
|
|
361
|
+
/* Panes */
|
|
362
|
+
.cms-panes { display: grid; height: 100%; min-height: 0; }
|
|
363
|
+
.cms-panes--two { grid-template-columns: 340px 1fr; }
|
|
364
|
+
.cms-panes--three { grid-template-columns: 240px 380px 1fr; }
|
|
365
|
+
.cms-panes__pane { min-width: 0; min-height: 0; overflow: auto; border-right: 1px solid var(--cms-border); background: var(--cms-surface); }
|
|
366
|
+
.cms-panes__pane:first-child { background: var(--cms-bg); }
|
|
367
|
+
.cms-panes__pane:last-child { border-right: 0; }
|
|
368
|
+
.cms-panes__back { display: none; align-items: center; gap: var(--cms-space-1); padding: var(--cms-space-3) var(--cms-space-4); border-bottom: 1px solid var(--cms-border); color: var(--cms-text); font-weight: var(--cms-font-weight-semibold); text-decoration: none; }
|
|
369
|
+
|
|
370
|
+
/* Mail row */
|
|
371
|
+
.cms-mail-row {
|
|
372
|
+
display: flex;
|
|
373
|
+
gap: var(--cms-space-3);
|
|
374
|
+
width: 100%;
|
|
375
|
+
padding: var(--cms-space-4) var(--cms-space-5);
|
|
376
|
+
border: 0;
|
|
377
|
+
border-bottom: 1px solid var(--cms-border-light);
|
|
378
|
+
background: var(--cms-surface);
|
|
379
|
+
color: var(--cms-text-body);
|
|
380
|
+
font: inherit;
|
|
381
|
+
text-align: left;
|
|
382
|
+
cursor: pointer;
|
|
383
|
+
}
|
|
384
|
+
.cms-mail-row:hover { background: var(--cms-surface-muted); }
|
|
385
|
+
.cms-mail-row.is-selected { background: var(--cms-row-selected); }
|
|
386
|
+
.cms-mail-row__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
|
|
387
|
+
.cms-mail-row__line { display: flex; align-items: center; gap: var(--cms-space-2); min-width: 0; }
|
|
388
|
+
.cms-mail-row__from { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cms-text); font-size: var(--cms-font-size-body-lg); }
|
|
389
|
+
.cms-mail-row__time { color: var(--cms-text-muted); font-size: var(--cms-font-size-meta); white-space: nowrap; }
|
|
390
|
+
.cms-mail-row__subject { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cms-text); }
|
|
391
|
+
.cms-mail-row__preview { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cms-text-muted); }
|
|
392
|
+
.cms-mail-row__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cms-accent); }
|
|
393
|
+
.cms-mail-row.is-unread .cms-mail-row__from, .cms-mail-row.is-unread .cms-mail-row__subject { font-weight: var(--cms-font-weight-semibold); }
|
|
394
|
+
.cms-mail-row .cms-icon { color: var(--cms-text-muted); }
|
|
395
|
+
|
|
396
|
+
/* Chat */
|
|
397
|
+
.cms-bubble { display: flex; flex-direction: column; gap: var(--cms-space-1); max-width: 72%; }
|
|
398
|
+
.cms-bubble--in { align-self: flex-start; }
|
|
399
|
+
.cms-bubble--out { align-self: flex-end; align-items: flex-end; }
|
|
400
|
+
.cms-bubble__text { padding: var(--cms-space-3) var(--cms-space-4); border-radius: var(--cms-radius-bubble); font-size: var(--cms-font-size-body-lg); line-height: var(--cms-line-height-body); }
|
|
401
|
+
.cms-bubble--in .cms-bubble__text { border: 1px solid var(--cms-border); border-top-left-radius: var(--cms-radius-bubble-tail); background: var(--cms-surface); color: var(--cms-text); }
|
|
402
|
+
.cms-bubble--out .cms-bubble__text { border-top-right-radius: var(--cms-radius-bubble-tail); background: var(--cms-button-chrome-bg); color: var(--cms-on-chrome); }
|
|
403
|
+
.cms-bubble__meta { padding: 0 var(--cms-space-1); color: var(--cms-text-muted); font-size: var(--cms-font-size-label); }
|
|
404
|
+
|
|
405
|
+
/* Composer */
|
|
406
|
+
.cms-composer { display: flex; align-items: center; gap: var(--cms-space-3); }
|
|
407
|
+
.cms-composer__input { flex: 1; min-width: 0; resize: none; border: 1px solid var(--cms-border-input); border-radius: var(--cms-radius-field); background: var(--cms-input-bg); color: var(--cms-text); font: inherit; font-size: var(--cms-font-size-body-lg); }
|
|
408
|
+
.cms-composer--chat .cms-composer__input { padding: var(--cms-space-3) var(--cms-space-4); border-radius: var(--cms-radius-pill); }
|
|
409
|
+
.cms-composer--chat { padding: var(--cms-space-3) var(--cms-space-5); border-top: 1px solid var(--cms-border); background: var(--cms-surface); }
|
|
410
|
+
.cms-composer--reply { flex-wrap: wrap; padding: var(--cms-space-4); border: 1px solid var(--cms-border); border-radius: var(--cms-radius-card); background: var(--cms-surface); }
|
|
411
|
+
.cms-composer--reply .cms-composer__title { flex-basis: 100%; color: var(--cms-text-muted); font-size: var(--cms-font-size-meta); }
|
|
412
|
+
.cms-composer--reply .cms-composer__input { flex-basis: 100%; padding: var(--cms-space-2) var(--cms-space-3); border-color: transparent; }
|
|
413
|
+
.cms-composer--reply .cms-composer__send { margin-left: auto; }
|
|
414
|
+
.cms-composer__input:focus { outline: 2px solid var(--cms-focus-ring); outline-offset: 1px; }
|
|
415
|
+
.cms-composer__send-round { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cms-accent); color: var(--cms-accent-fg); cursor: pointer; }
|
|
416
|
+
.cms-composer__send-round:disabled, .cms-composer__send:disabled { opacity: 0.55; cursor: not-allowed; }
|
|
417
|
+
|
|
418
|
+
/* Call */
|
|
419
|
+
.cms-call-incoming { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: var(--cms-space-2); width: 420px; max-width: 100%; padding: var(--cms-space-10) var(--cms-space-8); border-radius: var(--cms-radius-dialog); background: var(--cms-sidebar-bg); color: var(--cms-on-chrome); box-shadow: var(--cms-shadow-lg); }
|
|
420
|
+
.cms-call-incoming__ring { padding: var(--cms-space-3); border: 2px solid var(--cms-accent); border-radius: 50%; box-shadow: 0 0 0 var(--cms-space-3) var(--cms-sidebar-bg), 0 0 0 calc(var(--cms-space-3) + 1px) var(--cms-accent-text); }
|
|
421
|
+
.cms-call-incoming__name { margin: var(--cms-space-4) 0 0; font-size: var(--cms-font-size-title-lg); font-weight: var(--cms-font-weight-bold); }
|
|
422
|
+
.cms-call-incoming__what { margin: 0; color: var(--cms-sidebar-text); }
|
|
423
|
+
.cms-call-incoming__actions { display: flex; gap: var(--cms-space-12); margin-top: var(--cms-space-6); }
|
|
424
|
+
.cms-call-button { display: inline-flex; flex-direction: column; align-items: center; gap: var(--cms-space-2); border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
|
|
425
|
+
.cms-call-button__disc { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--cms-surface-muted); color: var(--cms-text); }
|
|
426
|
+
.cms-call-button.is-pressed .cms-call-button__disc { background: var(--cms-sidebar-bg); color: var(--cms-on-chrome); }
|
|
427
|
+
.cms-call-button--accept .cms-call-button__disc { background: var(--cms-chrome-success); color: var(--cms-chrome-success-fg); }
|
|
428
|
+
.cms-call-button--hang-up .cms-call-button__disc { background: var(--cms-danger); color: var(--cms-text-inverse); }
|
|
429
|
+
.cms-call-button--hang-up .cms-call-button__label { color: var(--cms-danger); }
|
|
430
|
+
.cms-call-incoming .cms-call-button__label { color: var(--cms-on-chrome); }
|
|
431
|
+
.cms-call-button__label { font-size: var(--cms-font-size-meta); }
|
|
432
|
+
.cms-call-panel { box-sizing: border-box; display: flex; flex-direction: column; gap: var(--cms-space-6); padding: var(--cms-space-6); border-radius: var(--cms-radius-dialog); background: var(--cms-surface); color: var(--cms-text); box-shadow: var(--cms-shadow-md); }
|
|
433
|
+
.cms-call-panel__head { display: flex; align-items: center; gap: var(--cms-space-4); }
|
|
434
|
+
.cms-call-panel__who { flex: 1; }
|
|
435
|
+
.cms-call-panel__name { margin: 0; font-size: var(--cms-font-size-title-lg); font-weight: var(--cms-font-weight-semibold); }
|
|
436
|
+
.cms-call-panel__time { margin: 0; color: var(--cms-text-muted); font-variant-numeric: tabular-nums; }
|
|
437
|
+
.cms-call-panel__you { display: flex; align-items: center; gap: var(--cms-space-3); padding: var(--cms-space-3) var(--cms-space-4); border-radius: var(--cms-radius-card); background: var(--cms-bg); }
|
|
438
|
+
.cms-call-panel__level { width: 24px; height: 14px; margin-left: auto; background: repeating-linear-gradient(90deg, var(--cms-accent) 0 3px, transparent 3px 6px); border-radius: var(--cms-radius-sm); }
|
|
439
|
+
.cms-call-panel__controls { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--cms-space-4) var(--cms-space-8); }
|
|
440
|
+
.cms-call-bar { display: flex; align-items: center; gap: var(--cms-space-4); padding: var(--cms-space-3) var(--cms-space-4) var(--cms-space-3) var(--cms-space-6); border-radius: var(--cms-radius-card); background: var(--cms-sidebar-bg); color: var(--cms-on-chrome); }
|
|
441
|
+
.cms-call-bar__live { width: 10px; height: 10px; border-radius: 50%; background: var(--cms-success); }
|
|
442
|
+
.cms-call-bar__name { font-weight: var(--cms-font-weight-semibold); }
|
|
443
|
+
.cms-call-bar__time { color: var(--cms-sidebar-text); font-variant-numeric: tabular-nums; }
|
|
444
|
+
.cms-call-bar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cms-space-3); margin-left: auto; }
|
|
445
|
+
.cms-call-bar__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: var(--cms-radius-control); background: var(--cms-sidebar-active); color: var(--cms-on-chrome); cursor: pointer; }
|
|
446
|
+
.cms-call-bar__icon[aria-pressed='true'] { background: var(--cms-on-chrome); color: var(--cms-sidebar-bg); }
|
|
447
|
+
.cms-call-bar__icon--hang-up { background: var(--cms-danger); color: var(--cms-text-inverse); }
|
|
448
|
+
.cms-call-bar .cms-button--primary { border-radius: var(--cms-radius-control); font-weight: var(--cms-font-weight-semibold); }
|
|
449
|
+
|
|
450
|
+
/* Sign-in */
|
|
451
|
+
.cms-signin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; font-family: var(--cms-font-sans); }
|
|
452
|
+
.cms-signin__brand { display: flex; flex-direction: column; padding: var(--cms-space-12) var(--cms-space-12); background: var(--cms-sidebar-bg); color: var(--cms-on-chrome); }
|
|
453
|
+
.cms-signin__logo { display: flex; align-items: center; gap: var(--cms-space-3); margin: 0; font-size: var(--cms-font-size-title-lg); font-weight: var(--cms-font-weight-bold); }
|
|
454
|
+
.cms-signin__mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--cms-radius-control); background: var(--cms-accent); color: var(--cms-accent-fg); }
|
|
455
|
+
.cms-signin__pitch { margin: auto 0; max-width: 520px; }
|
|
456
|
+
.cms-signin__headline { margin: 0 0 var(--cms-space-4); font-size: var(--cms-font-size-display-lg); font-weight: var(--cms-font-weight-bold); line-height: var(--cms-line-height-tight); }
|
|
457
|
+
.cms-signin__lead { margin: 0 0 var(--cms-space-8); color: var(--cms-sidebar-text); font-size: var(--cms-font-size-body-lg); line-height: var(--cms-line-height-body); }
|
|
458
|
+
.cms-signin__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cms-space-3); margin: 0; padding: 0; list-style: none; }
|
|
459
|
+
.cms-signin__features li { display: flex; align-items: center; gap: var(--cms-space-3); padding: var(--cms-space-3) var(--cms-space-4); border-radius: var(--cms-radius-control); background: var(--cms-sidebar-hover); font-weight: var(--cms-font-weight-medium); }
|
|
460
|
+
.cms-signin__features .cms-icon { color: var(--cms-accent); }
|
|
461
|
+
.cms-signin__form { display: flex; align-items: center; justify-content: center; padding: var(--cms-space-8); background: var(--cms-surface); color: var(--cms-text); }
|
|
462
|
+
.cms-signin-form { display: flex; flex-direction: column; gap: var(--cms-space-2); width: min(380px, 100%); }
|
|
463
|
+
.cms-signin-form__title { margin: 0; font-size: var(--cms-font-size-display-sm); font-weight: var(--cms-font-weight-bold); }
|
|
464
|
+
.cms-signin-form__server { display: flex; align-items: center; gap: var(--cms-space-2); margin: 0 0 var(--cms-space-4); color: var(--cms-text-muted); }
|
|
465
|
+
.cms-signin-form__label { margin-top: var(--cms-space-2); font-weight: var(--cms-font-weight-medium); }
|
|
466
|
+
.cms-field { height: 44px; padding: 0 var(--cms-space-4); border: 1px solid var(--cms-border-input); border-radius: var(--cms-radius-field); background: var(--cms-input-bg); color: var(--cms-text); font: inherit; font-size: var(--cms-font-size-body-lg); }
|
|
467
|
+
.cms-field:focus { outline: 2px solid var(--cms-focus-ring); outline-offset: 1px; }
|
|
468
|
+
.cms-signin-form__password { position: relative; display: flex; align-items: center; margin-bottom: 12px; }
|
|
469
|
+
.cms-signin-form__password .cms-field { margin-bottom: 0; }
|
|
470
|
+
.cms-signin-form__password .cms-field { flex: 1; padding-right: 64px; }
|
|
471
|
+
.cms-signin-form__show { position: absolute; top: 50%; line-height: 1; right: var(--cms-space-3); transform: translateY(-50%); border: 0; background: transparent; color: var(--cms-text-body); font: inherit; cursor: pointer; }
|
|
472
|
+
.cms-signin-form__forgot { align-self: flex-end; color: var(--cms-text); }
|
|
473
|
+
.cms-signin-form__error { margin: 0; color: var(--cms-danger-text); }
|
|
474
|
+
.cms-signin-form__submit { justify-content: center; height: 48px; margin-top: var(--cms-space-4); font-size: var(--cms-font-size-body-lg); }
|
|
475
|
+
.cms-signin-form__or { display: flex; align-items: center; gap: var(--cms-space-3); margin: var(--cms-space-3) 0 0; color: var(--cms-text-muted); }
|
|
476
|
+
.cms-signin-form__or::before, .cms-signin-form__or::after { content: ''; flex: 1; height: 1px; background: var(--cms-border); }
|
|
477
|
+
.cms-signin-form__create { justify-content: center; height: 48px; border-color: var(--cms-border-input); border-radius: var(--cms-radius-control); color: var(--cms-text); font-weight: var(--cms-font-weight-semibold); text-decoration: none; }
|
|
478
|
+
|
|
479
|
+
/*
|
|
480
|
+
* The layout's widths, from design-tokens: phone below breakpoint-tablet (600px), tablet from it, desktop from
|
|
481
|
+
* breakpoint-desktop (1200px). A custom property cannot be read in a media query, so the numbers are written here and
|
|
482
|
+
* tools/check-breakpoints.mjs compares them with the tokens.
|
|
483
|
+
*/
|
|
484
|
+
|
|
485
|
+
/* Tablet and phone, the touch widths: an icons-only rail, two panes, touch targets of at least 44px. */
|
|
486
|
+
@media (max-width: 1199.98px) {
|
|
487
|
+
.cms-shell { grid-template-columns: var(--cms-rail-width-compact) minmax(0, 1fr); }
|
|
488
|
+
.cms-shell__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
489
|
+
.cms-shell__item { justify-content: center; min-height: var(--cms-touch-target-min); }
|
|
490
|
+
.cms-shell__top { gap: var(--cms-space-3); padding: 0 var(--cms-space-4); }
|
|
491
|
+
.cms-shell__search { min-width: 0; }
|
|
492
|
+
.cms-button, .cms-chip, .cms-tab, .cms-menu__item, .cms-list__row, .cms-panes__back, .cms-server-switch { min-height: var(--cms-touch-target-min); }
|
|
493
|
+
.cms-icon-button { min-width: var(--cms-touch-target-min); min-height: var(--cms-touch-target-min); }
|
|
494
|
+
.cms-search { height: var(--cms-touch-target-min); }
|
|
495
|
+
.cms-search__input { align-self: stretch; }
|
|
496
|
+
.cms-signin-form__show { display: inline-flex; align-items: center; justify-content: center; min-width: var(--cms-touch-target-min); min-height: var(--cms-touch-target-min); right: 0; }
|
|
497
|
+
.cms-signin-form__forgot { display: inline-flex; align-items: center; min-height: var(--cms-touch-target-min); }
|
|
498
|
+
.cms-call-bar { flex-wrap: wrap; }
|
|
499
|
+
.cms-call-bar__icon { width: var(--cms-touch-target-min); height: var(--cms-touch-target-min); }
|
|
500
|
+
.cms-chip { height: auto; }
|
|
501
|
+
.cms-panes--two, .cms-panes--three { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
|
|
502
|
+
.cms-panes__pane { display: none; }
|
|
503
|
+
.cms-panes__pane[data-offset='0'],
|
|
504
|
+
.cms-panes__pane[data-offset='1'],
|
|
505
|
+
.cms-panes[data-active='0'] .cms-panes__pane[data-offset='-1'] { display: block; }
|
|
506
|
+
.cms-panes--three[data-active='2'] .cms-panes__back { display: flex; }
|
|
507
|
+
.cms-signin__brand { padding: var(--cms-space-8); }
|
|
508
|
+
.cms-signin__features { grid-template-columns: minmax(0, 1fr); }
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/* Phone: a bottom tab bar instead of the rail, one pane at a time with Back, sign-in alone. */
|
|
512
|
+
@media (max-width: 599.98px) {
|
|
513
|
+
.cms-shell {
|
|
514
|
+
grid-template-columns: minmax(0, 1fr);
|
|
515
|
+
grid-template-rows: var(--cms-topbar-height) minmax(0, 1fr) calc(var(--cms-tabbar-height) + env(safe-area-inset-bottom, 0px));
|
|
516
|
+
}
|
|
517
|
+
.cms-shell__top { grid-row: 1; grid-column: 1; }
|
|
518
|
+
.cms-shell__main { grid-row: 2; grid-column: 1; }
|
|
519
|
+
.cms-shell__rail { grid-row: 3; grid-column: 1; flex-direction: row; padding: 0 0 env(safe-area-inset-bottom, 0px); }
|
|
520
|
+
.cms-shell__mark, .cms-shell__product, .cms-shell__search { display: none; }
|
|
521
|
+
.cms-shell__items { flex-direction: row; justify-content: space-around; padding: 0; }
|
|
522
|
+
.cms-shell__items > li { flex: 1; }
|
|
523
|
+
.cms-shell__item { height: var(--cms-tabbar-height); }
|
|
524
|
+
.cms-shell__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
|
|
525
|
+
.cms-panes--two, .cms-panes--three { grid-template-columns: minmax(0, 1fr); }
|
|
526
|
+
.cms-panes__pane[data-offset='1'],
|
|
527
|
+
.cms-panes[data-active='0'] .cms-panes__pane[data-offset='-1'] { display: none; }
|
|
528
|
+
.cms-panes:not([data-active='0']) .cms-panes__back { display: flex; }
|
|
529
|
+
.cms-signin { grid-template-columns: minmax(0, 1fr); }
|
|
530
|
+
.cms-signin__brand { display: none; }
|
|
531
|
+
.cms-signin__form { padding: var(--cms-space-6) var(--cms-space-4); }
|
|
532
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* GENERATED by tools/design-tokens.mjs from tokens/coolms.tokens.json (coolms/design-tokens) -- do not edit; a consumer pins this file with design-tokens.lock.json. */
|
|
2
2
|
:root {
|
|
3
3
|
--cms-accent: #F5A623;
|
|
4
4
|
--cms-accent-hover: #E09200;
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
--cms-sidebar-bg: #1a2332;
|
|
15
15
|
--cms-sidebar-hover: #243044;
|
|
16
16
|
--cms-sidebar-active: #2d3f57;
|
|
17
|
+
--cms-button-chrome-bg: #1a2332;
|
|
18
|
+
--cms-button-chrome-border: #1a2332;
|
|
17
19
|
--cms-sidebar-text: #c9d3e0;
|
|
18
20
|
--cms-sidebar-text-muted: #6b7f96;
|
|
19
21
|
--cms-sidebar-accent: var(--cms-accent);
|
|
@@ -42,7 +44,7 @@
|
|
|
42
44
|
--cms-text: #111827;
|
|
43
45
|
--cms-text-body: #374151;
|
|
44
46
|
--cms-text-secondary: #525a66;
|
|
45
|
-
--cms-text-muted: #
|
|
47
|
+
--cms-text-muted: #4b5563;
|
|
46
48
|
--cms-text-inverse: #ffffff;
|
|
47
49
|
--cms-on-chrome: #ffffff;
|
|
48
50
|
--cms-chrome-edge: #6b7f96;
|
|
@@ -54,7 +56,7 @@
|
|
|
54
56
|
--cms-success: #16a34a;
|
|
55
57
|
--cms-success-light: #f0fdf4;
|
|
56
58
|
--cms-success-text: #166534;
|
|
57
|
-
--cms-danger: #
|
|
59
|
+
--cms-danger: #b91c1c;
|
|
58
60
|
--cms-danger-light: #fef2f2;
|
|
59
61
|
--cms-danger-text: #991b1b;
|
|
60
62
|
--cms-danger-border: #fca5a5;
|
|
@@ -106,6 +108,61 @@
|
|
|
106
108
|
--cms-row-height: 36px;
|
|
107
109
|
--cms-row-height-sm: 28px;
|
|
108
110
|
--cms-row-height-lg: 48px;
|
|
111
|
+
--cms-row-selected: #eef2f7;
|
|
112
|
+
--cms-border-input: #8b929c;
|
|
113
|
+
--cms-success-strong: #15803d;
|
|
114
|
+
--cms-avatar-1-bg: #dbeafe;
|
|
115
|
+
--cms-avatar-1-fg: #1e3a8a;
|
|
116
|
+
--cms-avatar-2-bg: #dcfce7;
|
|
117
|
+
--cms-avatar-2-fg: #14532d;
|
|
118
|
+
--cms-avatar-3-bg: #fef3c7;
|
|
119
|
+
--cms-avatar-3-fg: #78350f;
|
|
120
|
+
--cms-avatar-4-bg: #fce7f3;
|
|
121
|
+
--cms-avatar-4-fg: #831843;
|
|
122
|
+
--cms-avatar-5-bg: #ede9fe;
|
|
123
|
+
--cms-avatar-5-fg: #4c1d95;
|
|
124
|
+
--cms-avatar-6-bg: #e5e7eb;
|
|
125
|
+
--cms-avatar-6-fg: #1f2937;
|
|
126
|
+
--cms-font-sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
|
127
|
+
--cms-font-weight-regular: 400;
|
|
128
|
+
--cms-font-weight-medium: 500;
|
|
129
|
+
--cms-font-weight-semibold: 600;
|
|
130
|
+
--cms-font-weight-bold: 700;
|
|
131
|
+
--cms-font-size-label-sm: 11px;
|
|
132
|
+
--cms-font-size-label: 12px;
|
|
133
|
+
--cms-font-size-meta: 13px;
|
|
134
|
+
--cms-font-size-body: 14px;
|
|
135
|
+
--cms-font-size-body-lg: 15px;
|
|
136
|
+
--cms-font-size-title-sm: 16px;
|
|
137
|
+
--cms-font-size-title-md: 18px;
|
|
138
|
+
--cms-font-size-title-lg: 22px;
|
|
139
|
+
--cms-font-size-display-sm: 28px;
|
|
140
|
+
--cms-font-size-display-lg: 36px;
|
|
141
|
+
--cms-line-height-tight: 1.25;
|
|
142
|
+
--cms-line-height-body: 1.5;
|
|
143
|
+
--cms-radius-control: 10px;
|
|
144
|
+
--cms-radius-field: 12px;
|
|
145
|
+
--cms-radius-card: 12px;
|
|
146
|
+
--cms-radius-bubble: 16px;
|
|
147
|
+
--cms-radius-bubble-tail: 4px;
|
|
148
|
+
--cms-radius-dialog: 24px;
|
|
149
|
+
--cms-radius-pill: 9999px;
|
|
150
|
+
--cms-space-1: 4px;
|
|
151
|
+
--cms-space-2: 8px;
|
|
152
|
+
--cms-space-3: 12px;
|
|
153
|
+
--cms-space-4: 16px;
|
|
154
|
+
--cms-space-5: 20px;
|
|
155
|
+
--cms-space-6: 24px;
|
|
156
|
+
--cms-space-8: 32px;
|
|
157
|
+
--cms-space-10: 40px;
|
|
158
|
+
--cms-space-12: 48px;
|
|
159
|
+
--cms-rail-width: 80px;
|
|
160
|
+
--cms-breakpoint-tablet: 600px;
|
|
161
|
+
--cms-breakpoint-desktop: 1200px;
|
|
162
|
+
--cms-rail-width-compact: 64px;
|
|
163
|
+
--cms-tabbar-height: 56px;
|
|
164
|
+
--cms-touch-target-min: 44px;
|
|
165
|
+
--cms-topbar-height: 64px;
|
|
109
166
|
}
|
|
110
167
|
|
|
111
168
|
:root[data-theme='dark'] {
|
|
@@ -114,6 +171,8 @@
|
|
|
114
171
|
--cms-sidebar-bg: #131c28;
|
|
115
172
|
--cms-sidebar-hover: #1f2b3d;
|
|
116
173
|
--cms-sidebar-active: #2d3f57;
|
|
174
|
+
--cms-button-chrome-bg: #2d3f57;
|
|
175
|
+
--cms-button-chrome-border: #6b7f96;
|
|
117
176
|
--cms-bg: #0f1722;
|
|
118
177
|
--cms-surface: #1a2332;
|
|
119
178
|
--cms-surface-muted: #243044;
|
|
@@ -129,7 +188,7 @@
|
|
|
129
188
|
--cms-success: #22c55e;
|
|
130
189
|
--cms-success-light: #0f2a18;
|
|
131
190
|
--cms-success-text: #86efac;
|
|
132
|
-
--cms-danger: #
|
|
191
|
+
--cms-danger: #f87171;
|
|
133
192
|
--cms-danger-light: #2c1416;
|
|
134
193
|
--cms-danger-text: #fca5a5;
|
|
135
194
|
--cms-danger-border: #7f3a40;
|
|
@@ -161,4 +220,19 @@
|
|
|
161
220
|
--cms-shadow-sm: 0 1px 3px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.30);
|
|
162
221
|
--cms-shadow-md: 0 4px 12px rgba(0,0,0,.50), 0 2px 4px rgba(0,0,0,.35);
|
|
163
222
|
--cms-shadow-lg: 0 8px 24px rgba(0,0,0,.55), 0 4px 8px rgba(0,0,0,.40);
|
|
223
|
+
--cms-row-selected: #243450;
|
|
224
|
+
--cms-border-input: #6b7f96;
|
|
225
|
+
--cms-success-strong: #4ade80;
|
|
226
|
+
--cms-avatar-1-bg: #1e3a8a;
|
|
227
|
+
--cms-avatar-1-fg: #dbeafe;
|
|
228
|
+
--cms-avatar-2-bg: #14532d;
|
|
229
|
+
--cms-avatar-2-fg: #dcfce7;
|
|
230
|
+
--cms-avatar-3-bg: #78350f;
|
|
231
|
+
--cms-avatar-3-fg: #fef3c7;
|
|
232
|
+
--cms-avatar-4-bg: #831843;
|
|
233
|
+
--cms-avatar-4-fg: #fce7f3;
|
|
234
|
+
--cms-avatar-5-bg: #4c1d95;
|
|
235
|
+
--cms-avatar-5-fg: #ede9fe;
|
|
236
|
+
--cms-avatar-6-bg: #374151;
|
|
237
|
+
--cms-avatar-6-fg: #e5e7eb;
|
|
164
238
|
}
|