@propellerads/tokens 0.3.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 +9 -8
- package/common.css +5 -4
- package/package.json +1 -1
- package/propush.css +1 -3
- package/zeydoo.css +2 -2
package/README.md
CHANGED
|
@@ -178,9 +178,9 @@ three steps is two dividers, told apart by whether they are meant to be noticed.
|
|
|
178
178
|
| Token | Light | Dark | What it is for |
|
|
179
179
|
|-----------------------|-----------|-----------|---------------------------------------------------|
|
|
180
180
|
| `--color-quiet` | `#B3B3B3` | `#737373` | Icons and anything drawn like one |
|
|
181
|
-
| `--color-quiet-bg` | `#
|
|
181
|
+
| `--color-quiet-bg` | `#FAFAFA` | `#333333` | Neutral pads on the page background |
|
|
182
182
|
| `--color-quiet-text` | `#808080` | `#999999` | Supporting text: the description and hints roles |
|
|
183
|
-
| `--color-formal` | `#
|
|
183
|
+
| `--color-formal` | `#F2F2F2` | `#262626` | Formal dividers — the ones that only order a list |
|
|
184
184
|
| `--color-rich` | `#CCCCCC` | `#4D4D4D` | Dividers that are meant to be seen |
|
|
185
185
|
|
|
186
186
|
The status colours are picked by what they say, never by their hue:
|
|
@@ -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
|
|
226
|
-
|
|
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.
|
|
256
|
-
|
|
257
|
-
|
|
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` | `#
|
|
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
|
-
|
|
23
|
-
|
|
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
|
|
@@ -55,7 +56,7 @@
|
|
|
55
56
|
of the grey scale in the design file, and its text step is deeper than the
|
|
56
57
|
tenth the statuses take. */
|
|
57
58
|
--color-quiet: hsl(0 0% 70%); /* #B3B3B3 — icons and anything drawn like one */
|
|
58
|
-
--color-quiet-bg: hsl(0 0%
|
|
59
|
+
--color-quiet-bg: hsl(0 0% 98%); /* #FAFAFA — neutral pads on the page background */
|
|
59
60
|
--color-quiet-text: hsl(0 0% 50%); /* #808080 — supporting text: the description and hints roles */
|
|
60
61
|
|
|
61
62
|
/* The two ends -------------------------------------------------------
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
/* Dividers -------------------------------------------------------------------
|
|
80
81
|
What the grey scale has left once the quiet triple has taken its three steps.
|
|
81
82
|
Both turn over with the theme. */
|
|
82
|
-
--color-formal: hsl(0 0%
|
|
83
|
+
--color-formal: hsl(0 0% 95%); /* #F2F2F2 — formal dividers, the ones that only order a list */
|
|
83
84
|
--color-rich: hsl(0 0% 80%); /* #CCCCCC — dividers that are meant to be seen */
|
|
84
85
|
|
|
85
86
|
/* Transparency ---------------------------------------------------------------
|
package/package.json
CHANGED
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
|
-
/*
|
|
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:
|
|
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
|
}
|