Skip to content

Commit 99718fd

Browse files
kateebonnerclaude
andcommitted
style(amicode): starter chips — two-column grid, softer chip border (Kate)
The centered flex-wrap rows become a 2-column grid (equal-width cells, 540px max, labels ellipsize instead of overflowing). The chip outline drops from icon-accent (near-black on light) to the theme's border-strong token; the lemon glyph tile keeps its crisp icon-accent hairline — that edge IS the brand treatment. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent db7293c commit 99718fd

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

‎packages/ui/src/amicode/getting-started.tsx‎

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,11 @@ export function AmicodeGettingStarted(props: {
142142
<div
143143
data-slot="amicode-gs-starters"
144144
style={{
145-
display: "flex",
146-
"flex-wrap": "wrap",
147-
"justify-content": "center",
148-
gap: "6px",
145+
display: "grid",
146+
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
147+
gap: "6px 8px",
148+
width: "100%",
149+
"max-width": "540px",
149150
}}
150151
>
151152
<For each={AMICODE_STARTERS}>
@@ -158,7 +159,8 @@ export function AmicodeGettingStarted(props: {
158159
display: "inline-flex",
159160
"align-items": "center",
160161
gap: "7px",
161-
border: "1px solid var(--v2-icon-icon-accent)",
162+
"min-width": "0",
163+
border: "1px solid var(--v2-border-border-strong)",
162164
"border-radius": "6px",
163165
background: "var(--v2-background-bg-layer-02)",
164166
color: "var(--v2-text-text-base)",
@@ -169,7 +171,9 @@ export function AmicodeGettingStarted(props: {
169171
}}
170172
>
171173
<StarterGlyph d={starter.icon} />
172-
{starter.label}
174+
<span style={{ overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }}>
175+
{starter.label}
176+
</span>
173177
</button>
174178
)}
175179
</For>
@@ -182,7 +186,8 @@ export function AmicodeGettingStarted(props: {
182186
display: "inline-flex",
183187
"align-items": "center",
184188
gap: "7px",
185-
border: "1px solid var(--v2-icon-icon-accent)",
189+
"min-width": "0",
190+
border: "1px solid var(--v2-border-border-strong)",
186191
"border-radius": "6px",
187192
background: "var(--v2-background-bg-layer-02)",
188193
color: "var(--v2-text-text-base)",
@@ -193,7 +198,9 @@ export function AmicodeGettingStarted(props: {
193198
}}
194199
>
195200
<StarterGlyph d={RESUME_ICON} />
196-
Resume “{props.resumeName}”
201+
<span style={{ overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }}>
202+
Resume “{props.resumeName}”
203+
</span>
197204
</button>
198205
)}
199206
</div>

0 commit comments

Comments
 (0)