@brunosouzas/design-system 0.6.0 → 0.6.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.
package/README.md CHANGED
@@ -219,7 +219,7 @@ A cover is a JSON spec kept with its article, outside this repository: drafts ar
219
219
  }
220
220
  ```
221
221
 
222
- - `background` names one of the 21 pairs in `coverBackground` (a background and its ring colour, measured from the published covers). Which covers may share a pair is the `designer` skill's rule, not the package's.
222
+ - `background` names one pair in `coverBackground` (a background and its ring colour): `trackIntegration`, `trackDelivery` or `trackAi` for a cover of that track (ADR 0006), `neutral` (the brand background) for a category with no track, or one of the 21 pairs measured from the covers published before 0.6.0, kept until 0.7.0 so their specs still build. Which cover takes which pair is the `illustration` skill's rule, not the package's.
223
223
  - `pieces` are drawn in order; their words go on top.
224
224
  - The `rings` centre stays within ±10000 in a cover spec, and a piece that overflows is reported at its entry (`pieces[1]: the drawing overflows`).
225
225
  - `custom` (optional) is the cover's one free-form object, a JSON node tree limited to drawing tags and a fixed list of attributes, with no external references. An object that repeats becomes a piece instead. It is painted after every piece's shapes; `customAt: <i>` paints it before `pieces[i]` instead, so a pill can sit on top of it (words always stay on top).
@@ -163,6 +163,10 @@ export declare const tokens: {
163
163
  readonly fill: "#14215A";
164
164
  readonly ring: "#1C2D74";
165
165
  };
166
+ readonly neutral: {
167
+ readonly fill: "#F6F3EC";
168
+ readonly ring: "#D8D6D0";
169
+ };
166
170
  readonly olive: {
167
171
  readonly fill: "#8A9A3B";
168
172
  readonly ring: "#7E8E33";
@@ -164,6 +164,10 @@ export const tokens = {
164
164
  "fill": "#14215A",
165
165
  "ring": "#1C2D74"
166
166
  },
167
+ "neutral": {
168
+ "fill": "#F6F3EC",
169
+ "ring": "#D8D6D0"
170
+ },
167
171
  "olive": {
168
172
  "fill": "#8A9A3B",
169
173
  "ring": "#7E8E33"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brunosouzas/design-system",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Design tokens and illustration pieces of brunosouzas.com: tokens as CSS, JSON and TypeScript, pieces that draw SVG (and React), and a cover command.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -109,6 +109,8 @@
109
109
  --ds-cover-background-mustard-ring: #E6B33E;
110
110
  --ds-cover-background-navy-fill: #14215A;
111
111
  --ds-cover-background-navy-ring: #1C2D74;
112
+ --ds-cover-background-neutral-fill: #F6F3EC;
113
+ --ds-cover-background-neutral-ring: #D8D6D0;
112
114
  --ds-cover-background-olive-fill: #8A9A3B;
113
115
  --ds-cover-background-olive-ring: #7E8E33;
114
116
  --ds-cover-background-peach-fill: #F4D8BC;
@@ -163,6 +163,10 @@
163
163
  "fill": "#14215A",
164
164
  "ring": "#1C2D74"
165
165
  },
166
+ "neutral": {
167
+ "fill": "#F6F3EC",
168
+ "ring": "#D8D6D0"
169
+ },
166
170
  "olive": {
167
171
  "fill": "#8A9A3B",
168
172
  "ring": "#7E8E33"
@@ -165,6 +165,10 @@ export const tokens = {
165
165
  "fill": "#14215A",
166
166
  "ring": "#1C2D74"
167
167
  },
168
+ "neutral": {
169
+ "fill": "#F6F3EC",
170
+ "ring": "#D8D6D0"
171
+ },
168
172
  "olive": {
169
173
  "fill": "#8A9A3B",
170
174
  "ring": "#7E8E33"