@wildmason/aegis 1.14.0 → 1.14.1

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.
@@ -1,94 +1,94 @@
1
- Copyright (c) 2019 - Present, Microsoft Corporation,
2
- with Reserved Font Name Cascadia Code.
3
-
4
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
5
- This license is copied below, and is also available with a FAQ at:
6
- http://scripts.sil.org/OFL
7
-
8
-
9
- -----------------------------------------------------------
10
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
11
- -----------------------------------------------------------
12
-
13
- PREAMBLE
14
- The goals of the Open Font License (OFL) are to stimulate worldwide
15
- development of collaborative font projects, to support the font creation
16
- efforts of academic and linguistic communities, and to provide a free and
17
- open framework in which fonts may be shared and improved in partnership
18
- with others.
19
-
20
- The OFL allows the licensed fonts to be used, studied, modified and
21
- redistributed freely as long as they are not sold by themselves. The
22
- fonts, including any derivative works, can be bundled, embedded,
23
- redistributed and/or sold with any software provided that any reserved
24
- names are not used by derivative works. The fonts and derivatives,
25
- however, cannot be released under any other type of license. The
26
- requirement for fonts to remain under this license does not apply
27
- to any document created using the fonts or their derivatives.
28
-
29
- DEFINITIONS
30
- "Font Software" refers to the set of files released by the Copyright
31
- Holder(s) under this license and clearly marked as such. This may
32
- include source files, build scripts and documentation.
33
-
34
- "Reserved Font Name" refers to any names specified as such after the
35
- copyright statement(s).
36
-
37
- "Original Version" refers to the collection of Font Software components as
38
- distributed by the Copyright Holder(s).
39
-
40
- "Modified Version" refers to any derivative made by adding to, deleting,
41
- or substituting -- in part or in whole -- any of the components of the
42
- Original Version, by changing formats or by porting the Font Software to a
43
- new environment.
44
-
45
- "Author" refers to any designer, engineer, programmer, technical
46
- writer or other person who contributed to the Font Software.
47
-
48
- PERMISSION & CONDITIONS
49
- Permission is hereby granted, free of charge, to any person obtaining
50
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
51
- redistribute, and sell modified and unmodified copies of the Font
52
- Software, subject to the following conditions:
53
-
54
- 1) Neither the Font Software nor any of its individual components,
55
- in Original or Modified Versions, may be sold by itself.
56
-
57
- 2) Original or Modified Versions of the Font Software may be bundled,
58
- redistributed and/or sold with any software, provided that each copy
59
- contains the above copyright notice and this license. These can be
60
- included either as stand-alone text files, human-readable headers or
61
- in the appropriate machine-readable metadata fields within text or
62
- binary files as long as those fields can be easily viewed by the user.
63
-
64
- 3) No Modified Version of the Font Software may use the Reserved Font
65
- Name(s) unless explicit written permission is granted by the corresponding
66
- Copyright Holder. This restriction only applies to the primary font name as
67
- presented to the users.
68
-
69
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
70
- Software shall not be used to promote, endorse or advertise any
71
- Modified Version, except to acknowledge the contribution(s) of the
72
- Copyright Holder(s) and the Author(s) or with their explicit written
73
- permission.
74
-
75
- 5) The Font Software, modified or unmodified, in part or in whole,
76
- must be distributed entirely under this license, and must not be
77
- distributed under any other license. The requirement for fonts to
78
- remain under this license does not apply to any document created
79
- using the Font Software.
80
-
81
- TERMINATION
82
- This license becomes null and void if any of the above conditions are
83
- not met.
84
-
85
- DISCLAIMER
86
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
88
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
89
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
90
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
91
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
92
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
93
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
94
- OTHER DEALINGS IN THE FONT SOFTWARE.
1
+ Copyright (c) 2019 - Present, Microsoft Corporation,
2
+ with Reserved Font Name Cascadia Code.
3
+
4
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
5
+ This license is copied below, and is also available with a FAQ at:
6
+ http://scripts.sil.org/OFL
7
+
8
+
9
+ -----------------------------------------------------------
10
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
11
+ -----------------------------------------------------------
12
+
13
+ PREAMBLE
14
+ The goals of the Open Font License (OFL) are to stimulate worldwide
15
+ development of collaborative font projects, to support the font creation
16
+ efforts of academic and linguistic communities, and to provide a free and
17
+ open framework in which fonts may be shared and improved in partnership
18
+ with others.
19
+
20
+ The OFL allows the licensed fonts to be used, studied, modified and
21
+ redistributed freely as long as they are not sold by themselves. The
22
+ fonts, including any derivative works, can be bundled, embedded,
23
+ redistributed and/or sold with any software provided that any reserved
24
+ names are not used by derivative works. The fonts and derivatives,
25
+ however, cannot be released under any other type of license. The
26
+ requirement for fonts to remain under this license does not apply
27
+ to any document created using the fonts or their derivatives.
28
+
29
+ DEFINITIONS
30
+ "Font Software" refers to the set of files released by the Copyright
31
+ Holder(s) under this license and clearly marked as such. This may
32
+ include source files, build scripts and documentation.
33
+
34
+ "Reserved Font Name" refers to any names specified as such after the
35
+ copyright statement(s).
36
+
37
+ "Original Version" refers to the collection of Font Software components as
38
+ distributed by the Copyright Holder(s).
39
+
40
+ "Modified Version" refers to any derivative made by adding to, deleting,
41
+ or substituting -- in part or in whole -- any of the components of the
42
+ Original Version, by changing formats or by porting the Font Software to a
43
+ new environment.
44
+
45
+ "Author" refers to any designer, engineer, programmer, technical
46
+ writer or other person who contributed to the Font Software.
47
+
48
+ PERMISSION & CONDITIONS
49
+ Permission is hereby granted, free of charge, to any person obtaining
50
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
51
+ redistribute, and sell modified and unmodified copies of the Font
52
+ Software, subject to the following conditions:
53
+
54
+ 1) Neither the Font Software nor any of its individual components,
55
+ in Original or Modified Versions, may be sold by itself.
56
+
57
+ 2) Original or Modified Versions of the Font Software may be bundled,
58
+ redistributed and/or sold with any software, provided that each copy
59
+ contains the above copyright notice and this license. These can be
60
+ included either as stand-alone text files, human-readable headers or
61
+ in the appropriate machine-readable metadata fields within text or
62
+ binary files as long as those fields can be easily viewed by the user.
63
+
64
+ 3) No Modified Version of the Font Software may use the Reserved Font
65
+ Name(s) unless explicit written permission is granted by the corresponding
66
+ Copyright Holder. This restriction only applies to the primary font name as
67
+ presented to the users.
68
+
69
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
70
+ Software shall not be used to promote, endorse or advertise any
71
+ Modified Version, except to acknowledge the contribution(s) of the
72
+ Copyright Holder(s) and the Author(s) or with their explicit written
73
+ permission.
74
+
75
+ 5) The Font Software, modified or unmodified, in part or in whole,
76
+ must be distributed entirely under this license, and must not be
77
+ distributed under any other license. The requirement for fonts to
78
+ remain under this license does not apply to any document created
79
+ using the Font Software.
80
+
81
+ TERMINATION
82
+ This license becomes null and void if any of the above conditions are
83
+ not met.
84
+
85
+ DISCLAIMER
86
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
88
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
89
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
90
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
91
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
92
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
93
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
94
+ OTHER DEALINGS IN THE FONT SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildmason/aegis",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "Aegis design system \u00e2\u20ac\u201d CSS tokens and Angular component library",
5
5
  "scripts": {
6
6
  "check:offline-fonts": "node scripts/check-offline-fonts.mjs",
package/themes.css CHANGED
@@ -269,7 +269,22 @@
269
269
  * those wearing the tone's own 8% tint — the tint is the binding case,
270
270
  * because it moves the background toward the text.
271
271
  *
272
- * Themes whose tone is already readable inherit it unchanged.
272
+ * EVERY THEME MUST STATE ALL FOUR `-readable` TOKENS. A theme that is happy
273
+ * with its own tone writes `var(--wm-color-<tone>)` and says so; it does not
274
+ * leave the declaration out. These aliases below are a floor for a theme
275
+ * being written, never a fallback a shipped theme may rely on, and
276
+ * `scripts/check-semantic-contrast.mjs` fails the build on an omission.
277
+ *
278
+ * The reason is a trap in this file's own shape. The warm-light block below
279
+ * is selected as `:root, [data-theme='warm-light']`, so it is BOTH the
280
+ * default theme AND a later bare-`:root` declaration. Anything it sets wins
281
+ * over these aliases for every theme that stays silent — which means a
282
+ * silent dark theme receives warm-light's dark-on-light values. That is
283
+ * exactly what shipped in 1.12.0 and 1.13.0: five (theme, tone) pairs
284
+ * inherited `#553f00` / `#3c4801` and rendered at 1.08:1 to 1.38:1 — Matt
285
+ * found the wildmason one by eye, as an unreadable glyph in Helm's branch
286
+ * picker. Every other token in this file escaped only because every theme
287
+ * happens to declare it.
273
288
  */
274
289
  --wm-color-danger-readable: var(--wm-color-danger);
275
290
  --wm-color-warning-readable: var(--wm-color-warning);
@@ -572,6 +587,11 @@
572
587
  --wm-color-danger: #ff5555;
573
588
  --wm-color-danger-solid: #cf4545;
574
589
  --wm-color-danger-readable: #febdb7;
590
+ /* Stated rather than inherited, and that is the whole rule for these four —
591
+ see the note over the generic aliases in :root. Both of these tones already
592
+ read: 6.66:1 / Lc 82.4 and 5.65:1 / Lc 69.7 at their worst ground. */
593
+ --wm-color-warning-readable: var(--wm-color-warning);
594
+ --wm-color-success-readable: var(--wm-color-success);
575
595
 
576
596
  /* Item type colors */
577
597
  --wm-color-task: #8be9fd;
@@ -648,6 +668,10 @@
648
668
  --wm-color-danger-solid: #b65b5b;
649
669
  --wm-color-danger-readable: #fea7a4;
650
670
  --wm-color-success-readable: #6dcfb0;
671
+ /* #f0b464 reads on the bare surfaces but lands under Lc 61 on its own 8%
672
+ tint over --wm-bg-float. Hue held, chroma at 95%, lightness moved only:
673
+ 6.43:1 / Lc 61.1 at the worst ground. */
674
+ --wm-color-warning-readable: #eeb56a;
651
675
 
652
676
  /* Item type colors */
653
677
  --wm-color-task: #70a8f0;
@@ -873,6 +897,8 @@
873
897
  --wm-color-danger-solid: #e02267;
874
898
  --wm-color-danger-readable: #ffb1bf;
875
899
  --wm-color-warning-readable: #feb878;
900
+ /* Already reads at 5.96:1 / Lc 65.8; stated so it cannot inherit. */
901
+ --wm-color-success-readable: var(--wm-color-success);
876
902
 
877
903
  /* Item type colors */
878
904
  --wm-color-task: #66d9ef;
@@ -1105,6 +1131,11 @@
1105
1131
  --wm-color-danger-solid: #b45b64;
1106
1132
  --wm-color-danger-readable: #febec1;
1107
1133
  --wm-color-success-readable: #b2d8b2;
1134
+ /* The token Matt caught: this theme inherited warm-light's #553f00 and drew
1135
+ the branch picker's stash glyph at 1.11:1 — a dark brown on a dark grey.
1136
+ #ebcb8b itself lands just under Lc 61 on its own tint over --wm-bg-float,
1137
+ so hue held, chroma at 90%: 4.91:1 / Lc 61.1 at the worst ground. */
1138
+ --wm-color-warning-readable: #e8cc93;
1108
1139
 
1109
1140
  /* Item type colors — Wildmason selection */
1110
1141
  --wm-color-task: #82a682;