@cancia/toolbar 0.5.1 → 0.12.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/dist/cancia.d.ts +10 -0
- package/dist/cancia.iife.js +696 -512
- package/dist/cancia.js +1643 -695
- package/dist/cancia.js.map +1 -1
- package/package.json +7 -4
package/dist/cancia.d.ts
CHANGED
|
@@ -9,6 +9,16 @@ interface CanciaConfig {
|
|
|
9
9
|
page: string;
|
|
10
10
|
/** Accent colour for highlights and buttons */
|
|
11
11
|
accentColor?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Tint the EDITOR CHROME with `accentColor` instead of its neutral default.
|
|
14
|
+
*
|
|
15
|
+
* Off by default. A brand colour is chosen to stand out on the client's own
|
|
16
|
+
* design, not to be legible as UI chrome on white — a pale brand gives an
|
|
17
|
+
* unreadable primary button, a neon one gives an editor that shouts louder
|
|
18
|
+
* than the content being edited. Neutral chrome never fights the page.
|
|
19
|
+
* Opt in only when the brand colour is known to work as UI.
|
|
20
|
+
*/
|
|
21
|
+
toolbarAccent?: boolean;
|
|
12
22
|
/** Skip session auth and always show the toolbar (demo/public mode) */
|
|
13
23
|
public?: boolean;
|
|
14
24
|
/**
|