@addiscorp/kit 0.4.1 → 0.4.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.
@@ -3,7 +3,7 @@ import type { LinkComponent } from '../header/index.js';
3
3
  import type { License } from '../license/index.js';
4
4
  import { type Stage } from '../status/index.js';
5
5
  import { type ToolId } from './tools.js';
6
- export { TOOLS, toolInfo, toolName, type ToolId, type ToolInfo } from './tools.js';
6
+ export { TOOLS, FAMILY, toolInfo, toolName, type ToolId, type ToolInfo } from './tools.js';
7
7
  export { MARKS } from './marks.js';
8
8
  export { CopyButton } from './copy.js';
9
9
  /** A tool's mark, drawn for light and dark; the theme picks one. */
@@ -131,7 +131,7 @@ export type WorksWith = {
131
131
  items: WorksItem[];
132
132
  };
133
133
  /**
134
- * "Why <tool> · the short version": three benefits, and the other Addis tools. A tool can put a
134
+ * "Why <tool> · the short version": three benefits, and "More from Addis" (FAMILY, less this tool). A tool can put a
135
135
  * "Works with" card in the third benefit's place instead.
136
136
  */
137
137
  export declare function Why({ tool, benefits, works }: {
@@ -143,6 +143,10 @@ export declare function Why({ tool, benefits, works }: {
143
143
  benefits: [Benefit, Benefit];
144
144
  works: WorksWith;
145
145
  })): import("react/jsx-runtime").JSX.Element;
146
+ /** The "More from Addis" card: FAMILY in order, less the site it is on. For a site that builds its own Why. */
147
+ export declare function MoreFromAddis({ tool }: {
148
+ tool: ToolId;
149
+ }): import("react/jsx-runtime").JSX.Element;
146
150
  export type DocsPage = {
147
151
  href: string;
148
152
  title: string;
@@ -3,8 +3,8 @@ import { Footer } from '../footer/index.js';
3
3
  import { ProductPills } from '../status/index.js';
4
4
  import { CopyButton } from './copy.js';
5
5
  import { MARKS } from './marks.js';
6
- import { TOOLS, toolName } from './tools.js';
7
- export { TOOLS, toolInfo, toolName } from './tools.js';
6
+ import { FAMILY, toolInfo, toolName } from './tools.js';
7
+ export { TOOLS, FAMILY, toolInfo, toolName } from './tools.js';
8
8
  export { MARKS } from './marks.js';
9
9
  export { CopyButton } from './copy.js';
10
10
  const PlainLink = (props) => _jsx("a", { ...props });
@@ -49,11 +49,15 @@ export function Reel({ scenes }) {
49
49
  return (_jsxs("div", { children: [_jsx("style", { children: css }), _jsx("div", { className: "akt-reel", children: _jsx("div", { className: "akt-stage", children: scenes.map((scene, i) => (_jsxs("div", { className: "akt-scene", style: { animation: `akt-scene-${scenes.length} ${cycle}s ${i * SCENE_SECONDS}s infinite both` }, children: [_jsxs("div", { className: "akt-tab", children: [_jsx("i", {}), scene.title] }), _jsx("div", { className: "akt-term", children: scene.lines.map((line, j) => (_jsxs("div", { className: `akt-ln akt-${line.kind ?? 'output'}`, style: { animation: `akt-line ${cycle}s ${(i * SCENE_SECONDS + 0.3 + j * 0.45).toFixed(2)}s infinite both` }, children: [_jsx("span", { className: "akt-no", children: j + 1 }), _jsx("span", { className: "akt-tx", children: line.text })] }, j))) }), _jsx("div", { className: "akt-cap", children: scene.caption })] }, i))) }) }), _jsx("div", { className: "akt-dots", "aria-hidden": "true", children: scenes.map((_, i) => _jsx("i", { style: { animation: `akt-dot-${scenes.length} ${cycle}s ${i * SCENE_SECONDS}s infinite` } }, i)) })] }));
50
50
  }
51
51
  /**
52
- * "Why <tool> · the short version": three benefits, and the other Addis tools. A tool can put a
52
+ * "Why <tool> · the short version": three benefits, and "More from Addis" (FAMILY, less this tool). A tool can put a
53
53
  * "Works with" card in the third benefit's place instead.
54
54
  */
55
55
  export function Why({ tool, benefits, works }) {
56
- return (_jsxs("section", { className: "akt-why", children: [_jsxs("h2", { children: ["Why ", toolName(tool), _jsx("small", { children: "the short version" })] }), _jsxs("div", { className: "akt-cards", children: [benefits.map((benefit) => (_jsxs("div", { className: "akt-card", children: [_jsx("div", { className: "akt-dash" }), _jsx("h3", { children: benefit.title }), _jsx("p", { children: benefit.text })] }, benefit.title))), works && _jsx(Works, { works: works }), _jsxs("div", { className: "akt-card", children: [_jsxs("h3", { children: ["Addis tools", _jsx("small", { children: "they work together" })] }), _jsx("div", { className: "akt-family", children: TOOLS.filter((t) => t.id !== tool).map((t) => (_jsxs("a", { className: "akt-row", href: `https://${t.domain}`, children: [_jsxs("strong", { children: [_jsx(Mark, { tool: t.id, size: 18 }), t.name ?? t.id] }), _jsx("span", { children: t.short })] }, t.id))) })] })] })] }));
56
+ return (_jsxs("section", { className: "akt-why", children: [_jsxs("h2", { children: ["Why ", toolName(tool), _jsx("small", { children: "the short version" })] }), _jsxs("div", { className: "akt-cards", children: [benefits.map((benefit) => (_jsxs("div", { className: "akt-card", children: [_jsx("div", { className: "akt-dash" }), _jsx("h3", { children: benefit.title }), _jsx("p", { children: benefit.text })] }, benefit.title))), works && _jsx(Works, { works: works }), _jsx(MoreFromAddis, { tool: tool })] })] }));
57
+ }
58
+ /** The "More from Addis" card: FAMILY in order, less the site it is on. For a site that builds its own Why. */
59
+ export function MoreFromAddis({ tool }) {
60
+ return (_jsxs("div", { className: "akt-card", children: [_jsx("h3", { children: "More from Addis" }), _jsx("div", { className: "akt-family", children: FAMILY.filter((id) => id !== tool).map(toolInfo).map((t) => (_jsxs("a", { className: "akt-row", href: `https://${t.domain}`, children: [_jsxs("strong", { children: [_jsx(Mark, { tool: t.id, size: 18 }), t.name ?? t.id] }), _jsx("span", { children: t.short })] }, t.id))) })] }));
57
61
  }
58
62
  function Works({ works }) {
59
63
  return (_jsxs("div", { className: "akt-card akt-works", children: [_jsxs("h3", { children: [works.title, works.note && _jsx("small", { children: works.note })] }), _jsx("div", { className: "akt-family", children: works.items.map((item) => (_jsxs("div", { className: "akt-work", children: [item.logo && (item.logo.dark
@@ -38,4 +38,15 @@ export const MARKS = {
38
38
  light: "<defs><linearGradient id=\"akt-gild-l-ground\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"100\" x2=\"0\" y2=\"924\"><stop offset=\"0\" stop-color=\"#FBF4E2\"/><stop offset=\"1\" stop-color=\"#E8D7AE\"/></linearGradient><clipPath id=\"akt-gild-l-clip\"><path d=\"M285 100H739C841 100 924 183 924 285V739C924 841 841 924 739 924H285C183 924 100 841 100 739V285C100 183 183 100 285 100Z\"/></clipPath><path id=\"akt-gild-l-g\" d=\"M609.1 551.9Q594.6 607.1 567.8 643.3Q541.1 679.4 502.4 697.2Q463.7 715 412.7 715Q376.9 715 357 703.1Q337.2 691.2 337.2 672.7Q337.2 659.8 345.8 650.8Q354.5 641.8 369.8 641.8Q382.3 641.8 393 648.1Q403.7 654.5 413.5 662.8Q423.4 671.1 433.2 677.4Q443 683.8 453.8 683.8Q467.6 683.8 479.9 675.9Q492.2 668.1 502.5 651.7Q512.7 635.2 519.8 609.4L569.9 431.4L574.5 438.4Q556.2 481.6 536.2 508.8Q516.2 536.1 494.4 549Q472.6 561.8 448.5 561.8Q427.6 561.8 412.4 552Q397.1 542.1 389.9 522.2Q382.6 502.4 385.1 472.3Q387.5 441.9 398.6 412Q409.6 382.1 428.5 355.6Q447.3 329.2 473.3 308.8Q499.2 288.4 531.3 276.7Q563.4 265 600.9 265Q627.9 265 647.4 269.1Q666.9 273.1 677.2 279.7Q687.6 286.3 686.8 294.1Q686.2 300.2 682.8 303.6Q679.4 307 675.7 310.9Q672 314.7 670 322.1ZM464.3 469.6Q462.1 488.6 464.6 500.2Q467.1 511.8 472.6 517Q478.1 522.2 485 522.2Q497.7 522.2 511.5 509.9Q525.3 497.6 538.6 476.6Q552 455.6 563.4 429.4Q574.8 403.1 582.9 375Q591 346.8 594.3 320.7Q596.5 306.6 593.5 298.8Q590.4 291.1 579.8 291.1Q564.9 291.1 549.5 301.5Q534.1 311.9 519.9 329.8Q505.7 347.7 493.9 370.7Q482.2 393.6 474.4 419Q466.6 444.4 464.3 469.6Z\"/></defs><g transform=\"scale(0.0291262) translate(-100 -100)\"><path d=\"M285 100H739C841 100 924 183 924 285V739C924 841 841 924 739 924H285C183 924 100 841 100 739V285C100 183 183 100 285 100Z\" fill=\"url(#akt-gild-l-ground)\"/><g clip-path=\"url(#akt-gild-l-clip)\"><use href=\"#akt-gild-l-g\" transform=\"translate(23.1 42)\" fill=\"#4E330D\" opacity=\"0.35\"/><use href=\"#akt-gild-l-g\" transform=\"translate(19.2 35)\" fill=\"#6F4914\" opacity=\"0.42\"/><use href=\"#akt-gild-l-g\" transform=\"translate(15.4 28)\" fill=\"#8F611C\" opacity=\"0.52\"/><use href=\"#akt-gild-l-g\" transform=\"translate(11.6 21)\" fill=\"#AD7A26\" opacity=\"0.62\"/><use href=\"#akt-gild-l-g\" transform=\"translate(7.7 14)\" fill=\"#C99433\" opacity=\"0.72\"/><use href=\"#akt-gild-l-g\" transform=\"translate(3.9 7)\" fill=\"#E3B546\" opacity=\"0.82\"/><use href=\"#akt-gild-l-g\" fill=\"url(#akt-gild-l-ground)\" stroke=\"url(#akt-gild-l-ground)\" stroke-width=\"36\" stroke-linejoin=\"round\"/><use href=\"#akt-gild-l-g\" fill=\"#111111\"/></g></g>",
39
39
  dark: "<defs><linearGradient id=\"akt-gild-d-ground\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"100\" x2=\"0\" y2=\"924\"><stop offset=\"0\" stop-color=\"#EDC65E\"/><stop offset=\"1\" stop-color=\"#A8761F\"/></linearGradient><clipPath id=\"akt-gild-d-clip\"><path d=\"M285 100H739C841 100 924 183 924 285V739C924 841 841 924 739 924H285C183 924 100 841 100 739V285C100 183 183 100 285 100Z\"/></clipPath><path id=\"akt-gild-d-g\" d=\"M609.1 551.9Q594.6 607.1 567.8 643.3Q541.1 679.4 502.4 697.2Q463.7 715 412.7 715Q376.9 715 357 703.1Q337.2 691.2 337.2 672.7Q337.2 659.8 345.8 650.8Q354.5 641.8 369.8 641.8Q382.3 641.8 393 648.1Q403.7 654.5 413.5 662.8Q423.4 671.1 433.2 677.4Q443 683.8 453.8 683.8Q467.6 683.8 479.9 675.9Q492.2 668.1 502.5 651.7Q512.7 635.2 519.8 609.4L569.9 431.4L574.5 438.4Q556.2 481.6 536.2 508.8Q516.2 536.1 494.4 549Q472.6 561.8 448.5 561.8Q427.6 561.8 412.4 552Q397.1 542.1 389.9 522.2Q382.6 502.4 385.1 472.3Q387.5 441.9 398.6 412Q409.6 382.1 428.5 355.6Q447.3 329.2 473.3 308.8Q499.2 288.4 531.3 276.7Q563.4 265 600.9 265Q627.9 265 647.4 269.1Q666.9 273.1 677.2 279.7Q687.6 286.3 686.8 294.1Q686.2 300.2 682.8 303.6Q679.4 307 675.7 310.9Q672 314.7 670 322.1ZM464.3 469.6Q462.1 488.6 464.6 500.2Q467.1 511.8 472.6 517Q478.1 522.2 485 522.2Q497.7 522.2 511.5 509.9Q525.3 497.6 538.6 476.6Q552 455.6 563.4 429.4Q574.8 403.1 582.9 375Q591 346.8 594.3 320.7Q596.5 306.6 593.5 298.8Q590.4 291.1 579.8 291.1Q564.9 291.1 549.5 301.5Q534.1 311.9 519.9 329.8Q505.7 347.7 493.9 370.7Q482.2 393.6 474.4 419Q466.6 444.4 464.3 469.6Z\"/></defs><g transform=\"scale(0.0291262) translate(-100 -100)\"><path d=\"M285 100H739C841 100 924 183 924 285V739C924 841 841 924 739 924H285C183 924 100 841 100 739V285C100 183 183 100 285 100Z\" fill=\"url(#akt-gild-d-ground)\"/><g clip-path=\"url(#akt-gild-d-clip)\"><use href=\"#akt-gild-d-g\" transform=\"translate(23.1 42)\" fill=\"#4E330D\" opacity=\"0.35\"/><use href=\"#akt-gild-d-g\" transform=\"translate(19.2 35)\" fill=\"#6F4914\" opacity=\"0.42\"/><use href=\"#akt-gild-d-g\" transform=\"translate(15.4 28)\" fill=\"#8F611C\" opacity=\"0.52\"/><use href=\"#akt-gild-d-g\" transform=\"translate(11.6 21)\" fill=\"#AD7A26\" opacity=\"0.62\"/><use href=\"#akt-gild-d-g\" transform=\"translate(7.7 14)\" fill=\"#C99433\" opacity=\"0.72\"/><use href=\"#akt-gild-d-g\" transform=\"translate(3.9 7)\" fill=\"#F6DC8F\" opacity=\"0.82\"/><use href=\"#akt-gild-d-g\" fill=\"url(#akt-gild-d-ground)\" stroke=\"url(#akt-gild-d-ground)\" stroke-width=\"36\" stroke-linejoin=\"round\"/><use href=\"#akt-gild-d-g\" fill=\"#111111\"/></g></g>",
40
40
  },
41
+ // ava's icon (addis.gg public/icons/ava.svg, from avacanada/ava): the a with its rainbow trail on the violet tile,
42
+ // the same in both themes; ids carry the variant, since the theme hides one.
43
+ ava: {
44
+ light: "<defs><linearGradient id=\"akt-ava-l-ground\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"100\" x2=\"0\" y2=\"924\"><stop offset=\"0\" stop-color=\"#7C5CFF\"/><stop offset=\"1\" stop-color=\"#5636D8\"/></linearGradient><linearGradient id=\"akt-ava-l-ground-a\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"870.2\" x2=\"0\" y2=\"-503.2\"><stop offset=\"0\" stop-color=\"#7C5CFF\"/><stop offset=\"1\" stop-color=\"#5636D8\"/></linearGradient><clipPath id=\"akt-ava-l-clip\"><path d=\"M285 100 H739 C841 100 924 183 924 285 V739 C924 841 841 924 739 924 H285 C183 924 100 841 100 739 V285 C100 183 183 100 285 100 Z\"/></clipPath><path id=\"akt-ava-l-a\" transform=\"matrix(0.6 0 0 -0.6 309.5 622.1)\" d=\"M318 -4Q245 -4 187.0 32.5Q129 69 95.5 131.5Q62 194 62 273Q62 352 98.5 415.0Q135 478 197.5 514.5Q260 551 338 551Q416 551 478.0 514.5Q540 478 576.5 415.0Q613 352 613 273H574Q574 194 540.5 131.5Q507 69 449.0 32.5Q391 -4 318 -4ZM338 86Q389 86 429.0 110.5Q469 135 492.0 177.5Q515 220 515 273Q515 327 492.0 369.5Q469 412 429.0 436.5Q389 461 338 461Q288 461 247.5 436.5Q207 412 183.5 369.5Q160 327 160 273Q160 220 183.5 177.5Q207 135 247.5 110.5Q288 86 338 86ZM562 -1Q540 -1 525.5 13.5Q511 28 511 50V203L530 309L613 273V50Q613 28 598.5 13.5Q584 -1 562 -1Z\"/></defs><g transform=\"scale(0.0291262) translate(-100 -100)\"><path d=\"M285 100 H739 C841 100 924 183 924 285 V739 C924 841 841 924 739 924 H285 C183 924 100 841 100 739 V285 C100 183 183 100 285 100 Z\" fill=\"url(#akt-ava-l-ground)\"/><g clip-path=\"url(#akt-ava-l-clip)\"><use href=\"#akt-ava-l-a\" y=\"360\" fill=\"#A68BFF\" opacity=\"0.35\"/><use href=\"#akt-ava-l-a\" y=\"300\" fill=\"#3FD0FF\" opacity=\"0.42\"/><use href=\"#akt-ava-l-a\" y=\"240\" fill=\"#4CD964\" opacity=\"0.52\"/><use href=\"#akt-ava-l-a\" y=\"180\" fill=\"#FFE14D\" opacity=\"0.62\"/><use href=\"#akt-ava-l-a\" y=\"120\" fill=\"#FF9F1C\" opacity=\"0.72\"/><use href=\"#akt-ava-l-a\" y=\"60\" fill=\"#FF5A5F\" opacity=\"0.82\"/><circle cx=\"513.2\" cy=\"458.0\" r=\"162.5\" fill=\"url(#akt-ava-l-ground)\"/><use href=\"#akt-ava-l-a\" fill=\"none\" stroke=\"url(#akt-ava-l-ground-a)\" stroke-width=\"50\" stroke-linejoin=\"round\"/><use href=\"#akt-ava-l-a\" fill=\"#FFFFFF\"/></g></g>",
45
+ dark: "<defs><linearGradient id=\"akt-ava-d-ground\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"100\" x2=\"0\" y2=\"924\"><stop offset=\"0\" stop-color=\"#7C5CFF\"/><stop offset=\"1\" stop-color=\"#5636D8\"/></linearGradient><linearGradient id=\"akt-ava-d-ground-a\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"870.2\" x2=\"0\" y2=\"-503.2\"><stop offset=\"0\" stop-color=\"#7C5CFF\"/><stop offset=\"1\" stop-color=\"#5636D8\"/></linearGradient><clipPath id=\"akt-ava-d-clip\"><path d=\"M285 100 H739 C841 100 924 183 924 285 V739 C924 841 841 924 739 924 H285 C183 924 100 841 100 739 V285 C100 183 183 100 285 100 Z\"/></clipPath><path id=\"akt-ava-d-a\" transform=\"matrix(0.6 0 0 -0.6 309.5 622.1)\" d=\"M318 -4Q245 -4 187.0 32.5Q129 69 95.5 131.5Q62 194 62 273Q62 352 98.5 415.0Q135 478 197.5 514.5Q260 551 338 551Q416 551 478.0 514.5Q540 478 576.5 415.0Q613 352 613 273H574Q574 194 540.5 131.5Q507 69 449.0 32.5Q391 -4 318 -4ZM338 86Q389 86 429.0 110.5Q469 135 492.0 177.5Q515 220 515 273Q515 327 492.0 369.5Q469 412 429.0 436.5Q389 461 338 461Q288 461 247.5 436.5Q207 412 183.5 369.5Q160 327 160 273Q160 220 183.5 177.5Q207 135 247.5 110.5Q288 86 338 86ZM562 -1Q540 -1 525.5 13.5Q511 28 511 50V203L530 309L613 273V50Q613 28 598.5 13.5Q584 -1 562 -1Z\"/></defs><g transform=\"scale(0.0291262) translate(-100 -100)\"><path d=\"M285 100 H739 C841 100 924 183 924 285 V739 C924 841 841 924 739 924 H285 C183 924 100 841 100 739 V285 C100 183 183 100 285 100 Z\" fill=\"url(#akt-ava-d-ground)\"/><g clip-path=\"url(#akt-ava-d-clip)\"><use href=\"#akt-ava-d-a\" y=\"360\" fill=\"#A68BFF\" opacity=\"0.35\"/><use href=\"#akt-ava-d-a\" y=\"300\" fill=\"#3FD0FF\" opacity=\"0.42\"/><use href=\"#akt-ava-d-a\" y=\"240\" fill=\"#4CD964\" opacity=\"0.52\"/><use href=\"#akt-ava-d-a\" y=\"180\" fill=\"#FFE14D\" opacity=\"0.62\"/><use href=\"#akt-ava-d-a\" y=\"120\" fill=\"#FF9F1C\" opacity=\"0.72\"/><use href=\"#akt-ava-d-a\" y=\"60\" fill=\"#FF5A5F\" opacity=\"0.82\"/><circle cx=\"513.2\" cy=\"458.0\" r=\"162.5\" fill=\"url(#akt-ava-d-ground)\"/><use href=\"#akt-ava-d-a\" fill=\"none\" stroke=\"url(#akt-ava-d-ground-a)\" stroke-width=\"50\" stroke-linejoin=\"round\"/><use href=\"#akt-ava-d-a\" fill=\"#FFFFFF\"/></g></g>",
46
+ },
47
+ // simien's icon on addis.gg (public/icons/simien.svg): the white diamond on its navy tile, both themes.
48
+ simien: {
49
+ light: "<g transform=\"scale(0.24)\"><rect x=\"0.5\" y=\"0.5\" width=\"99\" height=\"99\" rx=\"22\" fill=\"#14243A\"/><rect x=\"30\" y=\"30\" width=\"40\" height=\"40\" rx=\"4.8\" transform=\"rotate(45 50 50)\" fill=\"#FFFFFF\"/></g>",
50
+ dark: "<g transform=\"scale(0.24)\"><rect x=\"0.5\" y=\"0.5\" width=\"99\" height=\"99\" rx=\"22\" fill=\"#14243A\"/><rect x=\"30\" y=\"30\" width=\"40\" height=\"40\" rx=\"4.8\" transform=\"rotate(45 50 50)\" fill=\"#FFFFFF\"/></g>",
51
+ },
41
52
  };
@@ -1,4 +1,4 @@
1
- export type ToolId = 'rixse' | 'mirab' | 'woreda' | 'kebele' | 'gelada' | 'harar' | 'p8' | 'securecore' | 'gild';
1
+ export type ToolId = 'ava' | 'simien' | 'rixse' | 'mirab' | 'woreda' | 'kebele' | 'gelada' | 'harar' | 'p8' | 'securecore' | 'gild';
2
2
  export type ToolInfo = {
3
3
  id: ToolId;
4
4
  /** Its site, without the scheme: `mirab.addis.gg`. */
@@ -9,6 +9,11 @@ export type ToolInfo = {
9
9
  name?: string;
10
10
  };
11
11
  export declare const TOOLS: ToolInfo[];
12
+ /**
13
+ * The "More from Addis" card on every tool site, in this order: ava first, then the projects in
14
+ * addis.gg's order (Sami, 28 Nov). rixse, kebele and gelada left the list but keep their sites.
15
+ */
16
+ export declare const FAMILY: ToolId[];
12
17
  export declare function toolInfo(id: ToolId): ToolInfo;
13
18
  /** A tool's name as every site shows it: its display name, else its id. */
14
19
  export declare function toolName(id: ToolId): string;
@@ -1,4 +1,6 @@
1
1
  export const TOOLS = [
2
+ { id: 'ava', domain: 'heyava.ca', short: 'Your assistant, on your computer.' },
3
+ { id: 'simien', domain: 'simien.dev', short: 'Build your own models.' },
2
4
  { id: 'rixse', domain: 'rixse.addis.gg', short: 'The gateway. Agents ask, you decide.' },
3
5
  { id: 'mirab', domain: 'mirab.addis.gg', short: 'Agents in VMs on your own machine.' },
4
6
  { id: 'woreda', domain: 'woreda.addis.gg', short: 'Self-hosted GitHub Actions runners.' },
@@ -9,6 +11,11 @@ export const TOOLS = [
9
11
  { id: 'securecore', name: 'SecureCore', domain: 'securecore.addis.gg', short: 'Every WordPress plugin in its own sandbox.' },
10
12
  { id: 'gild', domain: 'gild.addis.gg', short: 'Channels where people and agents work together.' },
11
13
  ];
14
+ /**
15
+ * The "More from Addis" card on every tool site, in this order: ava first, then the projects in
16
+ * addis.gg's order (Sami, 28 Nov). rixse, kebele and gelada left the list but keep their sites.
17
+ */
18
+ export const FAMILY = ['ava', 'p8', 'simien', 'mirab', 'woreda', 'gild', 'harar', 'securecore'];
12
19
  export function toolInfo(id) {
13
20
  const info = TOOLS.find((t) => t.id === id);
14
21
  if (!info)
package/dist/tool.css CHANGED
@@ -225,3 +225,10 @@
225
225
  .akt[data-tool="gild"] :is(h1, h2, h3) { font-weight: 600; letter-spacing: -0.01em; font-variation-settings: "SOFT" 50; }
226
226
  .akt[data-tool="gild"] .akt-brand { font-style: italic; font-variation-settings: "SOFT" 50; }
227
227
  .akt[data-tool="gild"] .akt-hero h1 em { font-style: italic; color: var(--akt-ink); text-shadow: .025em .045em 0 var(--akt-gilt-1), .05em .09em 0 var(--akt-gilt-2), .075em .135em 0 var(--akt-gilt-3); }
228
+ /* ava and simien are named in "More from Addis"; their colours are their addis.gg cards'. */
229
+ .akt[data-tool="ava"] { --akt-reel: #120E22; --akt-reelline: #2A2440; --akt-reelhl: #251C4D; --akt-reelacc: #A68BFF; --akt-accent: #5636D8; --akt-btn: #5636D8; --akt-onbtn: #FFFFFF; --akt-dotoff: #BBBFC4; }
230
+ :root[data-theme="dark"] .akt[data-tool="ava"] { --akt-reel: #120E22; --akt-reelline: #2A2440; --akt-reelhl: #251C4D; --akt-reelacc: #A68BFF; --akt-ground: #14101F; --akt-card: #0E0B17; --akt-faint: #2E2842; --akt-dots: #241F35; --akt-accent: #A68BFF; --akt-btn: #A68BFF; --akt-onbtn: #14101F; --akt-dotoff: #463F5C; }
231
+ @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .akt[data-tool="ava"] { --akt-reel: #120E22; --akt-reelline: #2A2440; --akt-reelhl: #251C4D; --akt-reelacc: #A68BFF; --akt-ground: #14101F; --akt-card: #0E0B17; --akt-faint: #2E2842; --akt-dots: #241F35; --akt-accent: #A68BFF; --akt-btn: #A68BFF; --akt-onbtn: #14101F; --akt-dotoff: #463F5C; } }
232
+ .akt[data-tool="simien"] { --akt-reel: #0E1520; --akt-reelline: #26303D; --akt-reelhl: #2A2024; --akt-reelacc: #FFB23F; --akt-accent: #C4511F; --akt-btn: #14243A; --akt-onbtn: #FFF4DC; --akt-dotoff: #BBBFC4; }
233
+ :root[data-theme="dark"] .akt[data-tool="simien"] { --akt-reel: #0E1520; --akt-reelline: #26303D; --akt-reelhl: #2A2024; --akt-reelacc: #FFB23F; --akt-ground: #101722; --akt-card: #0B1018; --akt-faint: #2A3240; --akt-dots: #212937; --akt-accent: #FFB23F; --akt-btn: #FFB23F; --akt-onbtn: #14243A; --akt-dotoff: #424B59; }
234
+ @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .akt[data-tool="simien"] { --akt-reel: #0E1520; --akt-reelline: #26303D; --akt-reelhl: #2A2024; --akt-reelacc: #FFB23F; --akt-ground: #101722; --akt-card: #0B1018; --akt-faint: #2A3240; --akt-dots: #212937; --akt-accent: #FFB23F; --akt-btn: #FFB23F; --akt-onbtn: #14243A; --akt-dotoff: #424B59; } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@addiscorp/kit",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "The header, footer, theme and tool-site layout every Addis site shares, in each project's own brand colours.",
5
5
  "license": "MIT",
6
6
  "type": "module",