@propellerads/tokens 0.2.0 → 0.4.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/README.md CHANGED
@@ -222,8 +222,9 @@ brand's own colour worn by the interface — a promo panel, a tip, a block the p
222
222
  wants noticed — so it points at the palette rather than at `--color-action`. Which
223
223
  of the two palette colours it takes is the brand's call: it is the first one by
224
224
  default, and Monetag and Zeydoo override it with the second in their own
225
- files — Monetag because its first colour is already the action colour and a
226
- highlight would be indistinguishable from it.
225
+ files, because their first colour is already the action colour and a highlight
226
+ would be indistinguishable from it. Propush keeps the first, so its highlight and
227
+ its action colour are the same cyan: its second colour is a near-black.
227
228
 
228
229
  | Brand | `--color-highlight` | pad | text on the pad | dark pad | text there |
229
230
  |---|---|---|---|---|---|
@@ -252,13 +253,13 @@ on those three a pad is a place for text and not for a shape that has to be made
252
253
  out.
253
254
 
254
255
  Per brand, `--color-action` is what buttons and links use; the palette is for
255
- illustration and marketing surfaces. Only Monetag makes its brand colour the
256
- action colour — the Propush palette is a light cyan and a near-black, and
257
- neither survives as a button.
256
+ illustration and marketing surfaces. Monetag, Propush and Zeydoo make their
257
+ first brand colour the action colour; only PropellerAds, whose first colour is a
258
+ yellow, keeps a blue of its own. White on the Propush cyan reads at about 1.8:1.
258
259
 
259
260
  | Token | PropellerAds | Monetag | Propush | Zeydoo |
260
261
  |---------------------------|--------------|-----------|-----------|-----------|
261
- | `--color-action` | `#0080FF` | `#4A3795` | `#0080FF` | `#0080FF` |
262
+ | `--color-action` | `#0080FF` | `#4A3795` | `#19D2FA` | `#5C10DD` |
262
263
  | `--color-brand-primary` | `#D9D926` | `#4A3795` | `#19D2FA` | `#5C10DD` |
263
264
  | `--color-brand-secondary` | `#14B082` | `#A4D65E` | `#231E1E` | `#28C8D2` |
264
265
  | `--font-family` | Roboto | Gilroy | Roboto | Roboto |
package/common.css CHANGED
@@ -19,8 +19,9 @@
19
19
  It is the palette seen from the interface side, so it points at the brand
20
20
  palette rather than at --color-action. Which of the two palette colours it
21
21
  takes is the brand's own call, and Monetag and Zeydoo say so in their files —
22
- Monetag because its first colour is already the action colour, and highlight
23
- built on it would be indistinguishable from an ordinary interactive element.
22
+ their first colour is already the action colour, and highlight built on it
23
+ would be indistinguishable from an ordinary interactive element. Propush keeps
24
+ the first anyway: its second colour is a near-black.
24
25
 
25
26
  A status colour is picked to be read against; a palette colour is picked to
26
27
  be looked at, and the pad inherits that — so the pad carries a shape, a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propellerads/tokens",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "exports": {
5
5
  "./common.css": "./common.css",
6
6
  "./propellerads.css": "./propellerads.css",
package/propush.css CHANGED
@@ -8,9 +8,7 @@
8
8
  --color-brand-primary: hsl(190.7 95.7% 53.9%);
9
9
  --color-brand-secondary: hsl(0 7.7% 12.7%);
10
10
 
11
- /* Neither brand value works as the action colour — one is a light cyan, the
12
- other a near-black — so it stays the blue PropellerAds uses. */
13
- --color-action: hsl(210 100% 50%); /* Interactive elements: buttons, links, controls */
11
+ --color-action: var(--color-brand-primary); /* No action colour of its own: the brand one plays that role */
14
12
 
15
13
  --font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
16
14
  }
package/zeydoo.css CHANGED
@@ -4,9 +4,9 @@
4
4
  --color-brand-primary: hsl(262.2 86.5% 46.5%);
5
5
  --color-brand-secondary: hsl(183.5 68% 49%);
6
6
 
7
- --color-action: hsl(210 100% 50%); /* Interactive elements: buttons, links, controls */
7
+ --color-action: var(--color-brand-primary); /* No action colour of its own: the brand one plays that role */
8
8
 
9
- --color-highlight: var(--color-brand-secondary);
9
+ --color-highlight: var(--color-brand-secondary); /* The first colour is already the action colour here */
10
10
 
11
11
  --font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
12
12
  }