Skip to content

Commit d07c4a6

Browse files
committed
refactor(mcp): stop the generated view from citing a deleted test
The scaffolded doc comment promised enforcement by the styling test, which no longer exists. Keeps the reason a view should avoid arbitrary color and length values, without naming a check.
1 parent a549a55 commit d07c4a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/lib/mcp-new/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ interface ${componentName}Data {
8888
*
8989
* Styled with utilities from \`@transcend-io/mcp-server-base/ui/theme.css\`, so
9090
* every color and size resolves to a host value or a Transcend token. There is no
91-
* stock Tailwind palette to reach for by accident, and arbitrary values for color
92-
* or length are rejected by \`scripts/mcp-app-styling.test.ts\`.
91+
* stock Tailwind palette to reach for by accident. Avoid arbitrary values for
92+
* color or length, which opt a view back out of the host's theme.
9393
*/
9494
export function ${componentName}() {
9595
const { data, isConnected, connectionError } = useMcpApp<${componentName}Data>({

0 commit comments

Comments
 (0)