@conduction/docusaurus-preset 2.10.1 → 2.10.2
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 +8 -0
- package/package.json +1 -1
- package/static/lib/platform-diagram.css +5 -6
package/README.md
CHANGED
|
@@ -6,6 +6,14 @@ Brand-default Docusaurus 3 config for Conduction sites. Tokens, theme, navbar, f
|
|
|
6
6
|
|
|
7
7
|
Source lives inside the [design-system monorepo](https://github.com/ConductionNL/design-system); published to npm under the `@conduction` scope as a single package. Install in any product site with `npm i @conduction/docusaurus-preset`. The diagram web-component runtime (`<cn-hex>`, `<cn-platform>`, etc.) ships inside this same package under `@conduction/docusaurus-preset/diagrams` — no separate install needed.
|
|
8
8
|
|
|
9
|
+
## Brand rules
|
|
10
|
+
|
|
11
|
+
A few non-negotiables encoded by the package CSS and worth knowing about:
|
|
12
|
+
|
|
13
|
+
- **App Builder hex is always KNVB orange.** The hex in `<PlatformDiagram/>` representing the "compose your own app" pathway carries `var(--c-orange-knvb)` regardless of whether the cluster ships a `COMING SOON` badge. It is the proposition the eye should land on. Don't gate it on app state.
|
|
14
|
+
- **Pointy-top hexes only, no rotation.** Every `<cn-*>` hex shape is pointy-top by design. Flat-top hexes belong to other brands.
|
|
15
|
+
- **One orange accent per scene.** KNVB orange is the highlight, used once per diagram. The new `<Pair/>` and `<ArchFlow hex>` components own that budget when present.
|
|
16
|
+
|
|
9
17
|
## What it gives you
|
|
10
18
|
|
|
11
19
|
- **Brand CSS** — tokens (cobalt palette, KNVB orange, Plex Mono, hex clip-paths, Common Ground yellow) auto-applied to Docusaurus's Infima theme variables. Navbar, footer, sidebar, buttons, code blocks all inherit the brand without a single swizzle.
|
package/package.json
CHANGED
|
@@ -260,12 +260,11 @@ platform-diagram .workspace-corner-hex.fam-solutions { background: #E34234; }
|
|
|
260
260
|
platform-diagram .fam-integrate .glyph,
|
|
261
261
|
platform-diagram .workspace-corner-hex.fam-integrate { background: var(--c-cobalt-400); }
|
|
262
262
|
platform-diagram .fam-builder .glyph,
|
|
263
|
-
platform-diagram .workspace-corner-hex.fam-builder { background: var(--c-
|
|
264
|
-
/* App Builder hex: KNVB orange
|
|
265
|
-
|
|
266
|
-
the
|
|
267
|
-
|
|
268
|
-
platform-diagram .workspace-corner-hex.app-builder.has-badge { background: var(--c-orange-knvb); }
|
|
263
|
+
platform-diagram .workspace-corner-hex.fam-builder { background: var(--c-orange-knvb); }
|
|
264
|
+
/* App Builder hex: KNVB orange across the board. The hex represents
|
|
265
|
+
the "compose your own app" pathway — that's the proposition we want
|
|
266
|
+
the eye to land on, badge or no badge. */
|
|
267
|
+
platform-diagram .workspace-corner-hex.app-builder { background: var(--c-orange-knvb); }
|
|
269
268
|
platform-diagram .fam-nextcloud .glyph,
|
|
270
269
|
platform-diagram .workspace-corner-hex.fam-nextcloud { background: var(--c-nextcloud-blue); }
|
|
271
270
|
|