@@ -147,7 +147,7 @@ export default function Page() {
147
147
</ LinkButton >
148
148
< Dialog >
149
149
< DialogTrigger asChild >
150
- < Button variant = "primary/small" > Create new token</ Button >
150
+ < Button variant = "primary/small" > Create new token… </ Button >
151
151
</ DialogTrigger >
152
152
< DialogContent className = "max-w-md" >
153
153
< DialogHeader > Create a Personal Access Token</ DialogHeader >
@@ -231,8 +231,8 @@ function CreatePersonalAccessToken() {
231
231
return (
232
232
< div className = "max-w-full overflow-x-hidden" >
233
233
{ token ? (
234
- < div className = "flex flex-col gap-2 p-2 " >
235
- < Header2 > Successfully generated a new token</ Header2 >
234
+ < div className = "flex flex-col gap-2 pt-3 " >
235
+ < Label > Successfully generated a new token</ Label >
236
236
< Callout variant = "success" >
237
237
Copy this access token and store it in a secure place - you will not be able to see it
238
238
again.
@@ -241,18 +241,19 @@ function CreatePersonalAccessToken() {
241
241
secure
242
242
value = { token . token }
243
243
variant = { "secondary/medium" }
244
- icon = { < ShieldExclamationIcon className = "h-5 w-5 text-emerald-500" /> }
244
+ icon = { < ShieldExclamationIcon className = "size-5 text-success" /> }
245
+ className = "mt-3"
245
246
/>
246
247
</ div >
247
248
) : (
248
249
< fetcher . Form method = "post" { ...form . props } >
249
250
< input type = "hidden" name = "action" value = "create" />
250
- < Fieldset >
251
+ < Fieldset className = "mt-3" >
251
252
< InputGroup >
252
253
< Label htmlFor = { tokenName . id } > Name</ Label >
253
254
< Input
254
255
{ ...conform . input ( tokenName , { type : "text" } ) }
255
- placeholder = "The name of your Personal Access Token"
256
+ placeholder = "Name your Personal Access Token"
256
257
defaultValue = ""
257
258
icon = { ShieldCheckIcon }
258
259
autoComplete = "off"
@@ -268,12 +269,12 @@ function CreatePersonalAccessToken() {
268
269
< FormButtons
269
270
confirmButton = {
270
271
< Button type = "submit" variant = { "primary/small" } >
271
- Update
272
+ Create token
272
273
</ Button >
273
274
}
274
275
cancelButton = {
275
276
< DialogClose asChild >
276
- < Button variant = { "tertiary/medium " } > Cancel</ Button >
277
+ < Button variant = { "tertiary/small " } > Cancel</ Button >
277
278
</ DialogClose >
278
279
}
279
280
/>
@@ -309,7 +310,7 @@ function RevokePersonalAccessToken({ token }: { token: ObfuscatedPersonalAccessT
309
310
< DialogContent className = "max-w-md" >
310
311
< DialogHeader > Revoke Personal Access Token</ DialogHeader >
311
312
< div className = "flex flex-col gap-3 pt-3" >
312
- < Paragraph spacing >
313
+ < Paragraph className = "mb-1" >
313
314
Are you sure you want to revoke "{ token . name } "? This can't be reversed.
314
315
</ Paragraph >
315
316
< FormButtons
0 commit comments