@commmerce/tokens 1.10.0 → 1.11.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/THIRD_PARTY_NOTICES.txt +101 -0
- package/dist/fonts/OFL-Inter.txt +93 -0
- package/dist/fonts/inter-latin-400-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-500-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-600-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-400-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-500-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-600-normal.woff2 +0 -0
- package/dist/fonts.css +56 -0
- package/dist/tokens.css +99 -1
- package/dist/tokens.d.ts +20 -0
- package/dist/tokens.js +11 -1
- package/dist/tokens.json +140 -0
- package/package.json +1 -1
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -14,6 +14,8 @@ Poppins typeface - OFL-1.1 Font files in @commme
|
|
|
14
14
|
Dancing Script typeface - OFL-1.1 Font file in @commmerce/tokens and the hosted
|
|
15
15
|
files: typed signatures in cm-signature-field
|
|
16
16
|
path_drawing (Dart) 1.0.1 MIT Dependency of the Flutter package commmerce_ui
|
|
17
|
+
Inter typeface - OFL-1.1 Font files in @commmerce/tokens and the hosted
|
|
18
|
+
files: interface text in the refined look
|
|
17
19
|
|
|
18
20
|
The line icons in @commmerce/icons and the design tokens are original
|
|
19
21
|
Commmerce work and contain no third-party material.
|
|
@@ -274,3 +276,102 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
274
276
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
275
277
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
276
278
|
SOFTWARE.
|
|
279
|
+
|
|
280
|
+
==============================================================================
|
|
281
|
+
|
|
282
|
+
Inter typeface
|
|
283
|
+
https://github.com/rsms/inter
|
|
284
|
+
|
|
285
|
+
Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
286
|
+
|
|
287
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
288
|
+
This license is copied below, and is also available with a FAQ at:
|
|
289
|
+
http://scripts.sil.org/OFL
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
-----------------------------------------------------------
|
|
293
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
294
|
+
-----------------------------------------------------------
|
|
295
|
+
|
|
296
|
+
PREAMBLE
|
|
297
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
298
|
+
development of collaborative font projects, to support the font creation
|
|
299
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
300
|
+
open framework in which fonts may be shared and improved in partnership
|
|
301
|
+
with others.
|
|
302
|
+
|
|
303
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
304
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
305
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
306
|
+
redistributed and/or sold with any software provided that any reserved
|
|
307
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
308
|
+
however, cannot be released under any other type of license. The
|
|
309
|
+
requirement for fonts to remain under this license does not apply
|
|
310
|
+
to any document created using the fonts or their derivatives.
|
|
311
|
+
|
|
312
|
+
DEFINITIONS
|
|
313
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
314
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
315
|
+
include source files, build scripts and documentation.
|
|
316
|
+
|
|
317
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
318
|
+
copyright statement(s).
|
|
319
|
+
|
|
320
|
+
"Original Version" refers to the collection of Font Software components as
|
|
321
|
+
distributed by the Copyright Holder(s).
|
|
322
|
+
|
|
323
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
324
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
325
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
326
|
+
new environment.
|
|
327
|
+
|
|
328
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
329
|
+
writer or other person who contributed to the Font Software.
|
|
330
|
+
|
|
331
|
+
PERMISSION & CONDITIONS
|
|
332
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
333
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
334
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
335
|
+
Software, subject to the following conditions:
|
|
336
|
+
|
|
337
|
+
1) Neither the Font Software nor any of its individual components,
|
|
338
|
+
in Original or Modified Versions, may be sold by itself.
|
|
339
|
+
|
|
340
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
341
|
+
redistributed and/or sold with any software, provided that each copy
|
|
342
|
+
contains the above copyright notice and this license. These can be
|
|
343
|
+
included either as stand-alone text files, human-readable headers or
|
|
344
|
+
in the appropriate machine-readable metadata fields within text or
|
|
345
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
346
|
+
|
|
347
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
348
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
349
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
350
|
+
presented to the users.
|
|
351
|
+
|
|
352
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
353
|
+
Software shall not be used to promote, endorse or advertise any
|
|
354
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
355
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
356
|
+
permission.
|
|
357
|
+
|
|
358
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
359
|
+
must be distributed entirely under this license, and must not be
|
|
360
|
+
distributed under any other license. The requirement for fonts to
|
|
361
|
+
remain under this license does not apply to any document created
|
|
362
|
+
using the Font Software.
|
|
363
|
+
|
|
364
|
+
TERMINATION
|
|
365
|
+
This license becomes null and void if any of the above conditions are
|
|
366
|
+
not met.
|
|
367
|
+
|
|
368
|
+
DISCLAIMER
|
|
369
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
370
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
371
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
372
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
373
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
374
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
375
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
376
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
377
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 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
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/fonts.css
CHANGED
|
@@ -81,6 +81,62 @@
|
|
|
81
81
|
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;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
/* Inter (SIL OFL 1.1, see fonts/OFL-Inter.txt): interface text in the refined look */
|
|
85
|
+
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: 'Inter';
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-weight: 400;
|
|
90
|
+
font-display: swap;
|
|
91
|
+
src: url('fonts/inter-latin-ext-400-normal.woff2') format('woff2');
|
|
92
|
+
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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@font-face {
|
|
96
|
+
font-family: 'Inter';
|
|
97
|
+
font-style: normal;
|
|
98
|
+
font-weight: 400;
|
|
99
|
+
font-display: swap;
|
|
100
|
+
src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
|
|
101
|
+
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;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@font-face {
|
|
105
|
+
font-family: 'Inter';
|
|
106
|
+
font-style: normal;
|
|
107
|
+
font-weight: 500;
|
|
108
|
+
font-display: swap;
|
|
109
|
+
src: url('fonts/inter-latin-ext-500-normal.woff2') format('woff2');
|
|
110
|
+
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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@font-face {
|
|
114
|
+
font-family: 'Inter';
|
|
115
|
+
font-style: normal;
|
|
116
|
+
font-weight: 500;
|
|
117
|
+
font-display: swap;
|
|
118
|
+
src: url('fonts/inter-latin-500-normal.woff2') format('woff2');
|
|
119
|
+
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;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@font-face {
|
|
123
|
+
font-family: 'Inter';
|
|
124
|
+
font-style: normal;
|
|
125
|
+
font-weight: 600;
|
|
126
|
+
font-display: swap;
|
|
127
|
+
src: url('fonts/inter-latin-ext-600-normal.woff2') format('woff2');
|
|
128
|
+
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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@font-face {
|
|
132
|
+
font-family: 'Inter';
|
|
133
|
+
font-style: normal;
|
|
134
|
+
font-weight: 600;
|
|
135
|
+
font-display: swap;
|
|
136
|
+
src: url('fonts/inter-latin-600-normal.woff2') format('woff2');
|
|
137
|
+
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;
|
|
138
|
+
}
|
|
139
|
+
|
|
84
140
|
/* Dancing Script (SIL OFL 1.1, see fonts/OFL-DancingScript.txt): typed signatures in cm-signature-field */
|
|
85
141
|
@font-face {
|
|
86
142
|
font-family: 'Dancing Script';
|
package/dist/tokens.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @commmerce/tokens v1.
|
|
1
|
+
/* @commmerce/tokens v1.11.0 — generated, do not edit */
|
|
2
2
|
|
|
3
3
|
:root, [data-cm-theme] {
|
|
4
4
|
color-scheme: light;
|
|
@@ -69,6 +69,14 @@
|
|
|
69
69
|
--cm-bg-information-soft: rgba(241, 169, 83, 0.16);
|
|
70
70
|
--cm-bg-success-soft: rgba(129, 187, 71, 0.16);
|
|
71
71
|
--cm-bg-attention-soft: #e8ebf5;
|
|
72
|
+
--cm-accent: #1ec81a;
|
|
73
|
+
--cm-accent-soft: #e4f7e3;
|
|
74
|
+
--cm-accent-text: #12730f;
|
|
75
|
+
--cm-text-on-accent: #0a0b0a;
|
|
76
|
+
--cm-count-bg: var(--cm-nav-badge);
|
|
77
|
+
--cm-count-text: var(--cm-text-on-dark);
|
|
78
|
+
--cm-tab-indicator: var(--cm-border-strong);
|
|
79
|
+
--cm-bg-selected: var(--cm-bg-hover);
|
|
72
80
|
--cm-font-size-12: 12px;
|
|
73
81
|
--cm-font-size-13: 13px;
|
|
74
82
|
--cm-font-size-14: 14px;
|
|
@@ -108,6 +116,7 @@
|
|
|
108
116
|
--cm-icon-size-sm: 16px;
|
|
109
117
|
--cm-icon-size-md: 20px;
|
|
110
118
|
--cm-icon-size-lg: 24px;
|
|
119
|
+
--cm-badge-dot: 0px;
|
|
111
120
|
--cm-radius-xs: 4px;
|
|
112
121
|
--cm-radius-sm: 6px;
|
|
113
122
|
--cm-radius-md: 8px;
|
|
@@ -124,6 +133,7 @@
|
|
|
124
133
|
--cm-easing-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
125
134
|
--cm-tracking-caps: 0.16em;
|
|
126
135
|
--cm-font-sans: "Poppins", system-ui, sans-serif;
|
|
136
|
+
--cm-font-display: var(--cm-font-sans);
|
|
127
137
|
--cm-type-display-lg-size: 40px;
|
|
128
138
|
--cm-type-display-lg-line-height: 48px;
|
|
129
139
|
--cm-type-display-lg-weight: 600;
|
|
@@ -248,6 +258,14 @@
|
|
|
248
258
|
--cm-bg-information-soft: rgba(241, 169, 83, 0.16);
|
|
249
259
|
--cm-bg-success-soft: rgba(129, 187, 71, 0.16);
|
|
250
260
|
--cm-bg-attention-soft: #232838;
|
|
261
|
+
--cm-accent: #1ec81a;
|
|
262
|
+
--cm-accent-soft: #15301a;
|
|
263
|
+
--cm-accent-text: #7fe27c;
|
|
264
|
+
--cm-text-on-accent: #0a0b0a;
|
|
265
|
+
--cm-count-bg: var(--cm-nav-badge);
|
|
266
|
+
--cm-count-text: var(--cm-text-on-dark);
|
|
267
|
+
--cm-tab-indicator: var(--cm-border-strong);
|
|
268
|
+
--cm-bg-selected: var(--cm-bg-hover);
|
|
251
269
|
}
|
|
252
270
|
@media (prefers-color-scheme: dark) {
|
|
253
271
|
[data-cm-theme="auto"] {
|
|
@@ -309,5 +327,85 @@
|
|
|
309
327
|
--cm-bg-information-soft: rgba(241, 169, 83, 0.16);
|
|
310
328
|
--cm-bg-success-soft: rgba(129, 187, 71, 0.16);
|
|
311
329
|
--cm-bg-attention-soft: #232838;
|
|
330
|
+
--cm-accent: #1ec81a;
|
|
331
|
+
--cm-accent-soft: #15301a;
|
|
332
|
+
--cm-accent-text: #7fe27c;
|
|
333
|
+
--cm-text-on-accent: #0a0b0a;
|
|
334
|
+
--cm-count-bg: var(--cm-nav-badge);
|
|
335
|
+
--cm-count-text: var(--cm-text-on-dark);
|
|
336
|
+
--cm-tab-indicator: var(--cm-border-strong);
|
|
337
|
+
--cm-bg-selected: var(--cm-bg-hover);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/* look: refined */
|
|
342
|
+
[data-cm-look="refined"], [data-cm-look="refined"] [data-cm-theme="light"] {
|
|
343
|
+
--cm-font-sans: "Inter", "Poppins", system-ui, sans-serif;
|
|
344
|
+
--cm-font-display: "Poppins", "Inter", system-ui, sans-serif;
|
|
345
|
+
--cm-badge-dot: 6px;
|
|
346
|
+
--cm-count-bg: var(--cm-accent);
|
|
347
|
+
--cm-count-text: var(--cm-text-on-accent);
|
|
348
|
+
--cm-tab-indicator: var(--cm-accent);
|
|
349
|
+
--cm-bg-selected: var(--cm-accent-soft);
|
|
350
|
+
--cm-bg-page: #f5f6f4;
|
|
351
|
+
--cm-bg-hover: #f2f4f1;
|
|
352
|
+
--cm-bg-inset: #f7f8f6;
|
|
353
|
+
--cm-bg-input-filled: #f7f8f6;
|
|
354
|
+
--cm-bg-icon: #f2f4f1;
|
|
355
|
+
--cm-bg-tag: #eef0ec;
|
|
356
|
+
--cm-thumb-bg: #e8ebe6;
|
|
357
|
+
--cm-border-subtle: #e3e6e1;
|
|
358
|
+
--cm-border-input: #868c83;
|
|
359
|
+
--cm-text-default: #121412;
|
|
360
|
+
--cm-text-tertiary: #5c635a;
|
|
361
|
+
--cm-text-secondary: #9ca298;
|
|
362
|
+
--cm-icon-default: #80867d;
|
|
363
|
+
}
|
|
364
|
+
[data-cm-look="refined"][data-cm-theme="dark"], [data-cm-look="refined"] [data-cm-theme="dark"] {
|
|
365
|
+
--cm-font-sans: "Inter", "Poppins", system-ui, sans-serif;
|
|
366
|
+
--cm-font-display: "Poppins", "Inter", system-ui, sans-serif;
|
|
367
|
+
--cm-badge-dot: 6px;
|
|
368
|
+
--cm-count-bg: var(--cm-accent);
|
|
369
|
+
--cm-count-text: var(--cm-text-on-accent);
|
|
370
|
+
--cm-tab-indicator: var(--cm-accent);
|
|
371
|
+
--cm-bg-selected: var(--cm-accent-soft);
|
|
372
|
+
--cm-bg-page: #0c0d0c;
|
|
373
|
+
--cm-bg-surface: #141614;
|
|
374
|
+
--cm-bg-hover: #1c1f1c;
|
|
375
|
+
--cm-bg-inset: #181a18;
|
|
376
|
+
--cm-bg-input-filled: #1c1f1c;
|
|
377
|
+
--cm-bg-icon: #1c1f1c;
|
|
378
|
+
--cm-bg-tag: #23271f;
|
|
379
|
+
--cm-thumb-bg: #23271f;
|
|
380
|
+
--cm-border-subtle: #252924;
|
|
381
|
+
--cm-border-input: #6b7268;
|
|
382
|
+
--cm-text-default: #eef1ec;
|
|
383
|
+
--cm-text-tertiary: #9aa197;
|
|
384
|
+
--cm-text-secondary: #6b7268;
|
|
385
|
+
--cm-icon-default: #8a9087;
|
|
386
|
+
}
|
|
387
|
+
@media (prefers-color-scheme: dark) {
|
|
388
|
+
[data-cm-look="refined"][data-cm-theme="auto"], [data-cm-look="refined"] [data-cm-theme="auto"] {
|
|
389
|
+
--cm-font-sans: "Inter", "Poppins", system-ui, sans-serif;
|
|
390
|
+
--cm-font-display: "Poppins", "Inter", system-ui, sans-serif;
|
|
391
|
+
--cm-badge-dot: 6px;
|
|
392
|
+
--cm-count-bg: var(--cm-accent);
|
|
393
|
+
--cm-count-text: var(--cm-text-on-accent);
|
|
394
|
+
--cm-tab-indicator: var(--cm-accent);
|
|
395
|
+
--cm-bg-selected: var(--cm-accent-soft);
|
|
396
|
+
--cm-bg-page: #0c0d0c;
|
|
397
|
+
--cm-bg-surface: #141614;
|
|
398
|
+
--cm-bg-hover: #1c1f1c;
|
|
399
|
+
--cm-bg-inset: #181a18;
|
|
400
|
+
--cm-bg-input-filled: #1c1f1c;
|
|
401
|
+
--cm-bg-icon: #1c1f1c;
|
|
402
|
+
--cm-bg-tag: #23271f;
|
|
403
|
+
--cm-thumb-bg: #23271f;
|
|
404
|
+
--cm-border-subtle: #252924;
|
|
405
|
+
--cm-border-input: #6b7268;
|
|
406
|
+
--cm-text-default: #eef1ec;
|
|
407
|
+
--cm-text-tertiary: #9aa197;
|
|
408
|
+
--cm-text-secondary: #6b7268;
|
|
409
|
+
--cm-icon-default: #8a9087;
|
|
312
410
|
}
|
|
313
411
|
}
|
package/dist/tokens.d.ts
CHANGED
|
@@ -134,6 +134,22 @@ export declare const tokens: {
|
|
|
134
134
|
readonly bgSuccessSoft: string;
|
|
135
135
|
/** Attention icon tile in notifications. */
|
|
136
136
|
readonly bgAttentionSoft: string;
|
|
137
|
+
/** Commmerce neon green (brand accent, since 1.11). A highlight beside black: count badges, the selected tab line, status dots. Never text on white and never a button fill with white text. Text on it: text-on-accent. */
|
|
138
|
+
readonly accent: string;
|
|
139
|
+
/** Light tint of the accent for selected rows and views (since 1.11). Text on it: text-default. */
|
|
140
|
+
readonly accentSoft: string;
|
|
141
|
+
/** Accent green that is readable as text on surfaces (since 1.11). */
|
|
142
|
+
readonly accentText: string;
|
|
143
|
+
/** Text and icons on the accent green (since 1.11). */
|
|
144
|
+
readonly textOnAccent: string;
|
|
145
|
+
/** Unread and count pills on buttons and navigation (since 1.11; was nav-badge). The refined look uses the accent. */
|
|
146
|
+
readonly countBg: string;
|
|
147
|
+
/** Text on count-bg (since 1.11). */
|
|
148
|
+
readonly countText: string;
|
|
149
|
+
/** The line under the selected tab in status and link tabs (since 1.11). The selected label is also bold, so the line is never the only cue. */
|
|
150
|
+
readonly tabIndicator: string;
|
|
151
|
+
/** Background of a selected row in a resource list (since 1.11). */
|
|
152
|
+
readonly bgSelected: string;
|
|
137
153
|
/** Captions, badges, counts, table headers. Smallest size. */
|
|
138
154
|
readonly fontSize12: string;
|
|
139
155
|
/** Help text, slim buttons, secondary lines. */
|
|
@@ -212,6 +228,8 @@ export declare const tokens: {
|
|
|
212
228
|
readonly iconSizeMd: string;
|
|
213
229
|
/** Feature icons: empty states, tiles. */
|
|
214
230
|
readonly iconSizeLg: string;
|
|
231
|
+
/** Size of the dot before the label of a toned cm-badge (since 1.11). 0 = no dot; the refined look sets 6px. */
|
|
232
|
+
readonly badgeDot: string;
|
|
215
233
|
/** Checkboxes and other small marks. */
|
|
216
234
|
readonly radiusXs: string;
|
|
217
235
|
/** Controls: buttons, inputs, selects, badges, segmented controls, menu items. */
|
|
@@ -244,6 +262,8 @@ export declare const tokens: {
|
|
|
244
262
|
readonly trackingCaps: string;
|
|
245
263
|
/** */
|
|
246
264
|
readonly fontSans: string;
|
|
265
|
+
/** */
|
|
266
|
+
readonly fontDisplay: string;
|
|
247
267
|
};
|
|
248
268
|
export declare const themes: ["light","dark"];
|
|
249
269
|
export default tokens;
|
package/dist/tokens.js
CHANGED
|
@@ -67,6 +67,14 @@ export const tokens = {
|
|
|
67
67
|
"bgInformationSoft": "var(--cm-bg-information-soft)",
|
|
68
68
|
"bgSuccessSoft": "var(--cm-bg-success-soft)",
|
|
69
69
|
"bgAttentionSoft": "var(--cm-bg-attention-soft)",
|
|
70
|
+
"accent": "var(--cm-accent)",
|
|
71
|
+
"accentSoft": "var(--cm-accent-soft)",
|
|
72
|
+
"accentText": "var(--cm-accent-text)",
|
|
73
|
+
"textOnAccent": "var(--cm-text-on-accent)",
|
|
74
|
+
"countBg": "var(--cm-count-bg)",
|
|
75
|
+
"countText": "var(--cm-count-text)",
|
|
76
|
+
"tabIndicator": "var(--cm-tab-indicator)",
|
|
77
|
+
"bgSelected": "var(--cm-bg-selected)",
|
|
70
78
|
"fontSize12": "var(--cm-font-size-12)",
|
|
71
79
|
"fontSize13": "var(--cm-font-size-13)",
|
|
72
80
|
"fontSize14": "var(--cm-font-size-14)",
|
|
@@ -106,6 +114,7 @@ export const tokens = {
|
|
|
106
114
|
"iconSizeSm": "var(--cm-icon-size-sm)",
|
|
107
115
|
"iconSizeMd": "var(--cm-icon-size-md)",
|
|
108
116
|
"iconSizeLg": "var(--cm-icon-size-lg)",
|
|
117
|
+
"badgeDot": "var(--cm-badge-dot)",
|
|
109
118
|
"radiusXs": "var(--cm-radius-xs)",
|
|
110
119
|
"radiusSm": "var(--cm-radius-sm)",
|
|
111
120
|
"radiusMd": "var(--cm-radius-md)",
|
|
@@ -121,7 +130,8 @@ export const tokens = {
|
|
|
121
130
|
"durationBase": "var(--cm-duration-base)",
|
|
122
131
|
"easingStandard": "var(--cm-easing-standard)",
|
|
123
132
|
"trackingCaps": "var(--cm-tracking-caps)",
|
|
124
|
-
"fontSans": "var(--cm-font-sans)"
|
|
133
|
+
"fontSans": "var(--cm-font-sans)",
|
|
134
|
+
"fontDisplay": "var(--cm-font-display)"
|
|
125
135
|
};
|
|
126
136
|
export const themes = ["light","dark"];
|
|
127
137
|
export default tokens;
|
package/dist/tokens.json
CHANGED
|
@@ -666,6 +666,86 @@
|
|
|
666
666
|
},
|
|
667
667
|
"usage": "Attention icon tile in notifications."
|
|
668
668
|
},
|
|
669
|
+
{
|
|
670
|
+
"name": "accent",
|
|
671
|
+
"family": "color",
|
|
672
|
+
"cssVar": "--cm-accent",
|
|
673
|
+
"value": {
|
|
674
|
+
"light": "#1ec81a",
|
|
675
|
+
"dark": "#1ec81a"
|
|
676
|
+
},
|
|
677
|
+
"usage": "Commmerce neon green (brand accent, since 1.11). A highlight beside black: count badges, the selected tab line, status dots. Never text on white and never a button fill with white text. Text on it: text-on-accent."
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "accent-soft",
|
|
681
|
+
"family": "color",
|
|
682
|
+
"cssVar": "--cm-accent-soft",
|
|
683
|
+
"value": {
|
|
684
|
+
"light": "#e4f7e3",
|
|
685
|
+
"dark": "#15301a"
|
|
686
|
+
},
|
|
687
|
+
"usage": "Light tint of the accent for selected rows and views (since 1.11). Text on it: text-default."
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "accent-text",
|
|
691
|
+
"family": "color",
|
|
692
|
+
"cssVar": "--cm-accent-text",
|
|
693
|
+
"value": {
|
|
694
|
+
"light": "#12730f",
|
|
695
|
+
"dark": "#7fe27c"
|
|
696
|
+
},
|
|
697
|
+
"usage": "Accent green that is readable as text on surfaces (since 1.11)."
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "text-on-accent",
|
|
701
|
+
"family": "color",
|
|
702
|
+
"cssVar": "--cm-text-on-accent",
|
|
703
|
+
"value": {
|
|
704
|
+
"light": "#0a0b0a",
|
|
705
|
+
"dark": "#0a0b0a"
|
|
706
|
+
},
|
|
707
|
+
"usage": "Text and icons on the accent green (since 1.11)."
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "count-bg",
|
|
711
|
+
"family": "color",
|
|
712
|
+
"cssVar": "--cm-count-bg",
|
|
713
|
+
"value": {
|
|
714
|
+
"light": "{nav-badge}",
|
|
715
|
+
"dark": "{nav-badge}"
|
|
716
|
+
},
|
|
717
|
+
"usage": "Unread and count pills on buttons and navigation (since 1.11; was nav-badge). The refined look uses the accent."
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "count-text",
|
|
721
|
+
"family": "color",
|
|
722
|
+
"cssVar": "--cm-count-text",
|
|
723
|
+
"value": {
|
|
724
|
+
"light": "{text-on-dark}",
|
|
725
|
+
"dark": "{text-on-dark}"
|
|
726
|
+
},
|
|
727
|
+
"usage": "Text on count-bg (since 1.11)."
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"name": "tab-indicator",
|
|
731
|
+
"family": "color",
|
|
732
|
+
"cssVar": "--cm-tab-indicator",
|
|
733
|
+
"value": {
|
|
734
|
+
"light": "{border-strong}",
|
|
735
|
+
"dark": "{border-strong}"
|
|
736
|
+
},
|
|
737
|
+
"usage": "The line under the selected tab in status and link tabs (since 1.11). The selected label is also bold, so the line is never the only cue."
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "bg-selected",
|
|
741
|
+
"family": "color",
|
|
742
|
+
"cssVar": "--cm-bg-selected",
|
|
743
|
+
"value": {
|
|
744
|
+
"light": "{bg-hover}",
|
|
745
|
+
"dark": "{bg-hover}"
|
|
746
|
+
},
|
|
747
|
+
"usage": "Background of a selected row in a resource list (since 1.11)."
|
|
748
|
+
},
|
|
669
749
|
{
|
|
670
750
|
"name": "font-size-12",
|
|
671
751
|
"family": "fontSize",
|
|
@@ -943,6 +1023,13 @@
|
|
|
943
1023
|
"value": "24px",
|
|
944
1024
|
"usage": "Feature icons: empty states, tiles."
|
|
945
1025
|
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "badge-dot",
|
|
1028
|
+
"family": "size",
|
|
1029
|
+
"cssVar": "--cm-badge-dot",
|
|
1030
|
+
"value": "0px",
|
|
1031
|
+
"usage": "Size of the dot before the label of a toned cm-badge (since 1.11). 0 = no dot; the refined look sets 6px."
|
|
1032
|
+
},
|
|
946
1033
|
{
|
|
947
1034
|
"name": "radius-xs",
|
|
948
1035
|
"family": "radius",
|
|
@@ -1056,6 +1143,12 @@
|
|
|
1056
1143
|
"cssVar": "--cm-font-sans",
|
|
1057
1144
|
"value": "\"Poppins\", system-ui, sans-serif"
|
|
1058
1145
|
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "font-display",
|
|
1148
|
+
"family": "type",
|
|
1149
|
+
"cssVar": "--cm-font-display",
|
|
1150
|
+
"value": "var(--cm-font-sans)"
|
|
1151
|
+
},
|
|
1059
1152
|
{
|
|
1060
1153
|
"name": "type-display-lg",
|
|
1061
1154
|
"family": "type",
|
|
@@ -1286,6 +1379,53 @@
|
|
|
1286
1379
|
"fontWeight": 500
|
|
1287
1380
|
},
|
|
1288
1381
|
"usage": "Form labels on phones."
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"name": "look-refined",
|
|
1385
|
+
"family": "look",
|
|
1386
|
+
"value": {
|
|
1387
|
+
"any": {
|
|
1388
|
+
"font-sans": "\"Inter\", \"Poppins\", system-ui, sans-serif",
|
|
1389
|
+
"font-display": "\"Poppins\", \"Inter\", system-ui, sans-serif",
|
|
1390
|
+
"badge-dot": "6px",
|
|
1391
|
+
"count-bg": "{accent}",
|
|
1392
|
+
"count-text": "{text-on-accent}",
|
|
1393
|
+
"tab-indicator": "{accent}",
|
|
1394
|
+
"bg-selected": "{accent-soft}"
|
|
1395
|
+
},
|
|
1396
|
+
"light": {
|
|
1397
|
+
"bg-page": "#f5f6f4",
|
|
1398
|
+
"bg-hover": "#f2f4f1",
|
|
1399
|
+
"bg-inset": "#f7f8f6",
|
|
1400
|
+
"bg-input-filled": "#f7f8f6",
|
|
1401
|
+
"bg-icon": "#f2f4f1",
|
|
1402
|
+
"bg-tag": "#eef0ec",
|
|
1403
|
+
"thumb-bg": "#e8ebe6",
|
|
1404
|
+
"border-subtle": "#e3e6e1",
|
|
1405
|
+
"border-input": "#868c83",
|
|
1406
|
+
"text-default": "#121412",
|
|
1407
|
+
"text-tertiary": "#5c635a",
|
|
1408
|
+
"text-secondary": "#9ca298",
|
|
1409
|
+
"icon-default": "#80867d"
|
|
1410
|
+
},
|
|
1411
|
+
"dark": {
|
|
1412
|
+
"bg-page": "#0c0d0c",
|
|
1413
|
+
"bg-surface": "#141614",
|
|
1414
|
+
"bg-hover": "#1c1f1c",
|
|
1415
|
+
"bg-inset": "#181a18",
|
|
1416
|
+
"bg-input-filled": "#1c1f1c",
|
|
1417
|
+
"bg-icon": "#1c1f1c",
|
|
1418
|
+
"bg-tag": "#23271f",
|
|
1419
|
+
"thumb-bg": "#23271f",
|
|
1420
|
+
"border-subtle": "#252924",
|
|
1421
|
+
"border-input": "#6b7268",
|
|
1422
|
+
"text-default": "#eef1ec",
|
|
1423
|
+
"text-tertiary": "#9aa197",
|
|
1424
|
+
"text-secondary": "#6b7268",
|
|
1425
|
+
"icon-default": "#8a9087"
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
"usage": "Opt-in look (since 1.11), set data-cm-look=\"refined\" on <html> next to data-cm-theme. Inter for interface text and Poppins for page titles; slightly green-tinted greys with darker supporting text; the Commmerce neon green on counts, the selected tab line and selected rows; dots on toned badges. Owner-approved for the CRM /v5 on 18 Nov 2026."
|
|
1289
1429
|
}
|
|
1290
1430
|
]
|
|
1291
1431
|
}
|
package/package.json
CHANGED