@inbeat/standards 0.12.2 → 0.13.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.13.0](https://github.com/Genoux/ib-toolkit/compare/standards-v0.12.2...standards-v0.13.0) (2026-11-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * **ui:** add opt-in fieldtrip brand layer ([#68](https://github.com/Genoux/ib-toolkit/issues/68)) ([1e8f629](https://github.com/Genoux/ib-toolkit/commit/1e8f6296336e8e76c69787f374ba6b782c690abe))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **standards:** keep markdown out of biome in new apps ([1e8f629](https://github.com/Genoux/ib-toolkit/commit/1e8f6296336e8e76c69787f374ba6b782c690abe))
14
+
3
15
  ## [0.12.2](https://github.com/Genoux/ib-toolkit/compare/standards-v0.12.1...standards-v0.12.2) (2026-10-19)
4
16
 
5
17
 
@@ -90,7 +90,8 @@ Server actions are queued per client; never use them for reads.
90
90
  component or variant is missing, stop and flag it for ib-toolkit; never invent, copy or patch
91
91
  one (a workaround needs the user's OK and a `// toolkit-gap:` comment).
92
92
  - Primitives and generic blocks from `@inbeat/ui/components/*`; tokens from
93
- `@inbeat/ui/theme.css`. A block moves to the toolkit only once an app actually uses it.
93
+ `@inbeat/ui/theme.css`, plus the opt-in Fieldtrip brand layer `@inbeat/ui/fieldtrip.css` (see
94
+ "Look" in the `ib-ui` skill). A block moves to the toolkit only once an app actually uses it.
94
95
  - Buttons are `rounded-full` with no destructive variant; destructive flows use
95
96
  `DestructiveActionDialog` from `@inbeat/ui`. Icon-only buttons get a tooltip. Lists use
96
97
  `DataTableShell` + `DataTable`; empty lists use `EmptyState`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inbeat/standards",
3
- "version": "0.12.2",
3
+ "version": "0.13.0",
4
4
  "description": "Agent standards for inBeat apps: managed AGENTS.md block, skills under .agents/skills, ib CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,7 +31,7 @@
31
31
  "test": "bun --bun vitest run"
32
32
  },
33
33
  "devDependencies": {
34
- "@inbeat/config": "^0.12.2",
34
+ "@inbeat/config": "^0.13.0",
35
35
  "vitest": "^4.1.1"
36
36
  },
37
37
  "repository": {
@@ -152,6 +152,23 @@ Every module of `@inbeat/ui`, imported as `@inbeat/ui/<path>`.
152
152
  `next.config.ts`: `transpilePackages: ["@inbeat/ui"]` (ui ships source; core and next ship compiled JS).
153
153
  The template installs every peer the catalog needs.
154
154
 
155
+ ## Look: neutral, Fieldtrip, or product-specific
156
+
157
+ Decide this when the app starts and record it in the app's `AGENTS.md`. The components are the
158
+ same in all three; only tokens and app-owned components change.
159
+
160
+ - **Neutral** (default; dashboards and internal tools): `theme.css` alone.
161
+ - **Fieldtrip brand**: add `@import "@inbeat/ui/fieldtrip.css";` after `theme.css`. It gives the
162
+ brand palette as `--color-fieldtrip-<name>` and `-light` (ink, olive, orange, mauve, brown,
163
+ green, spring, yellow, sky, pink, powder; utilities like `bg-fieldtrip-orange`) and maps
164
+ `font-sans` to SwissNow and `font-serif` to Diplomat. The font files are licensed and stay in
165
+ the app: load them with `next/font/local` and put `--font-swiss-now` and `--font-diplomat` on
166
+ `<html>`.
167
+ - **Product-specific**: override tokens (`--primary`, `--radius`, ...) in the app's `globals.css`
168
+ after the imports, and build components only that product needs (a game card, a custom
169
+ dropdown) in the app, on the same tokens. They are not toolkit gaps and stay in the app until a
170
+ second app needs them. Never copy a toolkit component into the app to edit it.
171
+
155
172
  ## Adding or changing a component
156
173
 
157
174
  Do it in `ib-toolkit/packages/ui/src/components`, add or update its story in `packages/ui/stories`
@@ -152,6 +152,23 @@ Every module of `@inbeat/ui`, imported as `@inbeat/ui/<path>`.
152
152
  `next.config.ts`: `transpilePackages: ["@inbeat/ui"]` (ui ships source; core and next ship compiled JS).
153
153
  The template installs every peer the catalog needs.
154
154
 
155
+ ## Look: neutral, Fieldtrip, or product-specific
156
+
157
+ Decide this when the app starts and record it in the app's `AGENTS.md`. The components are the
158
+ same in all three; only tokens and app-owned components change.
159
+
160
+ - **Neutral** (default; dashboards and internal tools): `theme.css` alone.
161
+ - **Fieldtrip brand**: add `@import "@inbeat/ui/fieldtrip.css";` after `theme.css`. It gives the
162
+ brand palette as `--color-fieldtrip-<name>` and `-light` (ink, olive, orange, mauve, brown,
163
+ green, spring, yellow, sky, pink, powder; utilities like `bg-fieldtrip-orange`) and maps
164
+ `font-sans` to SwissNow and `font-serif` to Diplomat. The font files are licensed and stay in
165
+ the app: load them with `next/font/local` and put `--font-swiss-now` and `--font-diplomat` on
166
+ `<html>`.
167
+ - **Product-specific**: override tokens (`--primary`, `--radius`, ...) in the app's `globals.css`
168
+ after the imports, and build components only that product needs (a game card, a custom
169
+ dropdown) in the app, on the same tokens. They are not toolkit gaps and stay in the app until a
170
+ second app needs them. Never copy a toolkit component into the app to edit it.
171
+
155
172
  ## Adding or changing a component
156
173
 
157
174
  Do it in `ib-toolkit/packages/ui/src/components`, add or update its story in `packages/ui/stories`
@@ -93,7 +93,8 @@ Server actions are queued per client; never use them for reads.
93
93
  component or variant is missing, stop and flag it for ib-toolkit; never invent, copy or patch
94
94
  one (a workaround needs the user's OK and a `// toolkit-gap:` comment).
95
95
  - Primitives and generic blocks from `@inbeat/ui/components/*`; tokens from
96
- `@inbeat/ui/theme.css`. A block moves to the toolkit only once an app actually uses it.
96
+ `@inbeat/ui/theme.css`, plus the opt-in Fieldtrip brand layer `@inbeat/ui/fieldtrip.css` (see
97
+ "Look" in the `ib-ui` skill). A block moves to the toolkit only once an app actually uses it.
97
98
  - Buttons are `rounded-full` with no destructive variant; destructive flows use
98
99
  `DestructiveActionDialog` from `@inbeat/ui`. Icon-only buttons get a tooltip. Lists use
99
100
  `DataTableShell` + `DataTable`; empty lists use `EmptyState`.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "extends": ["@inbeat/config/biome"],
3
3
  "files": {
4
- "includes": ["**", "!!**/.next", "!**/next-env.d.ts"]
4
+ "includes": ["**", "!!**/.next", "!**/next-env.d.ts", "!**/*.md"]
5
5
  }
6
6
  }