Skip to content

Commit 53456ee

Browse files
brilloutclaude
andcommitted
[AI] Outline inline code chips so they read on any surface
CodeChip's bg equals the good-row bg, leaving bare yellow text there; the install-chip border recipe keeps it a chip everywhere. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4e4c09a commit 53456ee

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • packages/the-framework.ai/pages/index

packages/the-framework.ai/pages/index/ui.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,11 @@ export function CodeChip({ children, fontSize }: { children: string; fontSize: n
171171
fontFamily: mono,
172172
fontSize,
173173
background: '#232a2e',
174+
// The border keeps the chip visible even on #232a2e surfaces (e.g. the
175+
// good-solution rows), where the background alone disappears.
176+
border: '1px solid #475258',
174177
borderRadius: 5,
175-
padding: '2px 6px',
178+
padding: '1px 6px',
176179
color: '#dbbc7f',
177180
}}
178181
>

0 commit comments

Comments
 (0)