@frockbot/plugin-ui-theme 0.3.0 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frockbot/plugin-ui-theme",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -18,7 +18,8 @@
18
18
  "typecheck": "tsc --noEmit -p tsconfig.json"
19
19
  },
20
20
  "dependencies": {
21
- "@frockbot/client-core": "0.3.0"
21
+ "@frockbot/client-core": "0.3.2",
22
+ "@frockbot/kernel-contracts": "0.3.2"
22
23
  },
23
24
  "devDependencies": {
24
25
  "@types/bun": "1.4.0",
@@ -1,6 +1,17 @@
1
1
  import type { ClientPlugin } from "@frockbot/client-core";
2
2
  import "./theme.css";
3
+ import { defineClientContribution } from "@frockbot/kernel-contracts/contributions";
3
4
 
4
5
  export const uiThemeClientPlugin: ClientPlugin = () => undefined;
5
6
 
6
7
  export default uiThemeClientPlugin;
8
+
9
+ /**
10
+ * The manifest's `client` entry, resolved by specifier. The application looks
11
+ * this descriptor up in its Contribution table; it never branches on which
12
+ * Package it belongs to.
13
+ */
14
+ export const clientContribution = defineClientContribution<ClientPlugin>({
15
+ specifier: "@frockbot/plugin-ui-theme/client",
16
+ plugin: uiThemeClientPlugin,
17
+ });
@@ -50,6 +50,10 @@
50
50
  --frock-overlay-tint: rgb(10 9 12 / 76%);
51
51
 
52
52
  /* Shared typography, geometry, elevation, and motion aliases. */
53
+ /* The reading face, named so a sandboxed Package page can be handed it. */
54
+ --frock-font-sans:
55
+ Manrope, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
56
+ sans-serif;
53
57
  --frock-font-display: "Archivo Black", Manrope, sans-serif;
54
58
  --frock-font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
55
59